{"id":61549,"library":"imgui-sfml","title":"imgui-sfml","description":"ImGui binding for use with SFML.","status":"active","version":"3.0","language":"cpp","source_language":null,"source_url":null,"tags":["imgui","sfml","gui","binding"],"install":[{"cmd":"vcpkg install imgui-sfml","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(imgui_sfml CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE imgui::imgui-sfml)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"imgui-SFML.h","correct":"#include <imgui-SFML.h>"}],"quickstart":{"code":"#include <SFML/Graphics.hpp>\n#include <imgui-SFML.h>\n#include <imgui.h>\n\nint main() {\n    sf::RenderWindow window(sf::VideoMode(800, 600), \"ImGui + SFML\");\n    ImGui::SFML::Init(window);\n    sf::Clock deltaClock;\n    while (window.isOpen()) {\n        sf::Event event;\n        while (window.pollEvent(event)) {\n            ImGui::SFML::ProcessEvent(event);\n            if (event.type == sf::Event::Closed)\n                window.close();\n        }\n        ImGui::SFML::Update(window, deltaClock.restart());\n        ImGui::Begin(\"Hello\");\n        ImGui::Text(\"Hello, world!\");\n        ImGui::End();\n        window.clear();\n        ImGui::SFML::Render(window);\n        window.display();\n    }\n    ImGui::SFML::Shutdown();\n    return 0;\n}","lang":"cpp","description":"Initialize ImGui with SFML, render a simple window."},"warnings":[{"fix":"Ensure compatible versions of SFML and ImGui are used.","message":"Requires both SFML and ImGui as dependencies; version mismatches can cause issues.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'bind':5,13 'gui':12 'imgui':2,4,10 'imgui-sfml':1 'sfml':3,9,11 'use':7","created_at":"2026-06-17T04:55:26.584011+00:00","updated_at":"2026-06-17T04:55:26.584011+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}