aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-09-07 21:48:11 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-09-07 21:48:11 -0400
commit35fbb7daa975d643ba98a32c5466a9dc93864527 (patch)
tree6248722503eefeeeff4714a415a2f0b0bf12f16c /src
parentc3e164c6845b9b32f132aa37cc9707acba0d9eff (diff)
event order fixes
Diffstat (limited to 'src')
-rw-r--r--src/ui.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 4eed4a3..78baa68 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -613,20 +613,6 @@ namespace ui {
fclose(bmp);
}
-
- bool handleGLEvent(SDL_Event& e) {
- switch (e.type) {
- case SDL_MOUSEBUTTONDOWN:
- if ((UISystem::isDialog() | pageTexReady) && (e.button.button & SDL_BUTTON_RIGHT))
- UISystem::advanceDialog();
- return true;
- break;
- default:
- break;
- }
-
- return false;
- }
}
using namespace ui;