-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.h
More file actions
39 lines (30 loc) · 1.13 KB
/
App.h
File metadata and controls
39 lines (30 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
Copyright (c) 2024-2025 Toksisitee. All rights reserved.
This work is licensed under the terms of the MIT license.
For a copy, refer to license.md or https://opensource.org/licenses/MIT
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
*/
#pragma once
#include <string>
#include "D3DApp.h"
class CEditorApp : public CD3DApp
{
public:
CEditorApp() {};
~CEditorApp() {};
void Run() override;
void InitializeImGui();
bool IsPopDirectorySet() const { return !m_sPopDirectory.empty(); }
void SetPopDirectory( const std::string& sDir ) { m_sPopDirectory = sDir; }
void SetExportDirectory( const std::string& sDir ) { m_sExportDirectory = sDir; }
const std::string& GetPopDirectory() const { return m_sPopDirectory; }
const std::string& GetExportDirectory() const { return m_sExportDirectory; }
protected:
LRESULT WndProc( UINT uMsg, WPARAM wParam, LPARAM lParam ) override;
private:
std::string m_sPopDirectory;
std::string m_sExportDirectory;
};
extern CEditorApp g_Editor;