[olympic/studio] Fix imguiutil.hpp name, add StudioContext::tctx
This commit is contained in:
@ -6,6 +6,8 @@
|
||||
|
||||
#include <ox/event/signal.hpp>
|
||||
|
||||
#include <turbine/context.hpp>
|
||||
|
||||
#include "project.hpp"
|
||||
|
||||
namespace studio {
|
||||
@ -13,6 +15,8 @@ namespace studio {
|
||||
struct StudioContext {
|
||||
class StudioUI *ui = nullptr;
|
||||
Project *project = nullptr;
|
||||
turbine::Context &tctx;
|
||||
inline explicit StudioContext(turbine::Context &pTctx) noexcept: tctx(pTctx) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <studio/context.hpp>
|
||||
#include <studio/editor.hpp>
|
||||
#include <studio/filedialog.hpp>
|
||||
#include <studio/imguiuitl.hpp>
|
||||
#include <studio/imguiutil.hpp>
|
||||
#include <studio/module.hpp>
|
||||
#include <studio/itemmaker.hpp>
|
||||
#include <studio/popup.hpp>
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Copyright 2016 - 2024 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||
*/
|
||||
|
||||
#include <studio/imguiuitl.hpp>
|
||||
#include <studio/imguiutil.hpp>
|
||||
#include <studio/popup.hpp>
|
||||
|
||||
namespace studio {
|
||||
|
Reference in New Issue
Block a user