The Pedigree Project
0.1
|
#include <winman.h>
Public Member Functions | |
RootContainer (size_t w, size_t h) | |
virtual Type | getType () const |
virtual void | resize (ssize_t horizDistance, ssize_t vertDistance, WObject *pChild=0) |
![]() | |
Container (WObject *pParent) | |
Layout | getLayout () const |
void | setLayout (Layout newLayout) |
::Window * | getFocusWindow () const |
void | setFocusWindow (::Window *w) |
void | addChild (WObject *pChild, bool bNoRetile=false) |
void | replaceChild (WObject *pChild, WObject *pNewChild) |
void | insertChild (WObject *pCurrent, WObject *pNewChild) |
void | removeChild (WObject *pChild) |
size_t | getChildCount () const |
WObject * | getChild (size_t n) const |
WObject * | getLeftSibling (const WObject *pChild) const |
WObject * | getRightSibling (const WObject *pChild) const |
WObject * | getLeftObject () const |
WObject * | getRightObject () const |
WObject * | getLeft (const WObject *obj) const |
WObject * | getRight (const WObject *obj) const |
WObject * | getUp (const WObject *obj) const |
WObject * | getDown (const WObject *obj) const |
void | retile () |
WObject * | getParent () const |
void | render (cairo_t *cr) |
virtual void | norefresh () |
Don't refresh the context on every reposition. | |
virtual void | yesrefresh () |
Refresh context on every reposition. | |
![]() | |
void | reposition (size_t x=~0UL, size_t y=~0UL, size_t w=~0UL, size_t h=~0UL) |
void | bump (ssize_t bumpX=0, ssize_t bumpY=0) |
virtual void | resized () |
PedigreeGraphics::Rect | getCopyDimensions () const |
Additional Inherited Members | |
![]() | |
enum | Layout { SideBySide, Stacked } |
![]() | |
enum | Type { Container, Window, Root } |
![]() | |
typedef std::vector< WObject * > | WObjectList_t |
![]() | |
void | setDimensions (PedigreeGraphics::Rect &rt) |
PedigreeGraphics::Rect & | getDimensions () |
virtual void | refreshContext () |
Refresh our graphical context, called after reposition. | |
![]() | |
std::vector< WObject * > | m_Children |
Root container. Can't be resized, holds the first level of children.
|
virtual |
Resize the entire container. A child might ask us to do this if it is resized horizontally and we are tiling Stacked, as it no longer fits inside our container.
Reimplemented from Container.
Definition at line 767 of file objects.cc.
References Container::resize().