diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-01-27 19:24:24 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-01-27 19:24:24 +0400 |
commit | d72fde683f81a13fc7bdf5fbd0838d350627ef9b (patch) | |
tree | ba20231d2361f5bd76178de8fcd1cb7dcc163c04 /src/client/ui/ui.h | |
parent | 6b47375923a45f09ad246a4dc3664e48dd15af42 (diff) |
Scroll menu list by dragging mouse.
Diffstat (limited to 'src/client/ui/ui.h')
-rw-r--r-- | src/client/ui/ui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/ui/ui.h b/src/client/ui/ui.h index 7b80331..0c5e8f6 100644 --- a/src/client/ui/ui.h +++ b/src/client/ui/ui.h @@ -198,6 +198,8 @@ typedef struct menuList_s { int scratchCount; int scratchTime; + int drag_y; + menuListColumn_t columns[MAX_COLUMNS]; int numcolumns; int sortdir, sortcol; @@ -273,6 +275,7 @@ typedef struct uiStatic_s { int menuDepth; menuFrameWork_t *layers[MAX_MENU_DEPTH]; menuFrameWork_t *activeMenu; + menuCommon_t *mouseTracker; int mouseCoords[2]; qboolean entersound; // play after drawing a frame, so caching // won't disrupt the sound |