$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Classes | |
class | ActionListener |
class | BasicContainer |
class | ClipRectangle |
class | Color |
class | DefaultFont |
class | Exception |
class | FocusHandler |
class | Font |
class | Graphics |
class | Gui |
class | Image |
class | ImageFont |
class | ImageLoader |
class | Input |
class | Key |
class | KeyInput |
class | KeyListener |
class | ListModel |
class | MouseInput |
class | MouseListener |
class | Rectangle |
class | SDLGraphics |
class | SDLImageLoader |
class | SDLInput |
class | Widget |
class | Button |
class | CheckBox |
class | Container |
class | DropDown |
class | Icon |
class | Label |
class | ListBox |
class | RadioButton |
class | ScrollArea |
class | Slider |
class | TextBox |
class | TextField |
class | Window |
Functions | |
static int | GetNext (const std::string &text, int curpos) |
const Color | SDLgetPixel (SDL_Surface *surface, int x, int y) |
void | SDLputPixel (SDL_Surface *surface, int x, int y, const Color &color) |
unsigned int | SDLAlpha16 (unsigned int src, unsigned int dst, unsigned char a) |
unsigned int | SDLAlpha32 (unsigned int src, unsigned int dst, unsigned char a) |
void | SDLputPixelAlpha (SDL_Surface *surface, int x, int y, const Color &color) |
static int | FindNext (const std::string &text, int curpos) |
static int gcn::FindNext | ( | const std::string & | text, | |
int | curpos | |||
) | [static] |
static int gcn::GetNext | ( | const std::string & | text, | |
int | curpos | |||
) | [static] |
unsigned int gcn::SDLAlpha16 | ( | unsigned int | src, | |
unsigned int | dst, | |||
unsigned char | a | |||
) | [inline] |
Blends two 16 bit colors together.
src | the source color. | |
dst | the destination color. | |
a | alpha. |
unsigned int gcn::SDLAlpha32 | ( | unsigned int | src, | |
unsigned int | dst, | |||
unsigned char | a | |||
) | [inline] |
Blends two 32 bit colors together.
src | the source color. | |
dst | the destination color. | |
a | alpha. |
const Color gcn::SDLgetPixel | ( | SDL_Surface * | surface, | |
int | x, | |||
int | y | |||
) | [inline] |
Checks a pixels color of an SDL_Surface.
surface | an SDL_Surface where to check for a pixel color. | |
x | the x coordinate on the surface. | |
y | the y coordinate on the surface. |
void gcn::SDLputPixel | ( | SDL_Surface * | surface, | |
int | x, | |||
int | y, | |||
const Color & | color | |||
) | [inline] |
Puts a pixel on an SDL_Surface.
surface | an SDL_Surface to put the pixel on | |
x | the x coordinate on the surface. | |
y | the y coordinate on the surface. | |
color | the color the pixel should be in. |
void gcn::SDLputPixelAlpha | ( | SDL_Surface * | surface, | |
int | x, | |||
int | y, | |||
const Color & | color | |||
) | [inline] |
Puts a pixel on an SDL_Surface with alpha
surface | an SDL_Surface to put the pixel on | |
x | the x coordinate on the surface. | |
y | the y coordinate on the surface. | |
color | the color the pixel should be in. |