|
| static void | Init (Graphics::Renderer *renderer, int real_width, int real_height, int ui_width, int ui_height) |
| |
| static void | Uninit () |
| |
| static void | Draw () |
| |
| static void | AddBaseWidget (Widget *w, int x, int y) |
| |
| static void | RemoveBaseWidget (Widget *w) |
| |
| static void | OnMouseMotion (SDL_MouseMotionEvent *e) |
| |
| static void | OnClick (SDL_MouseButtonEvent *e) |
| |
| static void | OnKeyDown (const SDL_Keysym *sym) |
| |
| static void | OnKeyUp (const SDL_Keysym *sym) |
| |
| static void | OnTextInput (const SDL_TextInputEvent *e) |
| |
| static void | EnterOrtho () |
| |
| static void | LeaveOrtho () |
| |
| static int | GetWidth () |
| |
| static int | GetHeight () |
| |
| static bool | Project (const vector3d &in, vector3d &out) |
| |
| static bool | IsBaseWidget (const Widget *) |
| |
| static void | GetCoords2Pixels (float scale[2]) |
| |
| static const float * | GetCoords2Pixels () |
| |
| static void | SetFocused (Widget *w, bool enableKeyRepeat=false) |
| |
| static void | ClearFocus () |
| |
| static bool | IsFocused (Widget *w) |
| |
| static void | PushFont (RefCountedPtr< Text::TextureFont > font) |
| |
| static void | PushFont (std::string name) |
| |
| static void | PopFont () |
| |
| static RefCountedPtr< Text::TextureFont > | GetFont () |
| |
| static RefCountedPtr< Text::TextureFont > | GetDefaultFont () |
| |
| static float | GetFontHeight (Text::TextureFont *font=0) |
| |
| static float | GetFontDescender (Text::TextureFont *font=0) |
| |
| static void | RenderStringBuffer (RefCountedPtr< Graphics::VertexBuffer > vb, const std::string &s, float xoff, float yoff, const Color &color=Color::WHITE, Text::TextureFont *font=0) |
| |
| static void | RenderMarkupBuffer (RefCountedPtr< Graphics::VertexBuffer > vb, const std::string &s, const Color &color=Color::WHITE, Text::TextureFont *font=0) |
| |
| static void | MeasureString (const std::string &s, float &w, float &h, Text::TextureFont *font=0) |
| |
| static int | PickCharacterInString (const std::string &s, float x, float y, Text::TextureFont *font=0) |
| |
| static void | MeasureCharacterPos (const std::string &s, int charIndex, float &x, float &y, Text::TextureFont *font=0) |
| |
| static Graphics::Renderer * | GetRenderer () |
| |