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

Teddy::PhysicalComponents::Frame Class Reference

Frame decoration area. More...

#include <Frame.h>

Inheritance diagram for Teddy::PhysicalComponents::Frame:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 Frame (const std::string &name)
 Default constructor. More...

virtual ~Frame ()
 Destructor. More...

virtual void drawSelf ()
 Drawing code. More...


Detailed Description

Frame decoration area.

Warning:
Very incomplete
Is frame supposed to be sub- or parent area? Parent area would make sense as container; Sub area would make sense as decoration. In both cases the Frame can contain subareas like title strings and buttons, so ordering should be preself.

Definition at line 47 of file Frame.h.


Constructor & Destructor Documentation

Teddy::PhysicalComponents::Frame::Frame const std::string &    name
 

Default constructor.

Definition at line 41 of file Frame.cpp.

References Teddy::PhysicalComponents::Area::event_ordering, Teddy::PhysicalComponents::Area::fill_base_pixels, Teddy::PhysicalComponents::Area::fill_free_size_relative, Teddy::PhysicalComponents::Area::offset_pixels, Teddy::PhysicalComponents::Area::separate_self, and Vector2.

Teddy::PhysicalComponents::Frame::~Frame   [virtual]
 

Destructor.

Definition at line 53 of file Frame.cpp.


Member Function Documentation

void Teddy::PhysicalComponents::Frame::drawSelf   [virtual]
 

Drawing code.

Reimplemented from Teddy::PhysicalComponents::Area.

Definition at line 59 of file Frame.cpp.

References Teddy::PhysicalComponents::Area::drawBiColRect, Teddy::PhysicalComponents::Area::drawRect, Teddy::PhysicalComponents::Area::size, Teddy::PhysicalComponents::Area::style, and Teddy::Graphics::ViewClient::view.


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