This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
1,217 additions
and
16 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
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 |
---|---|---|
@@ -1,13 +1,29 @@ | ||
#pragma once | ||
|
||
#include "imgui.h" | ||
#include <array> | ||
#include <string> | ||
|
||
struct Star | ||
{ | ||
float x, y; | ||
float vel_x, vel_y; | ||
}; | ||
|
||
struct MainWindow | ||
{ | ||
MainWindow(); | ||
void update(); | ||
|
||
private: | ||
void draw_cores(); | ||
void draw_about(); | ||
void draw_settings(); | ||
void draw_stars(ImVec2 center, float radius); | ||
|
||
float selected_y = 0.0f; | ||
int selected_tab = 0; | ||
std::string core_directory; | ||
std::array<Star, 50> stars; | ||
bool fancy_gui; | ||
}; |
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.