22 #ifndef ULTIMA_SHARED_GFX_VISUAL_ITEM_H 23 #define ULTIMA_SHARED_GFX_VISUAL_ITEM_H 25 #include "graphics/managed_surface.h" 26 #include "ultima/shared/core/named_item.h" 27 #include "ultima/shared/gfx/screen.h" 28 #include "ultima/shared/gfx/visual_surface.h" 48 void init(
TreeItem *parent =
nullptr);
58 _bounds(r) { init(parent); }
96 virtual void setDirty(
bool dirty =
true);
106 virtual bool isDirty()
const {
return _isDirty; }
void setBounds(const Rect &r)
Definition: tree_item.h:50
Definition: visual_surface.h:39
VisualSurface getSurface()
Definition: visual_item.h:39
virtual void draw()
Definition: visual_item.h:66
Definition: detection.h:27
virtual void setDirty(bool dirty=true)
void setPosition(const Point &pt)
void clearDirty()
Definition: visual_item.h:101
void setPopup(Gfx::Popup *popup)
Definition: messages.h:280
const Rect & getBounds()
Definition: visual_item.h:79
Definition: named_item.h:33
virtual bool isDirty() const
Definition: visual_item.h:106
Definition: messages.h:230