Skip to content

Commit

Permalink
add os versoin to GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
epezent committed Feb 1, 2020
1 parent 9787f14 commit ef21b13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gui/src/Custom.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include <mahi/ImGui.hpp>
#include <mahi/imgui_custom.hpp>
#include <imgui_internal.h>
#include <vector>
#include <string>
Expand Down
3 changes: 3 additions & 0 deletions gui/src/Debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ void Debugger::update()
ImGui::Text("CPU Load: "); ImGui::SameLine(); ImGui::Text("%.2f %%", cpuTotal * 100);
ImGui::Text("Session Load: "); ImGui::SameLine(); ImGui::Text("%.2f %%", cpuSession * 100);
ImGui::Separator();
ImGui::Text("Operating System: ");
ImGui::SameLine();
ImGui::Text("%s %s", System::osName().c_str(), System::osVersion().c_str());
ImGui::Text("Syntacts Version: ");
ImGui::SameLine();
ImGui::Text(tact::syntactsVersion().c_str());
Expand Down
2 changes: 1 addition & 1 deletion gui/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "Gui.hpp"

int main(int argc, char const *argv[])
{
{
Gui gui;
gui.run();
return 0;
Expand Down

0 comments on commit ef21b13

Please sign in to comment.