19 #include <ubit/ucond.hpp> 20 #include <ubit/ubox.hpp> 21 #include <ubit/uctlmenu.hpp> 59 void openMenuOn(
int event_mask);
86 void openMenuOn(
int event_mask);
113 UInscale(
float _smin,
float _smax) : smin(_smin), smax(_smax) {}
115 void setMin(
float _smin) {smin = _smin;}
116 void setMax(
float _smax) {smax = _smax;}
117 float getMin()
const {
return smin;}
118 float getMax()
const {
return smax;}
125 inline UInscale& uinscale(
float smin,
float smax) {
return *
new UInscale(smin,smax);}
Widget position.
Definition: uboxgeom.hpp:91
Zooming conditions (for semantic zooming).
Definition: uzoom.hpp:110
Box container.
Definition: ubox.hpp:64
UBox & viewport()
returns the viewport that is controlled by this zoompane.
Definition: uzoom.hpp:40
Zoom pane for zooming and panning children.
Definition: uzoom.hpp:34
Base class for Ubit conditions.
Definition: ucond.hpp:29
UScale & viewportScale()
returns the scale attribute of the viewport.
Definition: uzoom.hpp:48
lightweight general purpose container.
Definition: uelem.hpp:44
UPos & viewportPos()
returns the position attribute of the viewport.
Definition: uzoom.hpp:43
UZoommenu & zoommenu()
returns the menu that controls this zoompane.
Definition: uzoom.hpp:53
Argument list (for passing arguments to constructor or add functions).
Definition: uargs.hpp:43
Definition: uupdatecontext.hpp:32
Definition: uhardfont.hpp:31
static const UArgs none
the empty arglist.
Definition: uargs.hpp:45
Widget scale.
Definition: uboxgeom.hpp:31
Panning (Callback object for UCtlmenu items).
Definition: uctlmenu.hpp:140
mouse events
Definition: uevent.hpp:172
Centred zoom (Callback object for UCtlmenu items).
Definition: uctlmenu.hpp:122