22 #ifndef SHERLOCK_TATTOO_UI_H 23 #define SHERLOCK_TATTOO_UI_H 25 #include "common/scummsys.h" 26 #include "common/list.h" 27 #include "sherlock/saveload.h" 28 #include "sherlock/screen.h" 29 #include "sherlock/user_interface.h" 30 #include "sherlock/tattoo/widget_credits.h" 31 #include "sherlock/tattoo/widget_files.h" 32 #include "sherlock/tattoo/widget_inventory.h" 33 #include "sherlock/tattoo/widget_options.h" 34 #include "sherlock/tattoo/widget_quit.h" 35 #include "sherlock/tattoo/widget_text.h" 36 #include "sherlock/tattoo/widget_tooltip.h" 37 #include "sherlock/tattoo/widget_verbs.h" 44 #define BUTTON_SIZE 15 46 #define STARTUP_KEYS_DISABLED_DELAY 200 50 enum ScrollHighlight { SH_NONE = 0, SH_SCROLL_UP = 1, SH_PAGE_UP = 2, SH_THUMBNAIL = 3, SH_PAGE_DOWN = 4, SH_SCROLL_DOWN = 5 };
67 byte _lookupTable[PALETTE_COUNT];
68 byte _lookupTable1[PALETTE_COUNT];
73 void doStandardControl();
96 int _scrollSize, _scrollSpeed;
98 int _arrowZone, _oldArrowZone;
104 ScrollHighlight _scrollHighlight;
123 void doBgAnimRestoreUI();
133 void initScrollVars();
155 void doInventory(
int mode);
170 void pickUpObject(
int objNum);
175 void putMessage(MSVC_PRINTF
const char *formatStr, ...)
GCC_PRINTF(2, 3);
180 void setupBGArea(
const byte cMap[PALETTE_SIZE]);
185 void doBgAnimEraseBackground();
190 void drawMaskArea(
bool mode);
213 void displayObjectNames();
234 void reset()
override;
239 void handleInput()
override;
244 void drawInterface(
int bufferNum = 3)
override;
249 void clearWindow()
override;
256 void banishWindow(
bool slideUp =
true)
override;
Definition: surface.h:118
Definition: animation.h:29
int FORCEINLINE GCC_PRINTF(2, 0) int vsprintf_s(T(&dst)[N]
Definition: sherlock.h:76
Definition: objects.h:363
Definition: tattoo_user_interface.h:57
Definition: widget_text.h:34
Definition: keyboard.h:294
Definition: image_file.h:78
Definition: user_interface.h:62