|
| CScroll (const char *label=0, int layoutSize=10, CLayoutAlign layoutAlign=CLayoutAlign::TOP) |
| Constructor in SPTK style. More...
|
|
void | resize (int x, int y, int w, int h) override |
| Resizes the group and inside widgets. More...
|
|
void | draw () override |
| Custom draw() method.
|
|
bool | preferredSize (int &w, int &h) override |
| Computes the optimal group size. More...
|
|
void | clear () override |
| Removes all the child widgets. More...
|
|
virtual void | position (int X, int Y) |
| Sets the position of the scrolled area.
|
|
int | xposition () const |
| Returns the x-position of the scrolled area.
|
|
int | yposition () const |
| Returns the y-position of the scrolled area.
|
|
int | handle (int) override |
| Custom handle method.
|
|
String | className () const override |
| Returns widget class name (internal SPTK RTTI). More...
|
|
| CLayoutManager (Fl_Group *group, int layoutSize, CLayoutAlign ca) |
|
| ~CLayoutManager () override=default |
|
virtual void | clear () |
| Removes all the children. More...
|
|
int | layoutSpacing () const |
|
void | layoutSpacing (int ls) |
|
void | layoutGrowMode (CLayoutGrowMode gm=CLayoutGrowMode::LGM_AUTO_GROW) |
|
CLayoutGrowMode | layoutGrowMode () const |
|
void | relayout () |
|
void | frame (CFrame *frame, bool drawBackground=true) |
| Defines frame. More...
|
|
const CFrame * | frame () const |
| Returnes the current frame.
|
|
uint32_t | frameWidth () const |
| Returns frame width.
|
|
virtual void | loadLayout (const xdoc::SNode &node, CLayoutXMLmode xmlMode) |
| Loads group controls data from XML node. More...
|
|
virtual void | saveLayout (const xdoc::SNode &node, CLayoutXMLmode xmlMode) const |
| Saves group controls data into XML node. More...
|
|
void | nameIndex (CWidgetNamesMap &index, bool recursive, bool clean=true) const |
| Builds an index of internal widget names. More...
|
|
bool | noXml () const |
| Returns flag of blocking XML processing. More...
|
|
void | noXml (bool noXml) |
| Sets flag of blocking XML processing. More...
|
|
| CLayoutClient (Fl_Widget *widget, int layoutSize, CLayoutAlign ca) |
|
virtual | ~CLayoutClient () |
|
CLayoutAlign | layoutAlign () const |
|
void | layoutAlign (CLayoutAlign al) |
|
int | layoutSize () const |
|
void | layoutSize (int ls) |
|
virtual void | label (const String &l) |
|
virtual const String & | label () const |
|
void | name (const char *aname) |
|
void | name (const String &aname) |
|
const String & | name () const |
|
virtual bool | preferredSize (int &w, int &h) |
|
virtual bool | computeSize (int &w, int &h) |
|
virtual String | className () const |
|
Fl_Widget * | widget () const |
|
virtual void | load (const xdoc::SNode &node, CLayoutXMLmode xmlMode) |
|
virtual void | load (const std::shared_ptr< xdoc::Node > &node) |
|
virtual void | save (const std::shared_ptr< xdoc::Node > &node, CLayoutXMLmode xmlMode) const |
|
Scroll area widget.
Extended version of FLTK Fl_Group that can be a layout manager and layout client at the same time.