Add "Use D2D rendering" option to skin context menu

This commit is contained in:
Birunthan Mohanathas
2013-10-06 10:57:24 +03:00
parent 21d9c0698f
commit 6df7d5d509
5 changed files with 48 additions and 12 deletions

View File

@ -188,6 +188,7 @@ public:
bool GetClickThrough() { return m_ClickThrough; }
bool GetKeepOnScreen() { return m_KeepOnScreen; }
bool GetUseD2D() { return m_UseD2D; }
bool GetAutoSelectScreen() { return m_AutoSelectScreen; }
bool GetWindowDraggable() { return m_WindowDraggable; }
bool GetSavePosition() { return m_SavePosition; }
@ -276,6 +277,7 @@ private:
OPTION_KEEPONSCREEN = 0x00000100,
OPTION_AUTOSELECTSCREEN = 0x00000200,
OPTION_ALWAYSONTOP = 0x00000400,
OPTION_USED2D = 0x00000800,
OPTION_ALL = 0xFFFFFFFF
};
@ -300,6 +302,7 @@ private:
void HandleButtons(POINT pos, BUTTONPROC proc, bool execute = true);
void SetClickThrough(bool b);
void SetKeepOnScreen(bool b);
void SetUseD2D(bool b);
void SetWindowDraggable(bool b);
void SetSavePosition(bool b);
void SavePositionIfAppropriate();
@ -386,6 +389,7 @@ private:
bool m_DynamicWindowSize;
bool m_ClickThrough;
bool m_KeepOnScreen;
bool m_UseD2D;
bool m_AutoSelectScreen;
bool m_Dragging;
bool m_Dragged;