summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-11-10 20:29:02 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-11-10 20:29:02 +0100
commitfeee956d9b5e56f55dbf5e42638956fff3f8417b (patch)
tree46aac93d3165a33c490ae45094529f9a058343d7 /src
parent8c0a1ec1468540fa204ac29ebac06a74ea1c838c (diff)
switch to "plastic" scheme
Diffstat (limited to 'src')
-rw-r--r--src/gipfel.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 7bec5c6..edd3fd4 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -342,9 +342,15 @@ int main(int argc, char** argv) {
exit(1);
}
+ Fl::scheme("plastic");
+
control_win = create_control_window();
view_win = new Fl_Window(800, 600);
+
+ // The Fl_Group is used to avoid FL_DAMAGE_ALL in Fl_Scroll::position
+ Fl_Group *g = new Fl_Group(0, 0, view_win->w(), view_win->h());
+
scroll = new Fl_Scroll(0, 0, view_win->w(), view_win->h());
gipf = new GipfelWidget(0,0,800,600);