summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 b5ff265..2e7f63f 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);