diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-07-12 20:18:25 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-07-12 20:18:25 +0000 |
commit | d8715ab4acf1ea315614372ca3410fbc598bc4cd (patch) | |
tree | 28590f0f16e19d71c9d726883ce9cb6e23dc7a85 /src/osd/windows/window.h | |
parent | 465010dc114464564a5b7920dcb2f08338992b25 (diff) |
Note: I have done some testing, but there are probably more bugs
lurking. If you run into anything odd, please let me know.
Added new module uiinput.c which manages input for the user interface.
The OSD is responsible for pushing mouse events and character events
to this interface in order to support mouse movement and text-based
input (currently only used for the select game menu). Added support
for navigating through the menus using the mouse.
[Nathan Woods, Aaron Giles]
Redesigned the UI menus so that they can maintain a richer state. Now
the menus can be generated once and reused, rather than requiring them
to be regenerated on each frame. All menus also share a comment eventing
system and navigation through them is managed centrally. Rewrote all the
menus to use the new system, apart from the cheat menus, which are now
disabled. Reorganized the video menu to make it easier to understand.
[Aaron Giles]
Diffstat (limited to 'src/osd/windows/window.h')
-rw-r--r-- | src/osd/windows/window.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osd/windows/window.h b/src/osd/windows/window.h index 26dbac01eb7..4e2b96df729 100644 --- a/src/osd/windows/window.h +++ b/src/osd/windows/window.h @@ -70,6 +70,11 @@ struct _win_window_info int targetorient; int targetlayerconfig; const render_primitive_list *primlist; + + // input info + DWORD lastclicktime; + int lastclickx; + int lastclicky; // drawing data void * drawdata; |