17 #ifndef _upalette_hpp_ 18 #define _upalette_hpp_ 1 19 #include <ubit/ubox.hpp> 27 static UStyle* createStyle();
46 UPos& pos() {
return *ppos;}
47 USize& size() {
return *psize;}
48 UScale& contentScale() {
return *pcontent_scale;}
50 void setPosModel(
UPos*);
UBox & resizeBtn()
returns the resize button (not show by default, resizeBtn().show() to make it appear).
Definition: upalette.hpp:43
UElem & controls()
returns the controls area (located in the right hand part of the titlebar()).
Definition: upalette.hpp:37
Widget position.
Definition: uboxgeom.hpp:91
Box container.
Definition: ubox.hpp:64
UElem & title()
returns the title (located in the left hand part of the titlebar()).
Definition: upalette.hpp:34
lightweight general purpose container.
Definition: uelem.hpp:44
Smart Pointer for UObject instances (.
Definition: uobject.hpp:365
Argument list (for passing arguments to constructor or add functions).
Definition: uargs.hpp:43
UBox & titleBar()
returns the title bar (which includes a title() and a controls() area).
Definition: upalette.hpp:40
Position Control: interactive control of the position of a widget.
Definition: uboxgeom.hpp:162
movable palette box (internal frame).
Definition: upalette.hpp:24
Definition: uhardfont.hpp:31
static const UArgs none
the empty arglist.
Definition: uargs.hpp:45
UBox & content()
returns the content (the working area of the palette).
Definition: upalette.hpp:31
Widget scale.
Definition: uboxgeom.hpp:31
Widget Size.
Definition: uboxgeom.hpp:228
Compiled Object Style.
Definition: ustyle.hpp:44