mirror of https://github.com/fltk/fltk
Add different selection_color()'s and tooltips to scheme test buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9877 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5fda885c03
commit
62ae23272b
|
@ -80,21 +80,28 @@ public:
|
|||
{ Fl_Button* o = new Fl_Button(10, 9, 90, 25, "button");
|
||||
o->box(FL_UP_BOX);
|
||||
o->color((Fl_Color)101);
|
||||
o->tooltip("selection_color() = default");
|
||||
o->labelfont(5);
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(10, 36, 90, 25, "button");
|
||||
o->box(FL_UP_BOX);
|
||||
o->color((Fl_Color)179);
|
||||
o->selection_color(o->color());
|
||||
o->tooltip("selection_color() = color()");
|
||||
o->labelfont(4);
|
||||
o->labelcolor(FL_BACKGROUND2_COLOR);
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(10, 63, 90, 25, "button");
|
||||
o->box(FL_UP_BOX);
|
||||
o->color((Fl_Color)91);
|
||||
o->selection_color(fl_lighter(o->color()));
|
||||
o->tooltip("selection_color() = fl_lighter(color())");
|
||||
} // Fl_Button* o
|
||||
{ Fl_Button* o = new Fl_Button(10, 90, 90, 25, "button");
|
||||
o->box(FL_UP_BOX);
|
||||
o->color(FL_INACTIVE_COLOR);
|
||||
o->selection_color(fl_darker(o->color()));
|
||||
o->tooltip("selection_color() = fl_darker(color())");
|
||||
o->labelcolor(FL_BACKGROUND2_COLOR);
|
||||
} // Fl_Button* o
|
||||
{ Fl_Tabs* o = new Fl_Tabs(10, 120, 320, 215);
|
||||
|
|
Loading…
Reference in New Issue