|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2004-11-17 06:49:01
>
> The data abstraction layer requires some macros, which btw are using
> templates and are type save, but allows you to do more than simple 1:1
> binding.
>
> I've written a new article explaining the interface. A behind the scenes
> look will follow shortly:
>
> http://www.litwindow.com/Library/Articles/rapidui_article_3.htm
>
This sounds very nice in theory...
... But, please implement this:
A dialog with
- two edit boxes (width and height)
- a check box (maintain_ratio)
If maintain_ratio is checked, whatever is typed on width is synchronized
with height, and vice versa (they preserve the original ratio).
If maintain_ration is not checked, witdh and height can be modified
independent of each-other.
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -- v1.5 - tooltips at your fingertips (work for menus too!) + bitmap buttons (work for MessageBox too!) + tab dialogs, hyper links, lite html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk