summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gipfel.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index e1a12d1..8afc1ce 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -345,7 +345,12 @@ int main(int argc, char** argv) {
exit(1);
}
- Fl::scheme("plastic");
+ Fl::get_system_colors();
+ if (getenv("FLTK_SCHEME")) {
+ Fl::scheme(NULL);
+ } else {
+ Fl::scheme("plastic");
+ }
control_win = create_control_window();