_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | Button |
class | CheckBox |
class | ClipRectangle |
class | Color |
class | Container |
class | DefaultFont |
class | DropDown |
class | Exception |
class | FocusHandler |
class | Font |
class | Graphics |
class | Gui |
class | Icon |
class | Image |
class | ImageFont |
class | ImageLoader |
class | Input |
class | Key |
class | KeyInput |
class | KeyListener |
class | Label |
class | ListBox |
class | ListModel |
class | MouseInput |
class | MouseListener |
class | RadioButton |
class | Rectangle |
class | ScrollArea |
class | SDLGraphics |
class | SDLImageLoader |
class | SDLInput |
class | Slider |
class | TextBox |
class | TextField |
class | Widget |
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 |
|
static |
|
inline |
Blends two 16 bit colors together.
src | the source color. |
dst | the destination color. |
a | alpha. |
|
inline |
Blends two 32 bit colors together.
src | the source color. |
dst | the destination color. |
a | alpha. |
|
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. |
Puts a pixel on an SDL_Surface.
@param 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. |
Puts a pixel on an SDL_Surface with alpha
@param 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. |