22 #ifndef SCI_GRAPHICS_CONTROLS16_H 23 #define SCI_GRAPHICS_CONTROLS16_H 36 SCI_CONTROLS_TYPE_BUTTON = 1,
37 SCI_CONTROLS_TYPE_TEXT = 2,
38 SCI_CONTROLS_TYPE_TEXTEDIT = 3,
39 SCI_CONTROLS_TYPE_ICON = 4,
40 SCI_CONTROLS_TYPE_LIST = 6,
41 SCI_CONTROLS_TYPE_LIST_ALIAS = 7,
42 SCI_CONTROLS_TYPE_DUMMY = 10
58 void kernelDrawButton(
Common::Rect rect,
reg_t obj,
const char *text, uint16 languageSplitter, int16 fontId, int16 style,
bool hilite);
59 void kernelDrawText(
Common::Rect rect,
reg_t obj,
const char *text, uint16 languageSplitter, int16 fontId, TextAlignment alignment, int16 style,
bool hilite);
60 void kernelDrawTextEdit(
Common::Rect rect,
reg_t obj,
const char *text, uint16 languageSplitter, int16 fontId, int16 mode, int16 style, int16 cursorPos, int16 maxChars,
bool hilite);
61 void kernelDrawIcon(
Common::Rect rect,
reg_t obj, GuiResourceId viewId, int16 loopNo, int16 celNo, int16 priority, int16 style,
bool hilite);
62 void kernelDrawList(
Common::Rect rect,
reg_t obj, int16 maxChars, int16 count,
const Common::String *entries, GuiResourceId fontId, int16 style, int16 upperPos, int16 cursorPos,
bool isAlias,
bool hilite);
63 void kernelTexteditChange(
reg_t controlObject,
reg_t eventObject);
66 void texteditSetBlinkTime();
68 void drawListControl(
Common::Rect rect,
reg_t obj, int16 maxChars, int16 count,
const Common::String *entries, GuiResourceId fontId, int16 upperPos, int16 cursorPos,
bool isAlias);
69 void texteditCursorDraw(
Common::Rect rect,
const char *text, uint16 curPos);
70 void texteditCursorErase();
81 bool _texteditCursorVisible;
82 uint32 _texteditBlinkTime;
87 #endif // SCI_GRAPHICS_CONTROLS16_H widgets surrounded by a frame
Definition: controls16.h:30
control is inverted (mac-only for hi-res fonts)
Definition: controls16.h:31
grayed out buttons
Definition: controls16.h:29
enabled buttons
Definition: controls16.h:28
Definition: seg_manager.h:48
Definition: controls16.h:53
controlStateFlags
Definition: controls16.h:27
Definition: vm_types.h:39