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

Teddy::PhysicalComponents::Style Class Reference

Style definition for physical components. More...

#include <Style.h>

Collaboration diagram for Teddy::PhysicalComponents::Style:

Collaboration graph
[legend]
List of all members.

Public Methods

 Style ()
 Constructor. More...

virtual ~Style ()
 Destructor. More...


Public Attributes

Font * large_font
Font * medium_font
Font * small_font
Font * window_title_font
Font * group_title_font
Font * monospace_font
Font * basic_font
Font * button_font
Frameframe
Fillbackground
Teddy::Maths::TVector2< float > border
Teddy::Maths::TVector2< float > padding
Color hilight_color
Color shadow_color
Color fill_color
Color background_color
Color text_color
Color border_color
Color selection_background_color
Color selection_foreground_color
Color border_color_fill
Color border_color_hilight
Color border_color_shadow
Teddy::Maths::TVector2< float > glyph_size

Static Public Attributes

Style * default_style = NULL

Detailed Description

Style definition for physical components.

Style defines physical appearence for physical components. Each area has associated style. Style defines colorscheme, frame, fill, size, font etc. Physical components should not store these properties themselves in any case; instead they should consider expanding Style.

Currently Style does not implement much anything..

Style might actually use tags?

Definition at line 58 of file Style.h.


Constructor & Destructor Documentation

Teddy::PhysicalComponents::Style::Style  
 

Constructor.

Definition at line 41 of file Style.cpp.

References background_color, basic_font, border, border_color, border_color_fill, border_color_hilight, border_color_shadow, button_font, fill_color, glyph_size, group_title_font, hilight_color, large_font, medium_font, monospace_font, padding, selection_background_color, selection_foreground_color, shadow_color, small_font, text_color, Vector2, and window_title_font.

Teddy::PhysicalComponents::Style::~Style   [virtual]
 

Destructor.

Definition at line 68 of file Style.cpp.


Member Data Documentation

Fill* Teddy::PhysicalComponents::Style::background
 

Definition at line 74 of file Style.h.

Color Teddy::PhysicalComponents::Style::background_color
 

Definition at line 80 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::basic_font
 

Definition at line 71 of file Style.h.

Referenced by Style.

Teddy::Maths::TVector2<float> Teddy::PhysicalComponents::Style::border
 

Definition at line 75 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::border_color
 

Definition at line 82 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::border_color_fill
 

Definition at line 85 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::border_color_hilight
 

Definition at line 86 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::border_color_shadow
 

Definition at line 87 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::button_font
 

Definition at line 72 of file Style.h.

Referenced by Style.

Style * Teddy::PhysicalComponents::Style::default_style = NULL [static]
 

Definition at line 37 of file Style.cpp.

Color Teddy::PhysicalComponents::Style::fill_color
 

Definition at line 79 of file Style.h.

Referenced by Style.

Frame* Teddy::PhysicalComponents::Style::frame
 

Definition at line 73 of file Style.h.

Teddy::Maths::TVector2<float> Teddy::PhysicalComponents::Style::glyph_size
 

Definition at line 88 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::group_title_font
 

Definition at line 69 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::hilight_color
 

Definition at line 77 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::large_font
 

Definition at line 65 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::medium_font
 

Definition at line 66 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::monospace_font
 

Definition at line 70 of file Style.h.

Referenced by Style.

Teddy::Maths::TVector2<float> Teddy::PhysicalComponents::Style::padding
 

Definition at line 76 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::selection_background_color
 

Definition at line 83 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::selection_foreground_color
 

Definition at line 84 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::shadow_color
 

Definition at line 78 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::small_font
 

Definition at line 67 of file Style.h.

Referenced by Style.

Color Teddy::PhysicalComponents::Style::text_color
 

Definition at line 81 of file Style.h.

Referenced by Style.

Font* Teddy::PhysicalComponents::Style::window_title_font
 

Definition at line 68 of file Style.h.

Referenced by Style.


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