mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
[WIP] Connecting AMDProfile to screens
Trying to figure out a video card agnostic way of generating the display icons fo both standard and spanned displays. Still trying to figure out exactly which AMD ADL calls I need to make to get all the information I need. It is NOT very well documented. It's actually really annoying! AMD need to do better.
This commit is contained in:
@ -15,16 +15,35 @@ namespace DisplayMagicianShared
|
||||
{
|
||||
|
||||
public struct ScreenPosition
|
||||
{
|
||||
public int ScreenX;
|
||||
public int ScreenY;
|
||||
public int ScreenWidth;
|
||||
public int ScreenHeight;
|
||||
public string Name;
|
||||
public bool IsPrimary;
|
||||
public Color Colour;
|
||||
public List<string> Features;
|
||||
// If the screen is AMD Eyefinity or NVIDIA Surround or similar, it has screens that are part of it
|
||||
// These two fields indicate this. THe spanned screens are added to the SpannedScreens field
|
||||
public bool IsSpanned;
|
||||
public List<SpannedScreenPosition> SpannedScreens;
|
||||
public int SpannedColumns;
|
||||
public int SpannedRows;
|
||||
}
|
||||
|
||||
public struct SpannedScreenPosition
|
||||
{
|
||||
public int ScreenX;
|
||||
public int ScreenY;
|
||||
public int ScreenWidth;
|
||||
public int ScreenHeight;
|
||||
public Orientation ScreenOrientation;
|
||||
public Rotation ScreenRotation;
|
||||
public string Name;
|
||||
public bool IsPrimary;
|
||||
public bool Colour;
|
||||
public Color Colour;
|
||||
public List<string> Features;
|
||||
public int Column;
|
||||
public int Row;
|
||||
}
|
||||
|
||||
public class ProfileItem : IComparable
|
||||
|
Reference in New Issue
Block a user