Simple SFML GUI  0.2a
Static Public Member Functions | List of all members
GUIManager Class Reference

Static Public Member Functions

static bool update (sf::RenderWindow &rw, sf::Vector2f mp=sf::Vector2f(0.f, 0.f), bool pressLeft=false, bool pressRight=false, bool aboveHover=false)
 
static void draw (sf::RenderTarget &target, const sf::RenderStates &states)
 
static size_t drawDebugRectangle (const sf::RectangleShape &rect, size_t ttl=0, const sf::RenderTarget *target=nullptr)
 
static void clearDebugRectangles ()
 
static bool removeDebugRectangle (size_t uid)
 
static void addDialog (const std::shared_ptr< Element > &dialog)
 
static void addWindow (const std::shared_ptr< Element > &window)
 
static bool removeDialog (const sf::String &name)
 
static bool removeWindow (const sf::String &name)
 
static bool removeDialog (const Element *id)
 
static bool removeWindow (const Element *id)
 
static bool dialogExist (const sf::String &name)
 
static bool windowExist (const sf::String &name)
 
static size_t dialogCount ()
 
static size_t windowCount ()
 
static std::pair< size_t, size_t > count ()
 
static bool & getWindowFocus (sf::Window *windowPtr)
 
static void setMainWindow (sf::Window *value)
 
static sf::Mutex & getMainWindowMutex ()
 
static bool setActiveMainWindow (bool active)
 
static void closeApplication ()
 
static void closeWindow (sf::Window *windowPtr)
 
static bool toggleFullscreen (sf::RenderWindow &rw, bool failSafe=true)
 
static bool recreateWindow (sf::RenderWindow &rw, bool failSafe=true)
 
static WindowParameters getParameters (const sf::Window *rw=nullptr)
 
static void setFramerateLimit (sf::Window *rw, size_t limit)
 
static void setVerticalSync (sf::Window *rw, bool sync)
 
static bool setFullScreenResolution (sf::Window *rw, sf::Vector2u size)
 
static sf::VideoMode nextFullScreenMode (sf::RenderWindow &rw)
 
static sf::VideoMode previousFullScreenMode (sf::RenderWindow &rw)
 
static void windowReposition (sf::RenderWindow &rw)
 
static std::shared_ptr< sf::RenderWindow > createWindow (sf::String title, sf::ContextSettings settings=sf::ContextSettings())
 
static void showTooltip (const HaveHover *, const sf::String &text, sf::Vector2f position)
 
static void hideTooltip (const HaveHover *)
 
static PanelgetTooltipPanel ()
 
static TextLabelgetTooltipLabel ()
 
static sf::String getMainWindowTitle ()
 
static sf::Vector2i getWindowDrift ()
 
static void setMaxTooltipWidth (float value)
 

Member Function Documentation

◆ windowExist()

bool GUIManager::windowExist ( const sf::String &  name)
static

TODO


The documentation for this class was generated from the following files: