ASAPCabinetFE
 
Loading...
Searching...
No Matches
table_override_editor.h
Go to the documentation of this file.
1
12#ifndef TABLE_OVERRIDE_EDITOR_H
13#define TABLE_OVERRIDE_EDITOR_H
14
15#include "tables/table_data.h"
17#include <map>
18#include <string>
19
21public:
30 TableOverrideEditor(TableData& table, TableOverrideManager& overrideManager);
31
40 bool render();
41
47 bool wasSaved() const { return saved_; }
48
49private:
55 void save();
56
62 // void reset();
63
64 TableData& table_;
65 TableOverrideManager& overrideManager_;
66 std::map<std::string, std::string> fields_;
67 std::map<std::string, std::string> originalFields_;
68 bool shouldClose_;
69 bool saved_;
70};
71
72#endif // TABLE_OVERRIDE_EDITOR_H
Definition table_override_editor.h:20
bool render()
Renders the ImGui panel for editing overrides.
Definition table_override_editor.cpp:71
bool wasSaved() const
Checks if changes were saved.
Definition table_override_editor.h:47
Definition table_override_manager.h:19
Stores metadata and media paths for a VPX table.
Definition table_data.h:29
Defines the TableData struct for storing VPX table metadata and media paths.
Defines the TableOverrideManager class for handling per-table JSON overrides in ASAPCabinetFE.