[nostalgia] Update Studio to handle tabs and open directory dialog on Mac, Update core::init
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
|
||||
#include <ox/fs/fs.hpp>
|
||||
|
||||
#include "assetmanager.hpp"
|
||||
|
||||
namespace nostalgia::core {
|
||||
|
||||
class Context;
|
||||
@@ -23,15 +25,19 @@ class Drawer {
|
||||
// User Input Output
|
||||
class Context {
|
||||
public:
|
||||
ox::FileSystem *rom = nullptr;
|
||||
ox::UniquePtr<ox::FileSystem> rom;
|
||||
ox::Vector<Drawer*, 5> drawers;
|
||||
const char *appName = "Nostalgia";
|
||||
#ifndef OX_BARE_METAL
|
||||
AssetManager assetManager;
|
||||
#endif
|
||||
private:
|
||||
void *m_customData = nullptr;
|
||||
void *m_windowerData = nullptr;
|
||||
void *m_rendererData = nullptr;
|
||||
|
||||
public:
|
||||
constexpr Context() noexcept = default;
|
||||
Context() noexcept = default;
|
||||
|
||||
Context(Context &other) noexcept = delete;
|
||||
Context(const Context &other) noexcept = delete;
|
||||
|
||||
Reference in New Issue
Block a user