summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-09 15:27:00 +0000
committerrubidium <rubidium@openttd.org>2008-05-09 15:27:00 +0000
commit68a1d75d9e351fa28db90937b5dae0f2d0cd2ff3 (patch)
treeb0aab17d5b33d2a5b5bdd78514799a53ae27ef97 /src/window_gui.h
parentf4387004025efb3860a2934ed6d82a7e6f1cd716 (diff)
downloadopenttd-68a1d75d9e351fa28db90937b5dae0f2d0cd2ff3.tar.xz
(svn r13025) -Codechange: remove the need for two WindowEvents.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index e9cb2d066..1f21f94bd 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -126,8 +126,6 @@ enum WindowEventCodes {
WE_ABORT_PLACE_OBJ,
WE_ON_EDIT_TEXT,
WE_ON_EDIT_TEXT_CANCEL,
- WE_POPUPMENU_SELECT,
- WE_POPUPMENU_OVER,
WE_DRAGDROP,
WE_PLACE_DRAG,
WE_PLACE_MOUSEUP,
@@ -179,10 +177,6 @@ struct WindowEvent {
} edittext;
struct {
- Point pt;
- } popupmenu;
-
- struct {
int button;
int index;
} dropdown;
@@ -563,7 +557,6 @@ extern byte _scroller_click_timeout;
extern bool _scrolling_scrollbar;
extern bool _scrolling_viewport;
-extern bool _popup_menu_active;
extern byte _special_mouse_mode;
enum SpecialMouseMode {