Pioneer
Classes | Namespaces | Typedefs | Functions | Variables
Gui.cpp File Reference
#include "Gui.h"
#include "graphics/Graphics.h"
#include "graphics/RenderState.h"
#include "graphics/Renderer.h"
#include "libs.h"
Include dependency graph for Gui.cpp:

Classes

struct  Gui::TimerSignal
 
struct  Gui::Theme::TPos
 
struct  Gui::Theme::TIndentBuffers
 
struct  Gui::Theme::TOutdentBuffers
 

Namespaces

 Gui
 
 Gui::RawEvents
 
 Gui::Theme
 
 Gui::Theme::Colors
 

Typedefs

typedef std::map< vector2f, TIndentBuffers > Gui::Theme::MapIndentBuffers
 
typedef std::map< vector2f, TOutdentBuffers > Gui::Theme::MapOutdentBuffers
 

Functions

void Gui::HandleSDLEvent (SDL_Event *event)
 
sigc::connection Gui::AddTimer (Uint32 ms, sigc::slot< void > slot)
 
void Gui::Draw ()
 
void Gui::Init (Graphics::Renderer *renderer, int screen_width, int screen_height, int ui_width, int ui_height)
 
void Gui::Uninit ()
 
void Gui::Theme::DrawHollowRect (const float size[2], const Color &color, Graphics::RenderState *state)
 
Graphics::IndexBufferGui::Theme::CreateIndexBuffer (const Uint32 indices[], const Uint32 IndexStart, const Uint32 IndexEnd, const Uint32 NumIndices)
 
void Gui::Theme::DrawIndent (const float size[2], Graphics::RenderState *state)
 
void Gui::Theme::DrawOutdent (const float size[2], Graphics::RenderState *state)
 

Variables

sigc::signal< void, MouseMotionEvent * > Gui::RawEvents::onMouseMotion
 
sigc::signal< void, MouseButtonEvent * > Gui::RawEvents::onMouseDown
 
sigc::signal< void, MouseButtonEvent * > Gui::RawEvents::onMouseUp
 
sigc::signal< void, SDL_KeyboardEvent * > Gui::RawEvents::onKeyDown
 
sigc::signal< void, SDL_KeyboardEvent * > Gui::RawEvents::onKeyUp
 
sigc::signal< void, SDL_JoyAxisEvent * > Gui::RawEvents::onJoyAxisMotion
 
sigc::signal< void, SDL_JoyButtonEvent * > Gui::RawEvents::onJoyButtonDown
 
sigc::signal< void, SDL_JoyButtonEvent * > Gui::RawEvents::onJoyButtonUp
 
sigc::signal< void, SDL_JoyHatEvent * > Gui::RawEvents::onJoyHatMotion
 
const Color Gui::Theme::Colors::bg (64, 94, 161)
 
const Color Gui::Theme::Colors::bgShadow (20, 31, 54)
 
const Color Gui::Theme::Colors::tableHeading (178, 178, 255)