EW_Resize
EW_Resize
ew
1998 12-05
CLASS
EW_Resize - resize information
SYNOPSIS
Class EW_Resize
contains constraints passed from parent widgets to children describing
parameters restricting their size.
The widgets themselves have matching contraints,
of potentially different values.
Currently, the resulting size of the widget is decided as follows.
- The prefered size of the widget, if set, is used as a pending size.
- Otherwise, the prefered size of the resize is used, if set.
- Otherwise, the current size is retained as the pending size.
- The pending size is bounded by the minimums of the widget and the resize.
- The pending size is also bounded by internal minimums.
- The pending size is bounded by the maximums of the widget and the resize.
- The resulting size is used as the new size.
The X and Y dimensions are determined independently.
Negative values are interpreted as "don't care" (ie. not set).
PUBLIC MEMBER FUNCTIONS
Inheritance from class
EW_SizeConstraints
void SetRecursive(long set)
void GetRecursive(void)
Set/Get recursion. A resize with a recursion set to FALSE will cause
EW_WidgetList::Resize()
to return without taking any action.
void Print(long hexcode)
Print debugging information about the resize description object.
The hexcode is printed with the message in hex.
It could be used, for example, to indicate which window the event occurred in.
FILES
ew/resize.h Resize header file
SEE ALSO
EW_intro(3),
EW_SizeConstraints(3),
EW_Widget(3)