Mercurial > hg > octave-lojdl
changeset 8268:738c5d74fcfc
fltk_backend.cc (figure_manager::default_size): increase default window size
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Oct 2008 22:06:36 -0400 |
parents | f2f1d07a7f0f |
children | 37afdd1d1bf8 |
files | src/ChangeLog src/DLD-FUNCTIONS/fltk_backend.cc |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -21,6 +21,9 @@ (figure_manager::hnd2idx, figure_manager::figprops2idx, figure_manager::figprops2idx, figure_manager::str2idx): Now static. + * DLD-FUNCTIONS/fltk_backend.cc (figure_manager::default_size): + Increase default window size. + * graphics.cc (figure::properties::remove_child): New function. * graphics.h.in: Provide decl.
--- a/src/DLD-FUNCTIONS/fltk_backend.cc +++ b/src/DLD-FUNCTIONS/fltk_backend.cc @@ -668,12 +668,13 @@ return sz; } + // FIXME -- default size should be configurable. void default_size (int& x, int& y, int& w, int& h) { - x = 10; - y = 10; - w = 400; - h = 300; + x = 0; + y = 0; + w = 640; + h = 480; } static int str2idx (const caseless_str clstr)