diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-11-10 21:49:21 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-11-10 21:49:21 +0100 |
commit | 882f738b7595b01f8b4f6b0fc9303233742a59de (patch) | |
tree | 314656c12a56b02e78796c2b614affc9854daedf /src | |
parent | b4e7a300c5947107491a41c130f570ed9fb9e2fb (diff) |
check for FLTK_SCHEME environment variable
Diffstat (limited to 'src')
-rw-r--r-- | src/gipfel.cxx | 7 |
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(); |