aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.h
diff options
context:
space:
mode:
authorFlorian Kagerer2009-02-15 03:36:30 +0000
committerFlorian Kagerer2009-02-15 03:36:30 +0000
commit16a57f299cdad82a87c1d397b56b663a9426c38e (patch)
tree21fcc6ac31586e322840be55c4dc052654c0b385 /engines/kyra/gui_lol.h
parent36767120e1d3553217809af262d844474f926c03 (diff)
downloadscummvm-rg350-16a57f299cdad82a87c1d397b56b663a9426c38e.tar.gz
scummvm-rg350-16a57f299cdad82a87c1d397b56b663a9426c38e.tar.bz2
scummvm-rg350-16a57f299cdad82a87c1d397b56b663a9426c38e.zip
LOL: - implemented proper button processing (works exactly as in Kyra 2 and 3, so we do have some code duplication atm, I just fixed right mouse button support for LOL)
- keyboard control now works svn-id: r38190
Diffstat (limited to 'engines/kyra/gui_lol.h')
-rw-r--r--engines/kyra/gui_lol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/kyra/gui_lol.h b/engines/kyra/gui_lol.h
index 1f4fab6be2..e325be5678 100644
--- a/engines/kyra/gui_lol.h
+++ b/engines/kyra/gui_lol.h
@@ -41,7 +41,7 @@ public:
void initStaticData();
// button specific
- void processButton(Button *button) {}
+ void processButton(Button *button);
int processButtonList(Button *buttonList, uint16 inputFlags, int8 mouseWheel);
// utilities for thumbnail creation
@@ -53,6 +53,11 @@ private:
bool _pressFlag;
+ Button *_unknownButtonList;
+ Button *_backUpButtonList;
+ bool _buttonListChanged;
+ uint16 _flagsModifier;
+
int scrollUp(Button *button) { return 0; }
int scrollDown(Button *button) { return 0; }