Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove WINDOW_EVENTS as it is unused #13542

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
37 changes: 0 additions & 37 deletions src/openrct2/interface/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
/*
Expand Down