Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::PhysicalComponents::Popup Class Reference

#include <Popup.h>

Inheritance diagram for Teddy::PhysicalComponents::Popup:

Inheritance graph
[legend]
Collaboration diagram for Teddy::PhysicalComponents::Popup:

Collaboration graph
[legend]
List of all members.

Public Methods

 Popup (std::string name, Area *closed, Area *open)
 Constructor. More...

 Popup (std::string name, Area *open)
virtual ~Popup ()
 Destructor. More...

AreagetCurrent ()
void setClosed (Area *closed)
void setOpen (Area *open)
bool isOpen ()
bool open ()
bool close ()

Protected Attributes

bool is_open
Areaarea_closed
Areaarea_open

Constructor & Destructor Documentation

Teddy::PhysicalComponents::Popup::Popup std::string    name,
Area   closed,
Area   open
 

Constructor.

Definition at line 49 of file Popup.cpp.

References area_closed, area_open, Teddy::PhysicalComponents::Area::insert, is_open, and open.

Teddy::PhysicalComponents::Popup::Popup std::string    name,
Area   open
 

Definition at line 59 of file Popup.cpp.

References area_closed, area_open, Teddy::PhysicalComponents::Area::insert, is_open, Teddy::MixIn::Named::name, and open.

Teddy::PhysicalComponents::Popup::~Popup   [virtual]
 

Destructor.

Definition at line 72 of file Popup.cpp.


Member Function Documentation

bool Teddy::PhysicalComponents::Popup::close  
 

Definition at line 111 of file Popup.cpp.

References area_closed, area_open, Teddy::PhysicalComponents::Area::insert, is_open, Teddy::PhysicalComponents::Area::parent, Teddy::PhysicalComponents::Area::remove, and Teddy::PhysicalComponents::Area::window_manager.

Area * Teddy::PhysicalComponents::Popup::getCurrent  
 

Definition at line 103 of file Popup.cpp.

References area_closed, and area_open.

bool Teddy::PhysicalComponents::Popup::isOpen  
 

Definition at line 85 of file Popup.cpp.

References is_open.

bool Teddy::PhysicalComponents::Popup::open  
 

Definition at line 90 of file Popup.cpp.

References area_closed, area_open, Teddy::PhysicalComponents::Area::insert, is_open, Teddy::PhysicalComponents::Area::parent, Teddy::PhysicalComponents::Area::remove, and Teddy::PhysicalComponents::Area::window_manager.

Referenced by Popup, and setOpen.

void Teddy::PhysicalComponents::Popup::setClosed Area   closed
 

Definition at line 76 of file Popup.cpp.

References area_closed.

void Teddy::PhysicalComponents::Popup::setOpen Area   open
 

Definition at line 80 of file Popup.cpp.

References area_open, and open.


Member Data Documentation

Area* Teddy::PhysicalComponents::Popup::area_closed [protected]
 

Definition at line 56 of file Popup.h.

Referenced by close, getCurrent, open, Popup, and setClosed.

Area* Teddy::PhysicalComponents::Popup::area_open [protected]
 

Definition at line 57 of file Popup.h.

Referenced by close, getCurrent, open, Popup, and setOpen.

bool Teddy::PhysicalComponents::Popup::is_open [protected]
 

Definition at line 55 of file Popup.h.

Referenced by close, isOpen, open, and Popup.


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