22 #ifndef QUEEN_JOURNAL_H 23 #define QUEEN_JOURNAL_H 25 #include "common/util.h" 47 ZN_YES = ZN_MAKE_ENTRY,
90 BOB_SPEECH_TOGGLE = 10,
92 BOB_MUSIC_TOGGLE = 12,
101 FRAME_CHECK_BOX = 16,
103 FRAME_GREEN_PIN = 19,
111 TXT_REVIEW_ENTRY = 33,
117 NUM_SAVES_PER_PAGE = 10,
143 void showBob(
int bobNum, int16 x, int16 y,
int frameNum);
144 void hideBob(
int bobNum);
146 void drawSaveDescriptions();
149 void enterYesNoPanelMode(int16 prevZoneNum,
int titleNum);
150 void exitYesNoPanelMode();
151 void enterInfoPanelMode();
152 void exitInfoPanelMode();
154 void handleMouseWheel(
int inc);
155 void handleMouseDown(
int x,
int y);
156 void handleKeyDown(uint16 ascii,
int keycode);
158 void drawPanelText(
int y,
const char *text);
159 void drawCheckBox(
bool active,
int bobNum, int16 x, int16 y,
int frameNum);
160 void drawSlideBar(
int value,
int maxValue,
int bobNum, int16 y,
int frameNum);
161 void drawPanel(
const int *frames,
const int *titles,
int n);
162 void drawNormalPanel();
163 void drawYesNoPanel(
int titleNum);
164 void drawConfigPanel();
165 void drawInfoPanel();
167 void initTextField(
const char *desc);
168 void updateTextField(uint16 ascii,
int keycode);
169 void closeTextField();
182 int16 x1, y1, x2, y2;
185 PanelMode _panelMode;
188 int _currentSavePage;
189 int _currentSaveSlot;
191 int _prevJoeX, _prevJoeY;
194 int _panelTextY[MAX_PANEL_TEXTS];
195 TextField _textField;
197 char _saveDescriptions[100][32];
202 static const Zone _zones[MAX_ZONES];