summaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-23 14:58:42 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-23 14:58:42 +0300
commit99d980b5867b277d15d39731eb235bfa9695268e (patch)
treea5b332341bd119b7717af333b4f4381641c0c258 /src/ui/window.h
parentbb401db8b648e6bc3d3f93281031b3164159bf1a (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.h3
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 *);
126iInt2 maxTextureSize_Window (const iWindow *); 126iInt2 maxTextureSize_Window (const iWindow *);
127float uiScale_Window (const iWindow *); 127float uiScale_Window (const iWindow *);
128iInt2 coord_Window (const iWindow *, int x, int y); 128iInt2 coord_Window (const iWindow *, int x, int y);
129iInt2 mouseCoord_Window (const iWindow *); 129iInt2 mouseCoord_Window (const iWindow *, int whichDevice);
130iAnyObject *hitChild_Window (const iWindow *, iInt2 coord); 130iAnyObject *hitChild_Window (const iWindow *, iInt2 coord);
131uint32_t frameTime_Window (const iWindow *); 131uint32_t frameTime_Window (const iWindow *);
132SDL_Renderer *renderer_Window (const iWindow *); 132SDL_Renderer *renderer_Window (const iWindow *);
@@ -135,7 +135,6 @@ iBool isFullscreen_Window (const iWindow *);
135int numRoots_Window (const iWindow *); 135int numRoots_Window (const iWindow *);
136iRoot * findRoot_Window (const iWindow *, const iWidget *widget); 136iRoot * findRoot_Window (const iWindow *, const iWidget *widget);
137iRoot * otherRoot_Window (const iWindow *, iRoot *root); 137iRoot * otherRoot_Window (const iWindow *, iRoot *root);
138
139iWindow * get_Window (void); 138iWindow * get_Window (void);
140 139
141#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME) 140#if defined (LAGRANGE_ENABLE_CUSTOM_FRAME)