summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);