28 #ifndef WINTERMUTE_UIOBJECT_H 29 #define WINTERMUTE_UIOBJECT_H 32 #include "engines/wintermute/base/base_object.h" 33 #include "engines/wintermute/dctypes.h" 42 bool getTotalOffset(
int *offsetX,
int *offsetY);
44 bool handleMouse(TMouseEvent event, TMouseButton button)
override;
49 bool display()
override {
return display(0, 0); }
50 virtual bool display(
int offsetX) {
return display(offsetX, 0); }
51 virtual bool display(
int offsetX,
int offsetY);
52 virtual void correctSize();
53 void setText(
const char *text);
65 bool scSetProperty(
const char *name,
ScValue *value)
override;
67 const char *scToString()
override;
70 int32 getWidth()
const;
71 int32 getHeight()
override;
72 void setHeight(int32 height);
73 void setWidth(int32 width);
74 bool isDisabled()
const;
75 void setDisabled(
bool disable);
76 bool isVisible()
const;
77 void setVisible(
bool visible);
78 bool hasSharedFonts()
const;
79 void setSharedFonts(
bool shared);
80 bool hasSharedImages()
const;
81 void setSharedImages(
bool shared);
86 bool canFocus()
const;
90 uint32 _listenerParamDWORD;
Definition: base_game.h:75
Definition: script_value.h:42
Definition: base_dynamic_buffer.h:35
Definition: script_stack.h:41
Definition: base_script_holder.h:37
Definition: base_font.h:37
Definition: ui_tiled_image.h:37
Definition: base_sprite.h:40
Definition: base_object.h:57
Definition: achievements_tables.h:27
Definition: ui_object.h:39