TGUI  v0.6.10
Classes | Enumerations | Functions
tgui Namespace Reference

Namespace that contains all TGUI functions and classes. More...

Classes

class  AnimatedPicture
 Load multiple images and add then behind each other to create a simple animation or even a movie. More...
 
class  Borders
 
class  Button
 
struct  Callback
 
class  CallbackManager
 
class  Canvas
 
class  ChatBox
 
class  Checkbox
 
class  ChildWindow
 Movable Panel with title bar. More...
 
class  ClickableWidget
 
class  Clipboard
 
class  ComboBox
 
class  ConfigFile
 
class  Container
 Parent class for widgets that store multiple widgets. More...
 
class  EditBox
 
class  Grid
 
class  Gui
 
class  GuiContainer
 
class  Knob
 
class  Label
 
class  ListBox
 
class  LoadingBar
 
class  MenuBar
 
class  MessageBox
 
class  Panel
 A static container of widgets. The background color can be solid or transparent. More...
 
class  Picture
 
class  RadioButton
 
class  Scrollbar
 
class  SharedWidgetPtr
 
class  Slider
 
class  Slider2d
 
class  SpinButton
 
class  SpriteSheet
 Load one big image and split it into smaller images so that you can display tiles or play an animation. More...
 
class  Tab
 
class  TextBox
 
struct  Texture
 
struct  TextureData
 
class  TextureManager
 
class  Transformable
 
class  Widget
 The parent class for every widget. More...
 
class  WidgetBorders
 Parent class for every widget that has borders. More...
 

Enumerations

Functions

TGUI_API void enableTabKeyUsage ()
 While tab key usage is enabled (default), pressing tab will focus another widget. More...
 
TGUI_API void disableTabKeyUsage ()
 When disabling the tab key usage, pressing tab will no longer focus another widget. More...
 
TGUI_API void setResourcePath (const std::string &path)
 Set a new resource path. More...
 
TGUI_API const std::string & getResourcePath ()
 Return the resource path. More...
 

Detailed Description

Namespace that contains all TGUI functions and classes.

Enumeration Type Documentation

A list of all widget types.

Function Documentation

TGUI_API void tgui::disableTabKeyUsage ( )

When disabling the tab key usage, pressing tab will no longer focus another widget.

TGUI_API void tgui::enableTabKeyUsage ( )

While tab key usage is enabled (default), pressing tab will focus another widget.

TGUI_API const std::string& tgui::getResourcePath ( )

Return the resource path.

This pathname is placed in front of every filename that is used to load a resource.

Returns
The current resource path
TGUI_API void tgui::setResourcePath ( const std::string &  path)

Set a new resource path.

This pathname is placed in front of every filename that is used to load a resource.

Parameters
pathNew resource path