Better organization.
This commit is contained in:
		
					parent
					
						
							
								c7b6b87005
							
						
					
				
			
			
				commit
				
					
						45c92db758
					
				
			
		
					 8 changed files with 26 additions and 20 deletions
				
			
		| 
						 | 
				
			
			@ -2,8 +2,11 @@
 | 
			
		|||
#define BILLYSHEET_GUI_DATA_HPP
 | 
			
		||||
 | 
			
		||||
#include "character_sheet.hpp"
 | 
			
		||||
#include <filesystem>
 | 
			
		||||
#include <spdlog/spdlog.h>
 | 
			
		||||
 | 
			
		||||
namespace fs = std::filesystem;
 | 
			
		||||
 | 
			
		||||
namespace gui {
 | 
			
		||||
	class Window;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -13,6 +16,9 @@ namespace gui {
 | 
			
		|||
 | 
			
		||||
		character::CharacterSheet billy;
 | 
			
		||||
 | 
			
		||||
		fs::path save_path{ "./" };
 | 
			
		||||
		std::string filename{ "character_sheet.json" };
 | 
			
		||||
 | 
			
		||||
	public:
 | 
			
		||||
		GuiData() = delete;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include "imgui_impl_opengl3_loader.h"
 | 
			
		||||
#include <GLFW/glfw3.h>
 | 
			
		||||
#include "GLFW/glfw3.h"
 | 
			
		||||
 | 
			
		||||
namespace gui {
 | 
			
		||||
	class Window final {
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue