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
commit8d0a7f4634b73a4e146230b72c2e48cc463bf748 (patch)
treeb0aab17d5b33d2a5b5bdd78514799a53ae27ef97 /src/window_gui.h
parent0f7d925121beb1033917918478c7d213305de595 (diff)
downloadopenttd-8d0a7f4634b73a4e146230b72c2e48cc463bf748.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 {