diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-23 14:58:42 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-23 14:58:42 +0300 |
commit | 99d980b5867b277d15d39731eb235bfa9695268e (patch) | |
tree | a5b332341bd119b7717af333b4f4381641c0c258 /src/ui/window.h | |
parent | bb401db8b648e6bc3d3f93281031b3164159bf1a (diff) |
Window: Mouse wheel events vs. split mode
Only process mouse wheel events on the root over which the mouse is currently.
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/window.h b/src/ui/window.h index 677001e5..bb98dbe9 100644 --- a/src/ui/window.h +++ b/src/ui/window.h | |||
@@ -126,7 +126,7 @@ iInt2 size_Window (const iWindow *); | |||
126 | iInt2 maxTextureSize_Window (const iWindow *); | 126 | iInt2 maxTextureSize_Window (const iWindow *); |
127 | float uiScale_Window (const iWindow *); | 127 | float uiScale_Window (const iWindow *); |
128 | iInt2 coord_Window (const iWindow *, int x, int y); | 128 | iInt2 coord_Window (const iWindow *, int x, int y); |
129 | iInt2 mouseCoord_Window (const iWindow *); | 129 | iInt2 mouseCoord_Window (const iWindow *, int whichDevice); |
130 | iAnyObject *hitChild_Window (const iWindow *, iInt2 coord); | 130 | iAnyObject *hitChild_Window (const iWindow *, iInt2 coord); |
131 | uint32_t frameTime_Window (const iWindow *); | 131 | uint32_t frameTime_Window (const iWindow *); |
132 | SDL_Renderer *renderer_Window (const iWindow *); | 132 | SDL_Renderer *renderer_Window (const iWindow *); |
@@ -135,7 +135,6 @@ iBool isFullscreen_Window (const iWindow *); | |||
135 | int numRoots_Window (const iWindow *); | 135 | int numRoots_Window (const iWindow *); |
136 | iRoot * findRoot_Window (const iWindow *, const iWidget *widget); | 136 | iRoot * findRoot_Window (const iWindow *, const iWidget *widget); |
137 | iRoot * otherRoot_Window (const iWindow *, iRoot *root); | 137 | iRoot * otherRoot_Window (const iWindow *, iRoot *root); |
138 | |||
139 | iWindow * get_Window (void); | 138 | iWindow * get_Window (void); |
140 | 139 | ||
141 | #if defined (LAGRANGE_ENABLE_CUSTOM_FRAME) | 140 | #if defined (LAGRANGE_ENABLE_CUSTOM_FRAME) |