tmw/src/gui/palette.h File Reference

#include <cstdlib>
#include <string>
#include <vector>
#include <guichan/listmodel.hpp>
#include <guichan/color.hpp>

Go to the source code of this file.

Classes

class  Palette
 Class controlling the game's color palette. More...
struct  Palette::ColorElem

Defines

#define EDEF(a)   a,
#define LASTEDEF(a)   a
#define ECONFIGSTR(a)   Palette::getConfigName(#a),
#define LASTECONFIGSTR(a)   Palette::getConfigName(#a)
#define TEXTENUM(name, def)
#define DEFENUMNAMES(name, def)   const std::string Palette::name ## Names[] = { def(ECONFIGSTR,ECONFIGSTR) "" }
#define GRADIENT_DELAY   40
#define COLOR_TYPE(ENTRY, LASTENTRY)
 List of all colors that are configurable.

Variables

PaletteguiPalette


Define Documentation

#define COLOR_TYPE ( ENTRY,
LASTENTRY   ) 

List of all colors that are configurable.

Definition at line 55 of file palette.h.

#define DEFENUMNAMES ( name,
def   )     const std::string Palette::name ## Names[] = { def(ECONFIGSTR,ECONFIGSTR) "" }

Definition at line 42 of file palette.h.

#define ECONFIGSTR (  )     Palette::getConfigName(#a),

Definition at line 36 of file palette.h.

#define EDEF (  )     a,

Definition at line 34 of file palette.h.

#define GRADIENT_DELAY   40

Definition at line 46 of file palette.h.

#define LASTECONFIGSTR (  )     Palette::getConfigName(#a)

Definition at line 37 of file palette.h.

#define LASTEDEF (  )     a

Definition at line 35 of file palette.h.

#define TEXTENUM ( name,
def   ) 

Value:

enum name { def(EDEF,LASTEDEF) };\
    static const std::string name ## Names[]

Definition at line 39 of file palette.h.


Variable Documentation

Definition at line 178 of file main.cpp.


Generated on Sun Apr 26 17:30:42 2009 for The Mana World by  doxygen 1.5.5