_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | Public Attributes | List of all members
ButtonStyle Class Reference

#include <ui.h>

Public Member Functions

 ButtonStyle ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ ButtonStyle()

ButtonStyle::ButtonStyle ( )
inline

Member Data Documentation

◆ Clicked

ButtonStyleProperties ButtonStyle::Clicked

Hover button properties.

◆ Default

ButtonStyleProperties ButtonStyle::Default

Text Y location.

◆ Font

CFont* ButtonStyle::Font

Button height.

◆ Height

int ButtonStyle::Height

Button width.

◆ Hover

ButtonStyleProperties ButtonStyle::Hover

Default button properties.

◆ TextAlign

TextAlignment ButtonStyle::TextAlign

Reverse text color.

◆ TextNormalColor

std::string ButtonStyle::TextNormalColor

Font.

◆ TextReverseColor

std::string ButtonStyle::TextReverseColor

Normal text color.

◆ TextX

int ButtonStyle::TextX

Text alignment.

◆ TextY

int ButtonStyle::TextY

Text X location.

◆ Width

int ButtonStyle::Width

The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.