Classes | |
| class | ActionListener |
| Listener of action events from Widgets. More... | |
| class | AllegroGraphics |
| Allegro implementation of Graphics. More... | |
| class | AllegroImage |
| Allegro implementation of Image. More... | |
| class | AllegroImageLoader |
| Allegro implementation of ImageLoader. More... | |
| class | AllegroInput |
| Allegro implementation of the Input. More... | |
| class | BasicContainer |
| Containers base class. More... | |
| class | ClipRectangle |
| A rectangle used when dealing with clipping. More... | |
| class | Color |
| Represents a color with red, green, blue and alpha components. More... | |
| class | DefaultFont |
| A font only capable of drawing rectangles. More... | |
| class | Exception |
| An exception containing a message, a file and a line number. More... | |
| class | FocusHandler |
| Used to keep track of widget focus. More... | |
| class | Font |
| Holder of a font. More... | |
| class | GLUTInput |
| GLUT implementation of Input. More... | |
| class | Graphics |
| Used for drawing graphics. More... | |
| class | Gui |
| Gui core class. More... | |
| class | Image |
| Holds an image. More... | |
| class | ImageFont |
| A font using an image containing the font data. More... | |
| class | ImageLoader |
| ImageLoaders base class. More... | |
| class | Input |
| Inputs base class. More... | |
| class | Key |
| Represents a key or a character. More... | |
| class | KeyInput |
| Internal class representing keyboard input. More... | |
| class | KeyListener |
| Key listeners base class. More... | |
| class | ListModel |
| Represents a list. More... | |
| class | MouseInput |
| Internal class representing mouse input. More... | |
| class | MouseListener |
| Mouse listeners base class. More... | |
| class | OpenGLGraphics |
| OpenGL implementation of the Graphics. More... | |
| class | OpenGLImage |
| OpenGL implementation of Image. More... | |
| class | OpenGLSDLImageLoader |
| OpenGL ImageLoader that loads images with SDL. More... | |
| class | Rectangle |
| Represents a rectangle. More... | |
| class | SDLGraphics |
| SDL implementation of the Graphics. More... | |
| class | SDLImage |
| SDL implementation of Image. More... | |
| class | SDLImageLoader |
| SDL implementation of ImageLoader. More... | |
| class | SDLInput |
| SDL implementation of Input. More... | |
| class | Widget |
| Widget base class. More... | |
| class | Button |
| A regular button. More... | |
| class | CheckBox |
| A regular CheckBox. More... | |
| class | Container |
| A container able to contain other Widgets. More... | |
| class | DropDown |
| A drop down box from which you can select different values. More... | |
| class | Icon |
| An Icon for displaying images. More... | |
| class | Label |
| A label for displaying text. More... | |
| class | ListBox |
| A ListBox displaying a list in which elemets can be selected. More... | |
| class | RadioButton |
| A RadioButton which can be grouped into RadioButtons groups. More... | |
| class | ScrollArea |
| A ScrollArea in which another Widget can be added. More... | |
| class | Slider |
| A slider able to slide between different values. More... | |
| class | TextBox |
| A TextBox in which you can write and/or display a lines of text. More... | |
| class | TextField |
| A text field in which you can write or display a line of text. More... | |
| class | Window |
| A movable window which can conatin another Widget. More... | |
| class | XGraphics |
Functions | |
| const Color | SDLgetPixel (SDL_Surface *surface, int x, int y) |
| Checks a pixels color of an SDL_Surface. | |
| void | SDLputPixel (SDL_Surface *surface, int x, int y, const Color &color) |
| Puts a pixel on an SDL_Surface. | |
| unsigned int | SDLAlpha32 (unsigned int src, unsigned int dst, unsigned char a) |
| Blends two 32 bit colors together. | |
| unsigned short | SDLAlpha16 (unsigned short src, unsigned short dst, unsigned char a, const SDL_PixelFormat *f) |
| Blends two 16 bit colors together. | |
| void | SDLputPixelAlpha (SDL_Surface *surface, int x, int y, const Color &color) |
| Puts a pixel on an SDL_Surface with 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. |
Definition at line 74 of file sdlpixel.hpp.
Referenced by gcn::SDLImage::getPixel().
| void gcn::SDLputPixel | ( | SDL_Surface * | surface, | |
| int | x, | |||
| int | y, | |||
| const Color & | color | |||
| ) | [inline] |
Puts a pixel on an SDL_Surface.
| x | the x coordinate on the surface. | |
| y | the y coordinate on the surface. | |
| color | the color the pixel should be in. |
Definition at line 126 of file sdlpixel.hpp.
References gcn::Color::b, gcn::Color::g, and gcn::Color::r.
Referenced by gcn::SDLGraphics::drawLine(), gcn::SDLGraphics::drawPoint(), and gcn::SDLImage::putPixel().
| 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. |
Definition at line 176 of file sdlpixel.hpp.
Referenced by gcn::SDLGraphics::drawHLine(), gcn::SDLGraphics::drawVLine(), and SDLputPixelAlpha().
| unsigned short gcn::SDLAlpha16 | ( | unsigned short | src, | |
| unsigned short | dst, | |||
| unsigned char | a, | |||
| const SDL_PixelFormat * | f | |||
| ) | [inline] |
Blends two 16 bit colors together.
| src | the source color. | |
| dst | the destination color. | |
| a | alpha. |
Definition at line 192 of file sdlpixel.hpp.
Referenced by SDLputPixelAlpha().
| void gcn::SDLputPixelAlpha | ( | SDL_Surface * | surface, | |
| int | x, | |||
| int | y, | |||
| const Color & | color | |||
| ) | [inline] |
Puts a pixel on an SDL_Surface with alpha.
| x | the x coordinate on the surface. | |
| y | the y coordinate on the surface. | |
| color | the color the pixel should be in. |
Definition at line 221 of file sdlpixel.hpp.
References gcn::Color::a, gcn::Color::b, gcn::Color::g, gcn::Color::r, SDLAlpha16(), and SDLAlpha32().
Referenced by gcn::SDLGraphics::drawLine(), gcn::SDLGraphics::drawPoint(), and gcn::SDLGraphics::fillRectangle().
1.4.7