Skip to content

Commit d7769ee

Browse files
committed
Merge branch 'develop'
2 parents 0844f0c + e5db9ed commit d7769ee

File tree

13 files changed

+25
-18
lines changed

13 files changed

+25
-18
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ set(META_AUTHOR_DOMAIN "https://github.com/abdes/asap")
5858
set(META_AUTHOR_MAINTAINER "Abdessattar Sassi (abde.sassi gmail account)")
5959
set(META_VERSION_MAJOR "0")
6060
set(META_VERSION_MINOR "9")
61-
set(META_VERSION_PATCH "6")
61+
set(META_VERSION_PATCH "7")
6262
set(META_VERSION_REVISION "${GIT_REV}")
6363
set(META_VERSION "${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}")
6464
set(META_NAME_VERSION "${META_PROJECT_NAME} v${META_VERSION} (${META_VERSION_REVISION})")

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
| Windows | [![Windows][21]][20] |
1212

1313
[0]: https://travis-ci.org/abdes/asap_app_imgui
14-
[9]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/9
15-
[10]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/10
16-
[11]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/11
17-
[12]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/12
18-
[13]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/13
14+
[9]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/9
15+
[10]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/10
16+
[11]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/11
17+
[12]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/12
18+
[13]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/13
1919
[20]: https://ci.appveyor.com/project/abdes/asap-app-imgui
20-
[21]: https://ci.appveyor.com/api/projects/status/qoaae14rw3cyivgq/branch/master?svg=true
20+
[21]: https://ci.appveyor.com/api/projects/status/qoaae14rw3cyivgq/branch/develop?svg=true
2121

2222
# Starter project with minimum necessary functionality
2323

common

Submodule common updated from 4de2212 to 4d3983f

imgui

Submodule imgui updated from 6c3b156 to 6edb496

main/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,13 @@ asap_executable(
136136
${compile_options}
137137
)
138138

139+
# Hacking the include directories when building th executable simply because of
140+
# Imgui backend files including "imgui.h" literally like that. We add the imgui
141+
# directory to the includes so that it will work.
142+
#
143+
# In other files, such as the ones we provide, we don't do that shit like that.
144+
# Instead, we include files from Imgui library as <imgui/xxxxx>
145+
target_include_directories(${target} PRIVATE ${CMAKE_SOURCE_DIR}/imgui/imgui)
139146

140147
# ------------------------------------------------------------------------------
141148
# Tests

main/src/imgui_runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include <GLFW/glfw3.h>
1818

1919
#include <imgui/imgui.h>
20-
#include <glfw/imgui_impl_glfw.h>
21-
#include <glfw/imgui_impl_opengl3.h>
20+
#include <imgui/backends/imgui_impl_glfw.h>
21+
#include <imgui/backends/imgui_impl_opengl3.h>
2222
// clang-format on
2323

2424
#include <cpptoml.h>

main/src/shader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Shader
4343
vertexCode = vShaderStream.str();
4444
fragmentCode = fShaderStream.str();
4545
}
46-
catch (std::ifstream::failure e)
46+
catch (std::ifstream::failure& e)
4747
{
4848
std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ" << std::endl;
4949
}

main/src/ui/log/sink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ namespace asap {
261261
}
262262
ImGui::PopStyleVar();
263263

264-
if (!scroll_lock_ && scroll_to_bottom_) ImGui::SetScrollHere(1.0f);
264+
if (!scroll_lock_ && scroll_to_bottom_) ImGui::SetScrollHereY(1.0f);
265265
scroll_to_bottom_ = false;
266266
ImGui::EndChild();
267267

main/src/ui/style/theme.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void Theme::LoadDefaultStyle() {
483483
style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.00f, 0.40f, 1.00f, 1.00f);
484484
style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.75f, 0.42f, 0.02f, 0.35f);
485485
style.Colors[ImGuiCol_PopupBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.94f);
486-
style.Colors[ImGuiCol_ModalWindowDarkening] = ImVec4(0.06f, 0.06f, 0.06f, 0.35f);
486+
style.Colors[ImGuiCol_ModalWindowDimBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.35f);
487487
// clang-format on
488488
}
489489

third_party/catch2

Submodule catch2 updated 59 files

0 commit comments

Comments
 (0)