From 14ed1505adda6e848a22ada5fc2552d9264d9fb9 Mon Sep 17 00:00:00 2001 From: Jamie Quigley Date: Tue, 8 Dec 2020 18:39:38 +0000 Subject: [PATCH] Remove unused WINDOW_EVENTS enum (#13542) --- src/openrct2/interface/Window.h | 37 --------------------------------- 1 file changed, 37 deletions(-) diff --git a/src/openrct2/interface/Window.h b/src/openrct2/interface/Window.h index fdc9ae1c2c..e73650786b 100644 --- a/src/openrct2/interface/Window.h +++ b/src/openrct2/interface/Window.h @@ -339,43 +339,6 @@ struct rct_window; #define RCT_WINDOW_RIGHT(w) ((w)->windowPos.x + (w)->width) #define RCT_WINDOW_BOTTOM(w) ((w)->windowPos.y + (w)->height) -enum WINDOW_EVENTS -{ - WE_CLOSE = 0, - WE_MOUSE_UP = 1, - WE_RESIZE = 2, - WE_MOUSE_DOWN = 3, - WE_DROPDOWN = 4, - WE_UNKNOWN_05 = 5, - // Unknown 05: Used to update tabs that are not being animated - // see window_peep. When the overview tab is not highlighted the - // items being carried such as hats/balloons still need to be shown - // and removed. Probably called after anything that affects items - // being carried. - WE_UPDATE = 6, - WE_UNKNOWN_07 = 7, - WE_UNKNOWN_08 = 8, - WE_TOOL_UPDATE = 9, - WE_TOOL_DOWN = 10, - WE_TOOL_DRAG = 11, - WE_TOOL_UP = 12, - WE_TOOL_ABORT = 13, - WE_UNKNOWN_0E = 14, - WE_SCROLL_GETSIZE = 15, - WE_SCROLL_MOUSEDOWN = 16, - WE_SCROLL_MOUSEDRAG = 17, - WE_SCROLL_MOUSEOVER = 18, - WE_TEXT_INPUT = 19, - WE_VIEWPORT_ROTATE = 20, - WE_UNKNOWN_15 = 21, // scroll mouse move? - WE_TOOLTIP = 22, - WE_CURSOR = 23, - WE_MOVED = 24, - WE_INVALIDATE = 25, - WE_PAINT = 26, - WE_SCROLL_PAINT = 27, -}; - enum WINDOW_FLAGS { /*