29#include <sptk5/sptk.h>
32#include <sptk5/gui/CControl.h>
33#include <sptk5/gui/CInput.h>
65 bool m_dragable {
false};
71 void ctor_init(
const char* label);
82#ifdef __COMPATIBILITY_MODE__
91 CBox(
int x,
int y,
int w,
int h,
const char* label = 0);
176 void resize(
int x,
int y,
int w,
int h)
override;
void resize(int x, int y, int w, int h) override
void textFont(Fl_Font f) override
CControlKind kind() const override
Definition: CBox.h:108
virtual void textAlign(uint32_t align)
void textSize(uchar s) override
void dragable(bool df)
Definition: CBox.h:199
Fl_Font textFont() const override
bool dragable() const
Definition: CBox.h:191
CBox(const char *label=nullptr, int layoutSize=10, CLayoutAlign layoutAlign=CLayoutAlign::TOP)
virtual uint32_t textAlign() const
bool preferredSize(int &w, int &h) override
Variant data() const override
String className() const override
Definition: CBox.h:116
virtual int totalHeight(int ww=0) const
int handle(int event) override
static CLayoutClient * creator(const xdoc::SNode &node)
uchar textSize() const override
void data(const Variant &v) override
Definition: CLayoutClient.h:82
Definition: Variant.h:372
CControlKind
Control kind is the constant to report the internal SPTK RTTI.
Definition: CControl.h:50
CLayoutAlign
Definition: CLayoutClient.h:44