Ylva And Malin
Namespaces | Functions
imgui-SFML.cpp File Reference
#include "imgui-SFML.h"
#include <imgui.h>
#include <SFML/OpenGL.hpp>
#include <SFML/Graphics/Color.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Window/Event.hpp>
#include <SFML/Window/Touch.hpp>
#include <SFML/Window/Window.hpp>
#include <cmath>
#include <cstddef>
#include <cassert>
Include dependency graph for imgui-SFML.cpp:

Namespaces

 ImGui
 
 ImGui::SFML
 

Functions

void ImGui::SFML::Init (sf::RenderWindow &window, bool loadDefaultFont)
 
void ImGui::SFML::Init (sf::Window &window, sf::RenderTarget &target, bool loadDefaultFont)
 
void ImGui::SFML::ProcessEvent (const sf::Event &event)
 
void ImGui::SFML::Update (sf::RenderWindow &window, sf::Time dt)
 
void ImGui::SFML::Update (sf::Window &window, sf::RenderTarget &target, sf::Time dt)
 
void ImGui::SFML::Update (const sf::Vector2i &mousePos, const sf::Vector2f &displaySize, sf::Time dt)
 
void ImGui::SFML::Render (sf::RenderTarget &target)
 
void ImGui::SFML::Shutdown ()
 
void ImGui::SFML::UpdateFontTexture ()
 
sf::Texture & ImGui::SFML::GetFontTexture ()
 
void ImGui::SFML::SetActiveJoystickId (unsigned int joystickId)
 
void ImGui::SFML::SetJoytickDPadThreshold (float threshold)
 
void ImGui::SFML::SetJoytickLStickThreshold (float threshold)
 
void ImGui::SFML::SetJoystickMapping (int action, unsigned int joystickButton)
 
void ImGui::SFML::SetDPadXAxis (sf::Joystick::Axis dPadXAxis, bool inverted)
 
void ImGui::SFML::SetDPadYAxis (sf::Joystick::Axis dPadYAxis, bool inverted)
 
void ImGui::SFML::SetLStickXAxis (sf::Joystick::Axis lStickXAxis, bool inverted)
 
void ImGui::SFML::SetLStickYAxis (sf::Joystick::Axis lStickYAxis, bool inverted)
 
void ImGui::Image (const sf::Texture &texture, const sf::Color &tintColor, const sf::Color &borderColor)
 
void ImGui::Image (const sf::Texture &texture, const sf::Vector2f &size, const sf::Color &tintColor, const sf::Color &borderColor)
 
void ImGui::Image (const sf::Texture &texture, const sf::FloatRect &textureRect, const sf::Color &tintColor, const sf::Color &borderColor)
 
void ImGui::Image (const sf::Texture &texture, const sf::Vector2f &size, const sf::FloatRect &textureRect, const sf::Color &tintColor, const sf::Color &borderColor)
 
void ImGui::Image (const sf::Sprite &sprite, const sf::Color &tintColor, const sf::Color &borderColor)
 
void ImGui::Image (const sf::Sprite &sprite, const sf::Vector2f &size, const sf::Color &tintColor, const sf::Color &borderColor)
 
bool ImGui::ImageButton (const sf::Texture &texture, const int framePadding, const sf::Color &bgColor, const sf::Color &tintColor)
 
bool ImGui::ImageButton (const sf::Texture &texture, const sf::Vector2f &size, const int framePadding, const sf::Color &bgColor, const sf::Color &tintColor)
 
bool ImGui::ImageButton (const sf::Sprite &sprite, const int framePadding, const sf::Color &bgColor, const sf::Color &tintColor)
 
bool ImGui::ImageButton (const sf::Sprite &sprite, const sf::Vector2f &size, const int framePadding, const sf::Color &bgColor, const sf::Color &tintColor)
 
void ImGui::DrawLine (const sf::Vector2f &a, const sf::Vector2f &b, const sf::Color &color, float thickness)
 
void ImGui::DrawRect (const sf::FloatRect &rect, const sf::Color &color, float rounding, int rounding_corners, float thickness)
 
void ImGui::DrawRectFilled (const sf::FloatRect &rect, const sf::Color &color, float rounding, int rounding_corners)