Applying the etorres gleam patch. STR #2672.

TODO: Xcode 4 ide needs fl_gleam.cxx added
      Test of Visual Studio IDE mods (which were hand-modified)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2014-02-25 04:24:41 +00:00
parent de7a79afd6
commit c5d5ba1cf5
17 changed files with 86 additions and 5 deletions
+1
View File
@@ -58,6 +58,7 @@ static VN_struct btypes[]=
{FL_PLASTIC_DOWN_BOX,"plastic downbox"},
{FL_GTK_UP_BOX,"GTK up box"},
{FL_GTK_ROUND_UP_BOX,"GTK round up box"},
{FL_GLEAM_UP_BOX,"Gleam up box"},
/* sentinel */
{-1}
};
+2 -2
View File
@@ -62,14 +62,14 @@ public:
schemechoice->add("none");
schemechoice->add("plastic");
schemechoice->add("gtk+");
//schemechoice->add("gleam");
schemechoice->add("gleam");
schemechoice->value(0);
schemechoice->labelfont(FL_HELVETICA_BOLD);
const char *name = Fl::scheme();
if ( name ) {
if ( strcmp(name, "plastic") == 0) { schemechoice->value(1); }
else if ( strcmp(name, "gtk+") == 0) { schemechoice->value(2); }
//else if ( strcmp(name, "gleam") == 0) { schemechoice->value(3); }
else if ( strcmp(name, "gleam") == 0) { schemechoice->value(3); }
}
schemechoice->callback(SchemeChoice_CB, (void*)this);