92 int _openchild_marginbottom;
93 int _usericonmarginleft;
154 return(_openchild_marginbottom);
158 _openchild_marginbottom = val;
178 return(_usericonmarginleft);
182 _usericonmarginleft = val;
186 return(_labelmarginleft);
190 _labelmarginleft = val;
194 return(_linespacing);
206 return(_labelfgcolor);
214 return(_labelbgcolor);
222 return(_connectorcolor);
226 _connectorcolor = val;
230 return(_connectorstyle);
234 _connectorstyle = val;
242 return(_connectorwidth);
246 _connectorwidth = val;
282 return(_showcollapse);
316 return(
int(_showroot));
323 _showroot = char(val);
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:707
unsigned int Fl_Color
an FLTK color value
Definition Enumerations.H:764
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:736
Fl_Boxtype
Definition Enumerations.H:472
Fl_Tree_Connector
Defines the style of connection lines between items.
Definition Fl_Tree_Prefs.H:61
@ FL_TREE_CONNECTOR_SOLID
Use solid lines connecting items.
Definition Fl_Tree_Prefs.H:64
@ FL_TREE_CONNECTOR_NONE
Use no lines connecting items.
Definition Fl_Tree_Prefs.H:62
@ FL_TREE_CONNECTOR_DOTTED
Use dotted lines connecting items (default)
Definition Fl_Tree_Prefs.H:63
Fl_Tree_Sort
Sort order options for items added to the tree.
Definition Fl_Tree_Prefs.H:52
@ FL_TREE_SORT_ASCENDING
Add items in ascending sort order.
Definition Fl_Tree_Prefs.H:54
@ FL_TREE_SORT_DESCENDING
Add items in descending sort order.
Definition Fl_Tree_Prefs.H:55
@ FL_TREE_SORT_NONE
No sorting; items are added in the order defined (default).
Definition Fl_Tree_Prefs.H:53
Fl_Tree_Select
Tree selection style.
Definition Fl_Tree_Prefs.H:70
@ FL_TREE_SELECT_NONE
Nothing selected when items are clicked.
Definition Fl_Tree_Prefs.H:71
@ FL_TREE_SELECT_MULTI
Multiple items can be selected by clicking with.
Definition Fl_Tree_Prefs.H:73
@ FL_TREE_SELECT_SINGLE
Single item selected when item is clicked (default)
Definition Fl_Tree_Prefs.H:72
Fl_Image is the base class used for caching and drawing all kinds of images in FLTK.
Definition Fl_Image.H:51
Fl_Color labelbgcolor() const
Get the default label background color.
Definition Fl_Tree_Prefs.H:213
void connectorstyle(int val)
Set the connector style [integer].
Definition Fl_Tree_Prefs.H:237
Fl_Tree_Connector connectorstyle() const
Get the connector style.
Definition Fl_Tree_Prefs.H:229
Fl_Tree_Prefs()
Fl_Tree_Prefs constructor.
Definition Fl_Tree_Prefs.cxx:128
int margintop() const
Get the top margin's value in pixels.
Definition Fl_Tree_Prefs.H:145
void labelmarginleft(int val)
Set the label's left margin value in pixels.
Definition Fl_Tree_Prefs.H:189
Fl_Fontsize labelsize() const
Return the label's size in pixels.
Definition Fl_Tree_Prefs.H:125
void marginleft(int val)
Set the left margin's value in pixels.
Definition Fl_Tree_Prefs.H:141
Fl_Image * usericon() const
Gets the default 'user icon' (default is 0)
Definition Fl_Tree_Prefs.H:267
int showroot() const
Returns 1 if the root item is to be shown, or 0 if not.
Definition Fl_Tree_Prefs.H:315
void selectmode(Fl_Tree_Select val)
Set the selection mode used for the tree to val.
Definition Fl_Tree_Prefs.H:334
void linespacing(int val)
Set the line spacing value in pixels.
Definition Fl_Tree_Prefs.H:197
void margintop(int val)
Set the top margin's value in pixels.
Definition Fl_Tree_Prefs.H:149
void labelfont(Fl_Font val)
Set the label's font to val.
Definition Fl_Tree_Prefs.H:121
Fl_Tree_Select selectmode() const
Get the selection mode used for the tree.
Definition Fl_Tree_Prefs.H:326
void sortorder(Fl_Tree_Sort val)
Set the default sort order value.
Definition Fl_Tree_Prefs.H:303
void usericon(Fl_Image *val)
Sets the default 'user icon' Returns the Fl_Image* of the icon, or 0 if none (default).
Definition Fl_Tree_Prefs.H:273
Fl_Image * openicon() const
Get the current default 'open' icon.
Definition Fl_Tree_Prefs.H:255
Fl_Color connectorcolor() const
Get the connector color used for tree connection lines.
Definition Fl_Tree_Prefs.H:221
void usericonmarginleft(int val)
Set the user icon's left margin value in pixels.
Definition Fl_Tree_Prefs.H:181
Fl_Color labelfgcolor() const
Get the default label foreground color.
Definition Fl_Tree_Prefs.H:205
int linespacing() const
Get the line spacing value in pixels.
Definition Fl_Tree_Prefs.H:193
char showcollapse() const
Returns 1 if the collapse icon is enabled, 0 if not.
Definition Fl_Tree_Prefs.H:281
int marginleft() const
Get the left margin's value in pixels.
Definition Fl_Tree_Prefs.H:137
void openchild_marginbottom(int val)
Set the margin below an open child in pixels.
Definition Fl_Tree_Prefs.H:157
int labelmarginleft() const
Get the label's left margin value in pixels.
Definition Fl_Tree_Prefs.H:185
void connectorcolor(Fl_Color val)
Set the connector color used for tree connection lines.
Definition Fl_Tree_Prefs.H:225
void showroot(int val)
Set if the root item should be shown or not.
Definition Fl_Tree_Prefs.H:322
void labelbgcolor(Fl_Color val)
Set the default label background color.
Definition Fl_Tree_Prefs.H:217
void labelfgcolor(Fl_Color val)
Set the default label foreground color.
Definition Fl_Tree_Prefs.H:209
int connectorwidth() const
Get the tree connection line's width.
Definition Fl_Tree_Prefs.H:241
int usericonmarginleft() const
Get the user icon's left margin value in pixels.
Definition Fl_Tree_Prefs.H:177
void connectorwidth(int val)
Set the tree connection line's width.
Definition Fl_Tree_Prefs.H:245
Fl_Image * closeicon() const
Gets the default 'close' icon Returns the Fl_Image* of the icon, or 0 if none.
Definition Fl_Tree_Prefs.H:262
int openchild_marginbottom() const
Get the margin below an open child in pixels.
Definition Fl_Tree_Prefs.H:153
void selectbox(Fl_Boxtype val)
Set the default selection box's box drawing style to val.
Definition Fl_Tree_Prefs.H:311
void labelsize(Fl_Fontsize val)
Set the label's size in pixels to val.
Definition Fl_Tree_Prefs.H:129
void showcollapse(int val)
Set if we should show the collapse icon or not.
Definition Fl_Tree_Prefs.H:292
void connectorstyle(Fl_Tree_Connector val)
Set the connector style.
Definition Fl_Tree_Prefs.H:233
Fl_Tree_Sort sortorder() const
Get the default sort order value.
Definition Fl_Tree_Prefs.H:296
Fl_Boxtype selectbox() const
Get the default selection box's box drawing style as an Fl_Boxtype.
Definition Fl_Tree_Prefs.H:307
Fl_Font labelfont() const
Return the label's font.
Definition Fl_Tree_Prefs.H:117