summaryrefslogtreecommitdiff
path: root/src/pnmcurvedit.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 23:18:23 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 23:18:23 +0200
commit3896ace46c70522300356c4ed8d45787b4ef10d4 (patch)
tree0c5a6c99fe228ce1107c33878d157fb72f2ff5a5 /src/pnmcurvedit.cxx
parent04bb6de8cb74f0a021abea4cc370aa8e28352d35 (diff)
fix window size
Diffstat (limited to 'src/pnmcurvedit.cxx')
-rw-r--r--src/pnmcurvedit.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pnmcurvedit.cxx b/src/pnmcurvedit.cxx
index 3dca6b6..c6a974b 100644
--- a/src/pnmcurvedit.cxx
+++ b/src/pnmcurvedit.cxx
@@ -64,14 +64,13 @@ stdin_cb(int fd, void *d) {
int
main(int argc, char **argv) {
- Fl_Double_Window window(800, 600, "pnmcurvedit");
- ce = new CurveEditor(0, 0, 800, 600);
+ Fl_Double_Window window(300, 300, "pnmcurvedit");
+ ce = new CurveEditor(0, 0, 300, 300);
ce->add_point(0.0, 0.0);
ce->add_point(0.5, 0.5);
ce->add_point(1.0, 1.0);
ce->callback(editor_cb, NULL);
- window.resizable(ce);
window.show(argc, argv);
Fl::add_fd(0, FL_READ, stdin_cb);