30 static const Type Paint;
39 static const Type Resize;
41 :
Event(Resize), _size(size) {}
42 const Size2Di32 &size()
const {
return _size; }
107 int x()
const {
return _geometry.
x(); }
110 int y()
const {
return _geometry.
y(); }
254 bool _visible =
true;
255 bool _enabled =
true;
256 bool _focused =
false;
Base class for the event system.
Definition event.h:29
Event delivered when a key is pressed or released.
Definition keyevent.h:22
Dynamic array container wrapping std::vector.
Definition list.h:40
Event delivered for mouse input.
Definition mouseevent.h:23
Base object for promeki.
Definition objectbase.h:129
ObjectBase * parent() const
Returns the parent object, if one. nullptr if none.
Definition objectbase.h:258
T height() const
Returns the height.
Definition rect.h:57
T width() const
Returns the width.
Definition rect.h:54
T x() const
Returns the X coordinate of the left edge.
Definition rect.h:48
T y() const
Returns the Y coordinate of the top edge.
Definition rect.h:51
Application class for TUI programs.
Definition application.h:33
Abstract base class for TUI layout managers.
Definition layout.h:26
Event delivered when a TUI widget needs to repaint.
Definition widget.h:28
Painting context for TUI widgets.
Definition painter.h:26
Event delivered when a TUI widget is resized.
Definition widget.h:37
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19
Size2DTemplate< int32_t > Size2Di32
2D size with int32_t components.
Definition size2d.h:105