Resources and utilities sit directly in src. The ImGui windows, wizards, popups and helpers are in ui. Headers that would shadow system ones are renamed: math_util, timestamp, subprocess, localization. Includes are written from src.
18 lines
313 B
C++
18 lines
313 B
C++
#pragma once
|
|
|
|
#include "manager.h"
|
|
#include "localization.h"
|
|
|
|
namespace anm2ed::imgui
|
|
{
|
|
class AutosaveRestore
|
|
{
|
|
PopupHelper popup{PopupHelper(LABEL_WELCOME_RESTORE_POPUP, imgui::POPUP_SMALL_NO_HEIGHT)};
|
|
bool isInitialized{};
|
|
bool isRestoreAvailable{};
|
|
|
|
public:
|
|
void update(Manager&);
|
|
};
|
|
}
|