23 #ifndef BAGEL_SPACEBAR_BIBBLE_WINDOW_H 24 #define BAGEL_SPACEBAR_BIBBLE_WINDOW_H 26 #include "bagel/baglib/storage_dev_win.h" 27 #include "bagel/boflib/gui/text_box.h" 28 #include "bagel/boflib/gui/button.h" 29 #include "bagel/boflib/gfx/sprite.h" 30 #include "bagel/boflib/sound.h" 35 #define BIBBLE_NUM_BUTTONS 12 36 #define BIBBLE_NUM_BIBBLES 3 37 #define BIBBLE_NUM_SHOUTS 4 38 #define BIBBLE_NUM_PAYOFFS 16 39 #define BIBBLE_NUM_BET_AREAS 24 54 const char *_cAudioFile;
55 const char *_cPayFile;
74 extern const ST_PAYOFFS PAY_OFFS[BIBBLE_NUM_PAYOFFS];
81 virtual ErrorCode attach();
82 virtual ErrorCode detach();
84 virtual void onBofButton(
CBofObject *pButton,
int nState);
85 virtual void onClose();
89 ErrorCode bonkBibble(
int nBibble,
int nShout);
92 ErrorCode displayCredits();
94 ErrorCode highlight(
CBetArea *pArea, byte nColor);
95 ErrorCode unHighlight(
CBetArea *pArea);
97 virtual void onLButtonDown(uint32 nFlags,
CBofPoint *pPoint,
void * =
nullptr);
98 virtual void onLButtonUp(uint32 nFlags,
CBofPoint *pPoint,
void * =
nullptr);
99 virtual void onLButtonDblClk(uint32 nFlags,
CBofPoint *pPoint);
100 virtual void onKeyHit(uint32 lKey, uint32 lRepCount);
102 virtual void onPaint(
CBofRect *pRect);
103 virtual void onMainLoop();
104 virtual void onTimer(uint32 ) {
Definition: storage_dev_win.h:406
Definition: bibble_window.h:41
Definition: bibble_window.h:58
Definition: bibble_window.h:46
Definition: bibble_window.h:77