SwitchButtonDrawingArea Class Reference

#include <manager_gui.h>

Inheritance diagram for SwitchButtonDrawingArea:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setStatus (bool active)
 SwitchButtonDrawingArea (int side_length=50, std::string title=std::string("NOT_SET"))
virtual ~SwitchButtonDrawingArea ()

Protected Member Functions

virtual bool on_draw (const Cairo::RefPtr< Cairo::Context > &cr)

Protected Attributes

bool active_
std::string active_text_
std::string not_active_text_
int side_length_
std::string title_text_

Detailed Description

Definition at line 1123 of file manager_gui.h.


Constructor & Destructor Documentation

SwitchButtonDrawingArea::SwitchButtonDrawingArea ( int  side_length = 50,
std::string  title = std::string("NOT_SET") 
) [inline]

Definition at line 1126 of file manager_gui.h.

virtual SwitchButtonDrawingArea::~SwitchButtonDrawingArea (  )  [inline, virtual]

Definition at line 1137 of file manager_gui.h.


Member Function Documentation

virtual bool SwitchButtonDrawingArea::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr  )  [inline, protected, virtual]

Definition at line 1150 of file manager_gui.h.

void SwitchButtonDrawingArea::setStatus ( bool  active  )  [inline]

Definition at line 1140 of file manager_gui.h.


Member Data Documentation

Definition at line 1258 of file manager_gui.h.

std::string SwitchButtonDrawingArea::active_text_ [protected]

Definition at line 1260 of file manager_gui.h.

Definition at line 1261 of file manager_gui.h.

Definition at line 1262 of file manager_gui.h.

std::string SwitchButtonDrawingArea::title_text_ [protected]

Definition at line 1259 of file manager_gui.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


atlascar_base
Author(s): Jorge Almeida, Miguel Oliveira, Pedro Salvado, Andre Oliveira and Pedro Pinheiro
autogenerated on Wed Jul 23 04:34:35 2014