create rename file

This commit is contained in:
chatlanin
2023-04-02 12:01:04 +03:00
parent 84fc7a1976
commit c451d859a7
6 changed files with 110 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ namespace rrr::layers::gui
float height = 0.f;
bool delete_dialog = false;
bool create_dialog = false;
bool rename_dialog = false;
file current_file;
bool shift = false;
std::string title;
@@ -39,7 +40,9 @@ namespace rrr::layers::gui
void cancel();
void draw_delete_dialog();
void draw_create_dialog();
void draw_rename_dialog();
void create_file();
void rename();
void pressed(system_event& e);
void released(system_event& e);
};