aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/eventman.h
diff options
context:
space:
mode:
authorStrangerke2015-12-13 20:15:24 +0100
committerWillem Jan Palenstijn2015-12-23 21:34:03 +0100
commit2b91bf2f34c3e0ec4e83fa478f1e426d36719cb7 (patch)
treee6e154e3975f3575d9279ac7f566e6fa9399e8b8 /engines/lab/eventman.h
parent99e09b2ca2615d9f5bbb682eb17920c8205af405 (diff)
downloadscummvm-rg350-2b91bf2f34c3e0ec4e83fa478f1e426d36719cb7.tar.gz
scummvm-rg350-2b91bf2f34c3e0ec4e83fa478f1e426d36719cb7.tar.bz2
scummvm-rg350-2b91bf2f34c3e0ec4e83fa478f1e426d36719cb7.zip
LAB: Some renaming in EventMan
Diffstat (limited to 'engines/lab/eventman.h')
-rw-r--r--engines/lab/eventman.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/lab/eventman.h b/engines/lab/eventman.h
index 669866d8fa..acfccb21de 100644
--- a/engines/lab/eventman.h
+++ b/engines/lab/eventman.h
@@ -61,9 +61,9 @@ struct IntuiMessage {
struct Button {
- uint16 x, y, _buttonID;
+ uint16 _x, _y, _buttonID;
uint16 _keyEquiv; // if not zero, a key that activates button
- bool isEnabled;
+ bool _isEnabled;
Image *_image, *_altImage;
};
@@ -103,10 +103,10 @@ public:
EventManager (LabEngine *vm);
void attachButtonList(ButtonList *buttonList);
- Button *createButton(uint16 x, uint16 y, uint16 id, uint16 key, Image *im, Image *imalt);
- void disableButton(Button *curgad, uint16 pencolor);
+ Button *createButton(uint16 x, uint16 y, uint16 id, uint16 key, Image *image, Image *altImage);
+ void disableButton(Button *button, uint16 penColor);
void drawButtonList(ButtonList *buttonList);
- void enableButton(Button *curgad);
+ void enableButton(Button *button);
void freeButtonList(ButtonList *buttonList);
Button *getButton(uint16 id);
Common::Point getMousePos();
@@ -114,7 +114,7 @@ public:
void initMouse();
void mouseShow();
void mouseHide();
- void processInput(bool can_delay = false);
+ void processInput(bool canDelay = false);
void setMousePos(Common::Point pos);
void updateMouse();
Common::Point updateAndGetMousePos();