Skip to content

Commit

Permalink
ImGui-SFML v2.2
Browse files Browse the repository at this point in the history
This release is an accumulation small things which are important to release:
* ImGui >= 1.80 is now required. ImGui added imgui_tables.cpp and some
of the functions were deprecated. It's important to stay up-to-date
* Fixed Image/ImageButton and sf::RenderTexture problems (texture was
shown upside down)
* Removed an overload for Image/ImageButton which took sf::Texture and
sf::IntRect textureRect. You should use sf::Sprite now.
* Added sf::Cursor::Hand (thanks, @DarkContact)
* Restored C++03 support
* Fix MSVC warnings (thanks, @andrew-gresyk, @plutphil)

Also I'd like to thank @pinam45 for making CI for ImGui-SFML. Also
thanks to @sabidib, @dubgron and @ComicSansMS for improving/fixing
builds and CMake scripts.
  • Loading branch information
eliasdaler committed Feb 23, 2021
1 parent e493d41 commit 43aae2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1)

project(imgui_sfml
LANGUAGES CXX
VERSION 2.1
VERSION 2.2
)

# In CMake 3.12+ this policy will automatically take the ImGui_ROOT and SFML_ROOT environment variables
Expand Down Expand Up @@ -57,7 +57,7 @@ if(NOT IMGUI_DIR)
endif()

# This uses FindImGui.cmake provided in ImGui-SFML repo for now
find_package(ImGui 1.68 REQUIRED)
find_package(ImGui 1.80 REQUIRED)

# these headers will be installed alongside ImGui-SFML
set(IMGUI_PUBLIC_HEADERS
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ImGui-SFML v2.1
ImGui-SFML v2.2
=======
[![build Actions Status](https://github.com/eliasdaler/imgui-sfml/workflows/build/badge.svg)](https://github.com/eliasdaler/imgui-sfml/actions)

Expand All @@ -12,7 +12,7 @@ Dependencies
-----

* [SFML](https://github.com/SFML/SFML) >= 2.5.0
* [Dear ImGui](https://github.com/ocornut/imgui) >= 1.68
* [Dear ImGui](https://github.com/ocornut/imgui) >= 1.80

Contributing
-----
Expand Down

0 comments on commit 43aae2d

Please sign in to comment.