Solve issue #204, wrong default for labelfgcolor()

FL_BLACK changed to FL_FOREGROUND_COLOR as per docs.
This commit is contained in:
Greg Ercolano 2021-03-22 07:58:47 -07:00
parent 62ff323b70
commit d6d1d8afe4
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ Fl_Tree_Prefs::Fl_Tree_Prefs() {
_labelmarginleft = 3;
_widgetmarginleft = 3;
_linespacing = 0;
_labelfgcolor = FL_BLACK;
_labelfgcolor = FL_FOREGROUND_COLOR;
_labelbgcolor = 0xffffffff; // we use this as 'transparent'
_connectorcolor = Fl_Color(43);
_connectorstyle = (Fl_Tree_Connector)Fl::system_driver()->tree_connector_style();