The Pedigree Project  0.1
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
WObject Class Referenceabstract

#include <winman.h>

+ Inheritance diagram for WObject:
+ Collaboration diagram for WObject:

Public Types

enum  Type { Container, Window, Root }
 

Public Member Functions

virtual Type getType () const =0
 
virtual void resize (ssize_t horizDistance, ssize_t vertDistance, WObject *pChild=0)=0
 
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
 
virtual void norefresh ()
 Don't refresh the context on every reposition.
 
virtual void yesrefresh ()
 Refresh context on every reposition.
 
virtual void render (cairo_t *cr)
 

Protected Member Functions

void setDimensions (PedigreeGraphics::Rect &rt)
 
PedigreeGraphics::RectgetDimensions ()
 
virtual void refreshContext ()
 Refresh our graphical context, called after reposition.
 

Private Attributes

PedigreeGraphics::Rect m_Dimensions
 

Detailed Description

WObject: base class for a window manager object.

Definition at line 119 of file winman.h.


The documentation for this class was generated from the following files: