Skip to content

Commit

Permalink
Fixed formatting and includes.
Browse files Browse the repository at this point in the history
Updated version to 0.5.4.
  • Loading branch information
qoala101 committed Jul 20, 2023
1 parent 34adb01 commit b5107be
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

project(
"ponc"
VERSION 0.5.3
VERSION 0.5.4
LANGUAGES CXX
)

Expand Down
1 change: 1 addition & 0 deletions include/core/core_diagram.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <vector>

#include "core_area.h"
Expand Down
1 change: 0 additions & 1 deletion include/core/core_link.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <imgui_node_editor.h>

#include <optional>
#include <variant>
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions include/core/core_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#define VH_PONC_CORE_PROJECT_H_

#include <memory>
#include <string>
#include <string_view>
#include <vector>

#include "core_connection.h"
Expand Down
1 change: 1 addition & 0 deletions include/core/core_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <imgui.h>

#include <memory>
#include <optional>
#include <vector>

#include "core_connection.h"
Expand Down
1 change: 1 addition & 0 deletions include/coreui/coreui_project.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <string>
#include <vector>

#include "core_connection.h"
#include "core_diagram.h"
#include "core_i_family_group.h"
#include "core_id_ptr.h"
Expand Down
3 changes: 1 addition & 2 deletions include/draw/diagram/popup/draw_i_popup.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
#ifndef VH_PONC_DRAW_I_POPUP_H_
#define VH_PONC_DRAW_I_POPUP_H_

#include <imgui.h>

#include <optional>
#include <string>
#include <string_view>

#include "cpp_callbacks.h"
Expand Down
2 changes: 0 additions & 2 deletions include/draw/draw_help_marker.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef VH_PONC_DRAW_HELP_MARKER_H_
#define VH_PONC_DRAW_HELP_MARKER_H_

#include <imgui.h>

#include <string_view>

namespace vh::ponc::draw {
Expand Down
1 change: 1 addition & 0 deletions include/draw/view/draw_connections_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <optional>
#include <string>

#include "core_connection.h"
#include "coreui_project.h"
#include "draw_i_view.h"
#include "draw_string_buffer.h"
Expand Down
1 change: 1 addition & 0 deletions src/core/core_diagram.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <imgui_node_editor.h>

#include <algorithm>
#include <exception>
#include <iterator>
#include <memory>
#include <string>
Expand Down
2 changes: 0 additions & 2 deletions src/core/core_project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#include <imgui_node_editor.h>

#include <algorithm>
#include <exception>
#include <string>
#include <utility>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions src/coreui/coreui_diagram.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@
#include <optional>
#include <stack>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <variant>
#include <vector>

#include "core_area.h"
#include "core_connection.h"
#include "core_diagram.h"
#include "core_i_family.h"
#include "core_i_node.h"
Expand Down
5 changes: 2 additions & 3 deletions src/coreui/coreui_project.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@
#include "coreui_project.h"

#include <crude_json.h>
#include <imgui.h>
#include <imgui_node_editor.h>

#include <algorithm>
#include <cstdlib>
#include <filesystem>
#include <functional>
#include <iterator>
#include <memory>
#include <random>
#include <optional>
#include <string>
#include <type_traits>
#include <utility>
Expand Down
6 changes: 2 additions & 4 deletions src/draw/diagram/popup/draw_edit_link_popup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@

#include <algorithm>
#include <iterator>
#include <memory>
#include <regex>
#include <string>
#include <utility>
#include <optional>
#include <type_traits>
#include <variant>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/draw/dialog/draw_about_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void AboutDialog::Draw() {

if (ImGui::BeginPopupModal("About", &open_requested_,
ImGuiWindowFlags_AlwaysAutoResize)) {
ImGui::TextUnformatted("Passive Optical Network Calculator 0.5.3");
ImGui::TextUnformatted("Passive Optical Network Calculator 0.5.4");
ImGui::Separator();

if (ImGui::BeginTable("About", 2)) {
Expand Down
2 changes: 1 addition & 1 deletion src/draw/draw_string_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include "draw_string_buffer.h"

#include <imgui.h>
#include <imgui.h> // IWYU pragma: keep
#include <imgui_internal.h>

#include <algorithm>
Expand Down
7 changes: 3 additions & 4 deletions src/draw/view/draw_connections_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,19 @@
#include "draw_connections_view.h"

#include <imgui.h>
#include <imgui_node_editor.h>

#include <limits>
#include <optional>
#include <string>
#include <vector>

#include "core_connection.h"
#include "core_diagram.h"
#include "core_project.h"
#include "coreui_diagram.h"
#include "cpp_assert.h"
#include "core_settings.h"
#include "draw_disable_if.h"
#include "draw_help_marker.h"
#include "draw_rename_widget.h"
#include "draw_settings_table_row.h"
#include "draw_table_flags.h"
#include "style_default_colors.h"

Expand Down
3 changes: 2 additions & 1 deletion src/json/json_connection_serializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#include "json_connection_serializer.h"

#include <crude_json.h>
#include <imgui.h>

#include <memory>

#include "core_connection.h"
#include "json_color_serializer.h"
Expand Down
1 change: 1 addition & 0 deletions src/json/json_link_serializer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <imgui_node_editor.h>

#include <memory>
#include <type_traits>
#include <variant>

#include "core_connection.h"
Expand Down

0 comments on commit b5107be

Please sign in to comment.