Refactored EditorManager to consolidate popup drawing methods into a single DrawPopups method and added a DrawMenuBar method. Replaced DrawYazeMenu with DrawHomepage for displaying a welcome message and options for opening a ROM. Introduced a LoadRom method to handle ROM loading and updated related methods to set the current_rom_ pointer. Added settings_editor_ to the list of active editors.
This commit is contained in:
@@ -111,7 +111,7 @@ public:
|
||||
void DrawBitmapTable(const BitmapTable &gfx_bin);
|
||||
|
||||
void DrawBitmapGroup(std::vector<int> &group,
|
||||
std::vector<gfx::Bitmap> &tile16_individual_,
|
||||
std::array<gfx::Bitmap, 4096>& tile16_individual_,
|
||||
int tile_size, float scale = 1.0f);
|
||||
|
||||
void DrawOutline(int x, int y, int w, int h);
|
||||
@@ -219,8 +219,6 @@ private:
|
||||
uint64_t edit_palette_group_name_index_ = 0;
|
||||
uint64_t edit_palette_sub_index_ = 0;
|
||||
|
||||
|
||||
|
||||
ImDrawList* draw_list_ = nullptr;
|
||||
|
||||
ImVec2 scrolling_;
|
||||
|
||||
Reference in New Issue
Block a user