|
ubit
|
Zooming conditions (for semantic zooming). More...
#include <uzoom.hpp>
Public Member Functions | |
| UInscale (float _smin, float _smax) | |
| void | setMin (float _smin) |
| void | setMax (float _smax) |
| float | getMin () const |
| float | getMax () const |
| virtual bool | verifies (const UUpdateContext &, const UElem &) const |
Public Member Functions inherited from ubit::UCond | |
| virtual bool | operator== (const UCond &c) const |
| virtual bool | operator!= (const UCond &c) const |
| virtual const UCond * | matches (const UCond &c) const |
| virtual UOn * | toOn () |
| virtual const UOn * | toOn () const |
| virtual void | setParentModes (UElem &parent) const |
Zooming conditions (for semantic zooming).
objects prefixed by this range condition will only appear or be effective if the scale (see UScale) is inside this range. example:
uinscale(0.75,2.50) / ubox(UColor::red + "Hello World!")
this box will only be visible is the scale is between 0.75 and 2.50
!Warning: UInscale objects must not be deleted!
Note: UInscale was called USrange in older versions of the Ubit toolkit.
1.8.12