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

Style.h

Go to the documentation of this file.
00001 
00002 /*
00003     TEDDY - General graphics application library
00004     Copyright (C) 1999-2002  Timo Suoranta
00005     tksuoran@cc.helsinki.fi
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU Lesser General Public
00009     License as published by the Free Software Foundation; either
00010     version 2.1 of the License, or (at your option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015     Lesser General Public License for more details.
00016 
00017     You should have received a copy of the GNU Lesser General Public
00018     License along with this library; if not, write to the Free Software
00019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020 
00021     $Id: Style.h,v 1.4 2002/01/11 14:35:03 tksuoran Exp $
00022 */
00023 
00024 
00025 #ifndef TEDDY__PHYSICAL_COMPONENTS__STYLE__H
00026 #define TEDDY__PHYSICAL_COMPONENTS__STYLE__H
00027 
00028 
00029 #include "Teddy/Graphics/Color.h"
00030 #include "Teddy/Maths/Vector2.h"
00031 namespace Teddy {
00032     namespace Graphics { class Font; }
00033 };
00034 using namespace Teddy::Graphics;
00035 
00036 
00037 namespace Teddy              {
00038 namespace PhysicalComponents {
00039 
00040 
00041 class Frame;
00042 class Fill;
00043 
00044 
00058 class Style {
00059 public:
00060     Style();
00061     virtual ~Style();
00062 
00063     static Style *default_style;
00064 
00065     Font    *large_font;
00066     Font    *medium_font;
00067     Font    *small_font;
00068     Font    *window_title_font;
00069     Font    *group_title_font;
00070     Font    *monospace_font;
00071     Font    *basic_font;
00072     Font    *button_font;
00073     Frame   *frame;
00074     Fill    *background;
00075     Teddy::Maths::TVector2<float>  border;
00076     Teddy::Maths::TVector2<float>  padding;
00077     Color    hilight_color;
00078     Color    shadow_color;
00079     Color    fill_color;
00080     Color    background_color;
00081     Color    text_color;
00082     Color    border_color;
00083     Color    selection_background_color;
00084     Color    selection_foreground_color;
00085     Color    border_color_fill;
00086     Color    border_color_hilight;
00087     Color    border_color_shadow;
00088     Teddy::Maths::TVector2<float>  glyph_size;
00089 };
00090 
00091 
00092 };  //  namespace PhysicalComponents
00093 };  //  namespace Teddy
00094 
00095 
00096 #endif  //  TEDDY__PHYSICAL_COMPONENTS__STYLE__H
00097