19 #include <ubit/uelem.hpp> 93 virtual int getDisplayType()
const {
return BLOCK;}
105 virtual int getViews(std::vector<UView*>&)
const;
150 virtual int retrieveRelatedViews(std::vector<UView*>& collating_vector)
const;
163 virtual UView* getViewInImpl(
UView* parent_view);
171 void setViewModes(
int view_modes,
bool);
180 virtual void addViewImpl(
UView*);
181 virtual void initView(
UView* parent_view);
182 virtual void initChildViews(
UElem*);
183 virtual void deleteViewsInside(
const std::vector<UView*>& parent_views);
2D Dimension.
Definition: ugeom.hpp:55
static const UUpdate layoutAndPaint
layout then paint: prefined constant for UUpdate(LAYOUT|PAINT);
Definition: uupdate.hpp:50
Box container.
Definition: ubox.hpp:64
2D Point.
Definition: ugeom.hpp:25
static const UUpdate paint
paint only: prefined constant for UUpdate(PAINT);
Definition: uupdate.hpp:47
Definition: uappliImpl.hpp:40
void update()
updates object graphics.
Definition: ubox.hpp:96
virtual ~UBox()
recursive destructor.
Definition: ubox.hpp:79
virtual void doUpdate(const UUpdate &, UDisp *=null)
updates the layout and/or the paint of this object right now.
Definition: ubox.cpp:415
Display Context.
Definition: udisp.hpp:44
virtual UBox * toBox()
dynamic cast: returns this object if it derives from UBox and null otherwise.
Definition: ubox.hpp:85
virtual const UBox * toBox() const
dynamic cast: returns this object if it derives from UBox and null otherwise.
Definition: ubox.hpp:86
virtual UView * getViewContaining(const UView &child_view) const
returns the view of this box that contains 'child_view'.
Definition: ubox.cpp:223
specifies how to update UElem, UBox, UWin objects and subclasses.
Definition: uupdate.hpp:25
UBox(UArgs args=UArgs::none)
creates a new UBox; The argument can either be a single object pointer or reference, or a list of object pointers or references separated by + operators, example:
Definition: ubox.cpp:43
lightweight general purpose container.
Definition: uelem.hpp:44
virtual int getViewCount() const
returns the number of views of this box.
Definition: ubox.cpp:130
Argument list (for passing arguments to constructor or add functions).
Definition: uargs.hpp:43
virtual UView * getView(int n=0) const
returns the Nth view of this box (see DETAILS).
virtual void destructs()
unlinks the object from its parents and destroys its children.
Definition: uelem.cpp:109
static UStyle * createStyle()
static function that returns the style of this class (see details!).
Definition: ubox.cpp:50
Box View.
Definition: uview.hpp:65
Definition: uhardfont.hpp:31
static const UArgs none
the empty arglist.
Definition: uargs.hpp:45
virtual int getViews(std::vector< UView *> &) const
returns the views of this box (see DETAILS).
Definition: ubox.cpp:136
Base class for windows and menus.
Definition: uwin.hpp:47
virtual UView * getFirstViewInside(const UView &parent_view) const
returns the first box view that is contained in 'parent_view'.
Definition: ubox.cpp:230
Compiled Object Style.
Definition: ustyle.hpp:44