mirror of
https://github.com/barkeser2002/flower.git
synced 2026-09-25 12:46:03 +03:00
17 lines
349 B
C++
17 lines
349 B
C++
#pragma once
|
|
#include "UICommon.h"
|
|
|
|
namespace Flower
|
|
{
|
|
struct ImGuiContext
|
|
{
|
|
void init();
|
|
void release();
|
|
void newFrame();
|
|
void updateAfterSubmit();
|
|
};
|
|
|
|
// UI manager host on renderer, lifetime same with renderer.
|
|
// We alway keep one renderer module, so don't care about singleton problem.
|
|
using UIManager = Singleton<ImGuiContext>;
|
|
} |