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

Teddy::PhysicalComponents::Dock Class Reference

Vertical docking component. More...

#include <Dock.h>

Inheritance diagram for Teddy::PhysicalComponents::Dock:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 Dock (std::string name, const int axis=DOCK_VERTICAL)
 Constructor. More...

virtual ~Dock ()
virtual void beginSize (const Vector2 &ref)
virtual void callSize (Area *a)
virtual void endSize ()
virtual void beginPlace (const Rect &ref)
virtual void callPlace (Area *a)

Protected Attributes

Vector2 cursor_start
Vector2 cursor_end
int axis_max
int axis_sum

Detailed Description

Vertical docking component.

Definition at line 42 of file Dock.h.


Constructor & Destructor Documentation

Teddy::PhysicalComponents::Dock::Dock std::string    name,
const int    axis = DOCK_VERTICAL
 

Constructor.

Definition at line 45 of file Dock.cpp.

References axis_max, axis_sum, Teddy::SysSupport::dmsg, Teddy::PhysicalComponents::Area::event_ordering, Teddy::SysSupport::M_WML, and Teddy::PhysicalComponents::Area::separate_self.

Teddy::PhysicalComponents::Dock::~Dock   [virtual]
 

Definition at line 58 of file Dock.cpp.


Member Function Documentation

void Teddy::PhysicalComponents::Dock::beginPlace const Rect &    ref [virtual]
 

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 86 of file Dock.cpp.

References cursor_end, cursor_start, Teddy::SysSupport::dmsg, Teddy::MixIn::Named::getName, Teddy::PhysicalComponents::Area::in_rect, Teddy::MixIn::Options::isEnabled, Teddy::SysSupport::M_WML, Teddy::PhysicalComponents::Area::offset_free_size_relative, Teddy::PhysicalComponents::Area::offset_pixels, Teddy::PhysicalComponents::Area::offset_self_size_relative, Teddy::PhysicalComponents::Area::rect, Teddy::PhysicalComponents::Area::size, and Teddy::PhysicalComponents::Area::style.

void Teddy::PhysicalComponents::Dock::beginSize const Vector2 &    ref [virtual]
 

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 62 of file Dock.cpp.

References axis_max, axis_sum, Teddy::SysSupport::dmsg, Teddy::SysSupport::M_WML, Teddy::PhysicalComponents::Area::size, and Teddy::PhysicalComponents::Area::style.

void Teddy::PhysicalComponents::Dock::callPlace Area   a [virtual]
 

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 102 of file Dock.cpp.

References axis_sum, cursor_end, cursor_start, Teddy::SysSupport::dmsg, Teddy::SysSupport::M_WML, Rect, and Teddy::PhysicalComponents::Area::style.

void Teddy::PhysicalComponents::Dock::callSize Area   a [virtual]
 

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 69 of file Dock.cpp.

References axis_max, axis_sum, Teddy::SysSupport::dmsg, Teddy::SysSupport::M_WML, MAX, Teddy::PhysicalComponents::Area::size, and Teddy::PhysicalComponents::Area::style.

void Teddy::PhysicalComponents::Dock::endSize   [virtual]
 

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 79 of file Dock.cpp.

References axis_max, Teddy::SysSupport::dmsg, Teddy::SysSupport::M_WML, Teddy::PhysicalComponents::Area::size, and Teddy::PhysicalComponents::Area::style.


Member Data Documentation

int Teddy::PhysicalComponents::Dock::axis_max [protected]
 

Definition at line 56 of file Dock.h.

Referenced by beginSize, callSize, Dock, and endSize.

int Teddy::PhysicalComponents::Dock::axis_sum [protected]
 

Definition at line 57 of file Dock.h.

Referenced by beginSize, callPlace, callSize, and Dock.

Vector2 Teddy::PhysicalComponents::Dock::cursor_end [protected]
 

Definition at line 55 of file Dock.h.

Referenced by beginPlace, and callPlace.

Vector2 Teddy::PhysicalComponents::Dock::cursor_start [protected]
 

Definition at line 54 of file Dock.h.

Referenced by beginPlace, and callPlace.


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