-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Resize config window - Tidy header.h and UI window - Add helpmarker to imgui_custom.h - Run sim window Remove int / operator from Vector3.h Fix LiveLogViewer and make it work as expected - Minor changes/Fixes Create Globals file
- Loading branch information
Showing
13 changed files
with
971 additions
and
785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Created by Conni Bilham on 26/01/2023. | ||
// | ||
|
||
#include "Globals.h" | ||
|
||
Globals* globals = new Globals(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// Created by Conni Bilham on 26/01/2023. | ||
// | ||
#pragma once | ||
|
||
#ifndef GALAXYSIMULATIONUI_GLOBALS_H | ||
#define GALAXYSIMULATIONUI_GLOBALS_H | ||
|
||
#include "imgui.h" | ||
#include <string> | ||
|
||
struct Globals { | ||
bool show_demo_window = true; | ||
bool show_another_window = true; | ||
|
||
std::string* active_log_file = new std::string("initial"); | ||
ImVec4 clear_color = ImVec4(0.45f, 0.55f, 0.60f, 1.00f); | ||
|
||
void* logViewer = nullptr; | ||
}; | ||
|
||
extern Globals* globals; | ||
|
||
#endif //GALAXYSIMULATIONUI_GLOBALS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.