22 #ifndef TITANIC_PET_REMOTE_GLYPHS_H 23 #define TITANIC_PET_REMOTE_GLYPHS_H 25 #include "titanic/pet_control/pet_glyphs.h" 26 #include "titanic/pet_control/pet_gfx_element.h" 31 GLYPH_SUMMON_ELEVATOR = 0, GLYPH_SUMMON_PELLERATOR = 1,
32 GLYPH_TELEVISION_CONTROL = 2, GLYPH_ENTERTAINMENT_DEVICE = 3,
33 GLYPH_OPERATE_LIGHTS = 4, GLYPH_DEPLOY_FLORAL = 5,
34 GLYPH_DEPLOY_FULLY_RELAXATION = 6, GLYPH_DEPLOY_COMFORT = 7,
35 GLYPH_DEPLOY_MINOR_STORAGE = 8, GLYPH_DEPLOY_MAJOR_RELAXATION = 9,
36 GLYPH_INFLATE_RELAXATION = 10, GLYPH_DEPLOY_MAINTENANCE = 11,
37 GLYPH_DEPLOY_WORK_SURFACE = 12, GLYPH_DEPLOY_MINOR_RELAXATION = 13,
38 GLYPH_DEPLOY_SINK = 14, GLYPH_DEPLOY_MAJOR_STORAGE = 15,
39 GLYPH_SUCCUBUS_DELIVERY = 16, GLYPH_NAVIGATION_CONTROLLER = 17,
40 GLYPH_SKIP_NAVIGATION = 18, GLYPH_GOTO_BOTTOM_OF_WELL = 19,
41 GLYPH_GOTO_TOP_OF_WELL = 20, GLYPH_GOTO_STATEROOM = 21,
42 GLYPH_GOTO_BAR = 22, GLYPH_GOTO_PROMENADE = 23, GLYPH_GOTO_ARBORETUM = 24,
43 GLYPH_GOTO_MUSIC_ROOM = 25, GLYPH_GOTO_RESTAURANT = 26
47 RMSG_LEFT = 0, RMSG_RIGHT = 1, RMSG_UP = 2, RMSG_DOWN = 3, RMSG_ACTIVATE = 4
89 CString _gfxName, _tooltip, _msgString;
93 _gfxName(gfxName), _tooltip(tooltip), _msgString(msgString) {}
141 bool elementMouseButtonDownMsg(
const Point &pt,
int petNum);
146 bool elementMouseButtonUpMsg(
const Point &pt,
int petNum);
157 CPetRemoteGlyph(), _gfxName(gfxName), _tooltip(tooltip), _roomIndex(roomIndex),
158 _goButton(
nullptr) {}
202 _up(
nullptr), _down(
nullptr), _onOff(
nullptr) {}
236 _flag2(
false), _up(
nullptr), _down(
nullptr) {}
270 _up(
nullptr), _down(
nullptr), _activate(
nullptr) {}
309 return elementMouseButtonDownMsg(pt, 0);
316 return elementMouseButtonUpMsg(pt, 0);
336 return elementMouseButtonDownMsg(pt, 1);
343 return elementMouseButtonUpMsg(pt, 1);
363 return elementMouseButtonDownMsg(pt, 2);
370 return elementMouseButtonUpMsg(pt, 2);
390 return elementMouseButtonDownMsg(pt, 3);
397 return elementMouseButtonUpMsg(pt, 3);
417 return elementMouseButtonDownMsg(pt, 5);
424 return elementMouseButtonUpMsg(pt, 5);
444 return elementMouseButtonDownMsg(pt, 6);
451 return elementMouseButtonUpMsg(pt, 6);
471 return elementMouseButtonDownMsg(pt, 7);
478 return elementMouseButtonUpMsg(pt, 7);
498 return elementMouseButtonDownMsg(pt, 8);
505 return elementMouseButtonUpMsg(pt, 8);
525 return elementMouseButtonDownMsg(pt, 9);
532 return elementMouseButtonUpMsg(pt, 9);
552 return elementMouseButtonDownMsg(pt, 10);
559 return elementMouseButtonUpMsg(pt, 10);
579 return elementMouseButtonDownMsg(pt, 11);
586 return elementMouseButtonUpMsg(pt, 11);
600 _send(
nullptr), _receive(
nullptr) {}
634 _flag(
false), _gfxElement(
nullptr) {}
Definition: pet_remote_glyphs.h:196
Definition: pet_remote_glyphs.h:325
Definition: pet_remote_glyphs.h:672
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:558
Definition: pet_remote_glyphs.h:460
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:396
Definition: pet_remote_glyphs.h:677
Definition: text_control.h:35
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:389
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:470
Definition: pet_remote_glyphs.h:406
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:578
Definition: pet_remote_glyphs.h:230
Definition: pet_remote_glyphs.h:433
Definition: pet_remote_glyphs.h:667
Definition: pet_remote_glyphs.h:692
Definition: pet_remote_glyphs.h:298
Definition: pet_remote_glyphs.h:379
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:308
Definition: pet_remote_glyphs.h:514
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:369
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:423
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:477
Definition: pet_remote_glyphs.h:265
Definition: pet_remote_glyphs.h:682
Definition: pet_remote_glyphs.h:87
Definition: pet_remote_glyphs.h:191
Definition: screen_manager.h:49
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:551
Definition: pet_gfx_element.h:29
Definition: pet_remote_glyphs.h:702
Definition: pet_remote.h:33
Definition: pet_glyphs.h:53
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:504
Definition: pet_remote_glyphs.h:541
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:450
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:416
Definition: pet_remote_glyphs.h:662
Definition: pet_remote_glyphs.h:121
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:585
Definition: pet_glyphs.h:244
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:315
virtual void setup(int numVisible, CPetSection *owner)
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:362
Definition: pet_remote_glyphs.h:52
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:335
CPetRemote * getOwner() const
Definition: pet_remote_glyphs.h:487
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:497
Definition: pet_remote_glyphs.h:352
Definition: pet_remote_glyphs.h:186
bool MouseButtonDownMsg(const Point &pt)
bool MouseButtonUpMsg(const Point &pt)
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:443
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:531
Definition: pet_remote_glyphs.h:595
bool MouseButtonUpMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:342
Definition: pet_remote_glyphs.h:149
Definition: pet_remote_glyphs.h:687
bool MouseButtonDownMsg(const Point &pt) override
Definition: pet_remote_glyphs.h:524
void generateMessage(RemoteMessage msgNum, const CString &name, int num=-1)
Definition: pet_remote_glyphs.h:65
Definition: pet_remote_glyphs.h:628
Definition: pet_control.h:45
Definition: pet_remote_glyphs.h:568
Definition: pet_remote_glyphs.h:697