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

Teddy::PhysicalComponents::GradientFill Class Reference

Gradient userinterface component area fill. More...

#include <GradientFill.h>

Inheritance diagram for Teddy::PhysicalComponents::GradientFill:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 GradientFill (const Color &left_top, const Color &right_top, const Color &right_bottom, const Color &left_bottom)
 Default constructor. More...

virtual void drawSelf ()
 Rendering overlay window. More...


Protected Attributes

Color left_top
Color right_top
Color right_bottom
Color left_bottom

Detailed Description

Gradient userinterface component area fill.

Warning:
Very incomplete
Bug:
Destructors missing?

OpenGL displaylists not yet used

Definition at line 44 of file GradientFill.h.


Constructor & Destructor Documentation

Teddy::PhysicalComponents::GradientFill::GradientFill const Color &    left_top,
const Color &    right_top,
const Color &    right_bottom,
const Color &    left_bottom
 

Default constructor.

Definition at line 34 of file GradientFill.cpp.

References left_bottom, left_top, right_bottom, and right_top.


Member Function Documentation

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

Rendering overlay window.

Reimplemented from Teddy::PhysicalComponents::Fill.

Definition at line 44 of file GradientFill.cpp.

References Teddy::Graphics::ViewClient::beginQuads, Teddy::Graphics::ViewClient::color, Teddy::PhysicalComponents::Area::drawVertex, Teddy::Graphics::ViewClient::end, left_bottom, left_top, right_bottom, right_top, Teddy::PhysicalComponents::Area::size, and Teddy::Graphics::ViewClient::view.


Member Data Documentation

Color Teddy::PhysicalComponents::GradientFill::left_bottom [protected]
 

Definition at line 54 of file GradientFill.h.

Referenced by drawSelf, and GradientFill.

Color Teddy::PhysicalComponents::GradientFill::left_top [protected]
 

Definition at line 51 of file GradientFill.h.

Referenced by drawSelf, and GradientFill.

Color Teddy::PhysicalComponents::GradientFill::right_bottom [protected]
 

Definition at line 53 of file GradientFill.h.

Referenced by drawSelf, and GradientFill.

Color Teddy::PhysicalComponents::GradientFill::right_top [protected]
 

Definition at line 52 of file GradientFill.h.

Referenced by drawSelf, and GradientFill.


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