The Pedigree Project  0.1
Public Member Functions | Private Attributes | List of all members
TestWidget Class Reference
+ Inheritance diagram for TestWidget:
+ Collaboration diagram for TestWidget:

Public Member Functions

 TestWidget (uint32_t rgb)
 
virtual bool render (Rect &rt, Rect &dirty)
 
- Public Member Functions inherited from Widget
uint64_t getHandle () const
 
bool construct (const char *endpoint, const char *title, widgetCallback_t cb, PedigreeGraphics::Rect &dimensions)
 
bool setTitle (const std::string &newTitle)
 
bool redraw (PedigreeGraphics::Rect &rt)
 
bool visibility (bool vis)
 
void destroy ()
 
void * getRawFramebuffer ()
 
int getSocket () const
 

Private Attributes

uint32_t m_Rgb
 

Additional Inherited Members

- Static Public Member Functions inherited from Widget
static void checkForEvents (bool bAsync=false)
 

Detailed Description

Definition at line 28 of file user/applications/uitest/main.cc.

Member Function Documentation

virtual bool TestWidget::render ( Rect rt,
Rect dirty 
)
inlinevirtual

Called to actually render the widget. Would normally be called by the RepaintNeeded handler by application code.

Parameters
rtArea that needs to be rendered.
dirtyObject containing a dirty rectangle for redrawing.
Returns
True if the render succeeded, False otherwise.

Implements Widget.

Definition at line 36 of file user/applications/uitest/main.cc.

References Widget::checkForEvents(), Widget::construct(), Widget::getHandle(), Widget::redraw(), Widget::render(), and Widget::visibility().


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