I thought about this problem a while ago and came to the conclusion that  
there is two issues instead of one:

1 - Widget resizing.
2 - Widget Scaling.

They are not the same, let's explain:
  We have an FLTK application with resizable internal widgets and we want  
to execute it on a big screen with high defininition  probably will want  
to SCALE the window to have a good font sizes first and then on resize it  
as usual to make a better use of the total availlable space.

We don't need to remember the original sizes at widget level, a better  
place is at group level like it is now and add the font sizes to this  
structure (look at this thread  
http://www.fltk.org/newsgroups.php?s1+gfltk.development+v5+T0+Qst_widget_sizes).

My propose is to have something like this.

When resizing a window with mouse or keyboard if CTRL (or SHIFT or both)  
is pressed then the operation to perform is SCALE otherwise the normal  
RESIZE.

If we want to remember the last window state we should save the scale  
factor.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to