diff options
author | Ton Roosendaal <ton@blender.org> | 2009-06-06 17:35:04 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-06-06 17:35:04 +0400 |
commit | 9d8fa4f959ff704e113d70ed713d1b8aec0ef014 (patch) | |
tree | 63795ef16cd527574925dc9cbe246ee74deed78a /source/blender/makesdna/DNA_windowmanager_types.h | |
parent | 47ca5cbea26fb7562472a127db6181d134f46319 (diff) |
2.5
Several usablity tweaks:
- Search menu allows ScrollWheel to view items
- Tooltip on button on bottom of window showed wrong
- Tooltips were popping up while draggin (MMB) or scrolling
(wheel). Now they stay away.
- Stolen from Gimp (blame venomgfx for hint!): ScrollWheel allows
to go over menu items and use number buttons, only on mouse-over.
Note for devs: the WM_event_add_mousemove() call (to add a fake
event to bring UI back alive after view changes) now works much
more reliably. It ensures the mouse move is only handled after all
notifiers/redraws were done.
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index ba423334cce..7d6b5ec8764 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -97,7 +97,7 @@ typedef struct wmWindow { short active; /* set to 1 if an active window, for quick rejects */ short cursor; /* current mouse cursor type */ short lastcursor; /* for temp waitcursor */ - short pad2; + short addmousemove; /* internal: tag this for extra mousemove event, makes cursors/buttons active on UI switching */ int pad3; struct wmEvent *eventstate; /* storage for event system */ |