LGI  1.0
Lliurex Graphic Interface
Public Member Functions | Public Attributes | List of all members
net::lliurex::lgi::Widget Class Referenceabstract

#include <widget.hpp>

Public Member Functions

 Widget ()
 
virtual void Draw (cairo_t *cairo)=0
 
virtual void OnMouseClick (MouseClickEvent *event)
 
virtual void OnMouseDoubleClick (MouseDoubleClickEvent *event)
 
virtual void OnMouseMove (MouseMoveEvent *event)
 
virtual void OnMouseDown (MouseDownEvent *event)
 
virtual void OnMouseUp (MouseUpEvent *event)
 
virtual void OnMouseEnter (MouseEnterEvent *event)
 
virtual void OnMouseExit (MouseExitEvent *event)
 
virtual void OnDrag (DragEvent *event)
 
virtual void OnDrop (DropEvent *event)
 
virtual void OnMessage (MessageEvent *event)
 
virtual void OnGotFocus (GotFocusEvent *event)
 
virtual void OnLostFocus (LostFocusEvent *event)
 

Public Attributes

float x
 
float y
 
float width
 
float height
 
bool mouse_over
 
bool mouse_press
 
bool focus
 
std::string name
 
unsigned int tag
 

Constructor & Destructor Documentation

net::lliurex::lgi::Widget::Widget ( )

Member Function Documentation

virtual void net::lliurex::lgi::Widget::Draw ( cairo_t *  cairo)
pure virtual
virtual void net::lliurex::lgi::Widget::OnDrag ( DragEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnDrop ( DropEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnGotFocus ( GotFocusEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnLostFocus ( LostFocusEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMessage ( MessageEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseClick ( MouseClickEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseDoubleClick ( MouseDoubleClickEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseDown ( MouseDownEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseEnter ( MouseEnterEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseExit ( MouseExitEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseMove ( MouseMoveEvent event)
virtual
virtual void net::lliurex::lgi::Widget::OnMouseUp ( MouseUpEvent event)
virtual

Member Data Documentation

bool net::lliurex::lgi::Widget::focus
float net::lliurex::lgi::Widget::height
bool net::lliurex::lgi::Widget::mouse_over
bool net::lliurex::lgi::Widget::mouse_press
std::string net::lliurex::lgi::Widget::name
unsigned int net::lliurex::lgi::Widget::tag
float net::lliurex::lgi::Widget::width
float net::lliurex::lgi::Widget::x
float net::lliurex::lgi::Widget::y

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