mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Adding JamesAC's new ToolTips functionality.
Minor fix to the Rainmeter installer Minor changes to RainBrowser and RainThemes
This commit is contained in:
@ -47,6 +47,7 @@ public:
|
||||
virtual int GetW() { return m_Hidden ? 0 : m_W; };
|
||||
virtual int GetX(bool abs = false);
|
||||
virtual int GetY(bool abs = false);
|
||||
RECT GetMeterRect();
|
||||
|
||||
void SetX(int x) { m_X = x; m_RelativeX = POSITION_ABSOLUTE; };
|
||||
void SetY(int y) { m_Y = y; m_RelativeY = POSITION_ABSOLUTE; };
|
||||
@ -63,6 +64,13 @@ public:
|
||||
std::wstring& GetMouseOverAction() { return m_MouseOverAction; };
|
||||
std::wstring& GetMouseLeaveAction() { return m_MouseLeaveAction; };
|
||||
|
||||
std::wstring& GetToolTipText() { return m_ToolTipText; };
|
||||
HWND GetToolTipHandle() { return m_ToolTipHandle; };
|
||||
void SetToolTipHandle(HWND handle) { m_ToolTipHandle = handle; };
|
||||
|
||||
void CreateToolTip(CMeterWindow* meterWindow);
|
||||
void UpdateToolTip();
|
||||
|
||||
bool HasMouseAction() { return m_HasMouseAction; };
|
||||
bool HasMouseActionCursor() { return m_MouseActionCursor; };
|
||||
void SetMouseActionCursor(bool b) { m_MouseActionCursor = b; };
|
||||
@ -113,6 +121,13 @@ protected:
|
||||
CMeter* m_RelativeMeter;
|
||||
bool m_DynamicVariables; // If true, the measure contains dynamic variables
|
||||
|
||||
std::wstring m_ToolTipText;
|
||||
std::wstring m_ToolTipTitle;
|
||||
std::wstring m_ToolTipIcon;
|
||||
bool m_ToolTipType;
|
||||
|
||||
HWND m_ToolTipHandle;
|
||||
|
||||
std::wstring m_RightMouseDownAction; // Actions for left and right and middle mouse buttons
|
||||
std::wstring m_RightMouseUpAction;
|
||||
std::wstring m_RightMouseDoubleClickAction;
|
||||
|
Reference in New Issue
Block a user