impr: Added simplified welcome screen

This commit is contained in:
WerWolv
2023-12-07 11:18:49 +01:00
parent 60ff62d018
commit 9ba6d7ee1e
4 changed files with 405 additions and 317 deletions

View File

@@ -289,6 +289,9 @@ namespace ImGuiExt {
bool InputFilePicker(const char *label, std::fs::path &path, const std::vector<hex::fs::ItemFilter> &validExtensions);
bool ToggleSwitch(const char *label, bool *v);
bool ToggleSwitch(const char *label, bool v);
template<typename T>
constexpr ImGuiDataType getImGuiDataType() {
if constexpr (std::same_as<T, u8>) return ImGuiDataType_U8;