$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

src/include/icons.h File Reference

#include <string>
#include <map>

Go to the source code of this file.


Classes

class  CIcon
 Icon: rectangle image used in menus. More...
class  IconConfig
 Icon reference (used in config tables). More...

icons.h - The icons headerfile.

#define IconActive   1
#define IconClicked   2
#define IconSelected   4
#define IconDisabled   8
#define IconAutoCast   16
std::map< std::string, CIcon * > Icons
 Vector of all icons.
void InitIcons ()
void LoadIcons ()
 Init icons.
void CleanIcons ()
 Load icons.
void IconCclRegister ()
 Cleanup icons.

Define Documentation

#define IconActive   1

#define IconAutoCast   16

#define IconClicked   2

#define IconDisabled   8

#define IconSelected   4


Function Documentation

void CleanIcons (  ) 

Load icons.

Clean up memory used by the icons.

void IconCclRegister (  ) 

Cleanup icons.

Register CCL features

Register CCL features for icons.

void InitIcons (  ) 

Init the icons.

Add the short name and icon aliases to hash table.

void LoadIcons (  ) 

Init icons.

Load the graphics for the icons.


Variable Documentation

std::map<std::string, CIcon *> Icons

Vector of all icons.

(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.