____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

ButtonStyle Class Reference

#include <ui.h>

List of all members.

Public Member Functions

 ButtonStyle ()

Public Attributes

int Width
 Button width.
int Height
 Button height.
CFontFont
 Font.
std::string TextNormalColor
 Normal text color.
std::string TextReverseColor
 Reverse text color.
TextAlignment TextAlign
 Text alignment.
int TextX
 Text X location.
int TextY
 Text Y location.
ButtonStyleProperties Default
 Default button properties.
ButtonStyleProperties Hover
 Hover button properties.
ButtonStyleProperties Clicked
 Clicked button properties.


Detailed Description

Definition at line 89 of file ui.h.


Constructor & Destructor Documentation

ButtonStyle::ButtonStyle (  )  [inline]

Definition at line 91 of file ui.h.


Member Data Documentation

Button width.

Definition at line 94 of file ui.h.

Referenced by CclDefineButtonStyle(), DrawMenuButton(), and OnButton().

Button height.

Definition at line 95 of file ui.h.

Referenced by CclDefineButtonStyle(), DrawMenuButton(), and OnButton().

Font.

Definition at line 96 of file ui.h.

Referenced by CclDefineButtonStyle(), and DrawMenuButton().

Normal text color.

Definition at line 97 of file ui.h.

Referenced by CclDefineButtonStyle(), and DrawMenuButton().

Reverse text color.

Definition at line 98 of file ui.h.

Referenced by CclDefineButtonStyle(), and DrawMenuButton().

Text alignment.

Definition at line 99 of file ui.h.

Referenced by CclDefineButtonStyle().

Text X location.

Definition at line 100 of file ui.h.

Referenced by CclDefineButtonStyle().

Text Y location.

Definition at line 101 of file ui.h.

Referenced by CclDefineButtonStyle().

Default button properties.

Definition at line 102 of file ui.h.

Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().

Hover button properties.

Definition at line 103 of file ui.h.

Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().

Clicked button properties.

Definition at line 104 of file ui.h.

Referenced by CclDefineButtonStyle(), DrawMenuButton(), and CIcon::DrawUnitIcon().


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

Generated on Sat Feb 21 00:28:23 2009 for Bos Wars by  doxygen 1.5.6