add: Mouse wheel top window.

This commit is contained in:
2024-06-01 17:44:41 +01:00
parent 7c4bd90e29
commit 13496016cf
8 changed files with 125 additions and 2 deletions

View File

@@ -40,6 +40,12 @@ namespace UI
void SetParent(CWindow * pWindow, CWindow * pParentWindow);
void SetPickAlways(CWindow * pWindow);
#if defined(__BL_MOUSE_WHEEL_TOP_WINDOW__)
bool OnMouseWheelButtonUp();
bool OnMouseWheelButtonDown();
void SetWheelTopWindow(CWindow* pWindow);
void ClearWheelTopWindow();
#endif
enum
{
@@ -169,6 +175,9 @@ namespace UI
CWindow * m_pActiveWindow;
TWindowContainer m_ActiveWindowList;
CWindow * m_pLockWindow;
#if defined(__BL_MOUSE_WHEEL_TOP_WINDOW__)
CWindow* m_pTopWindow;
#endif
TWindowContainer m_LockWindowList;
CWindow * m_pPointWindow;
CWindow * m_pLeftCaptureWindow;