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

ButtonAction Class Reference

Action of button. More...

#include <interface.h>

List of all members.


Public Member Functions

 ButtonAction ()

Public Attributes

int Pos
int Level
 button position in the grid
ButtonCmd Action
 requires button level
int Value
 command on button press
std::string ValueStr
 extra value for command
ButtonCheckFunc Allowed
 keep original value string
std::string AllowStr
 Check if this button is allowed.
std::string UnitMask
 argument for allowed
IconConfig Icon
 for which units is it available
int Key
 icon to display
std::string Hint
 alternative on keyboard
std::string Description
 tip textz
SoundConfig CommentSound
 description shown on status bar (optional)
std::string ButtonCursor
 Sound comment used when you press the button.

Detailed Description

Action of button.

Constructor & Destructor Documentation

ButtonAction::ButtonAction (  )  [inline]


Member Data Documentation

button position in the grid

requires button level

command on button press

extra value for command

keep original value string

Check if this button is allowed.

argument for allowed

for which units is it available

icon to display

std::string ButtonAction::Hint

alternative on keyboard

tip textz

description shown on status bar (optional)

Sound comment used when you press the button.


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