add text input popup
This commit is contained in:
12
src/app.h
12
src/app.h
@@ -33,6 +33,7 @@
|
||||
#endif
|
||||
#include "node_panel_grid.h"
|
||||
#include "node_panel_quick.h"
|
||||
#include "node_input_box.h"
|
||||
|
||||
struct VRController
|
||||
{
|
||||
@@ -206,7 +207,6 @@ public:
|
||||
bool key_char(char key);
|
||||
void toggle_ui();
|
||||
void set_stylus();
|
||||
std::shared_ptr<NodeMessageBox> message_box(const std::string& title, const std::string& text, bool cancel_button = false);
|
||||
|
||||
void rec_clear();
|
||||
void rec_loop();
|
||||
@@ -241,11 +241,17 @@ public:
|
||||
void cloud_upload();
|
||||
void cloud_upload_all();
|
||||
void cloud_browse();
|
||||
void upload(std::string filename, std::string name = "", std::function<void(float)> progress = nullptr);
|
||||
void download(std::string url, std::string dest_filepath, std::function<void(float)> progress = nullptr);
|
||||
void upload(std::string filename, std::string name = "",
|
||||
std::function<void(float)> progress = nullptr);
|
||||
void download(std::string url, std::string dest_filepath,
|
||||
std::function<void(float)> progress = nullptr);
|
||||
bool check_license();
|
||||
|
||||
std::shared_ptr<NodeProgressBar> show_progress(const std::string& title, int total = 0);
|
||||
std::shared_ptr<NodeMessageBox> message_box(const std::string& title,
|
||||
const std::string& text, bool cancel_button = false);
|
||||
std::shared_ptr<NodeInputBox> input_box(const std::string& title,
|
||||
const std::string& field_name, const std::string& ok_caption = "Ok");
|
||||
|
||||
void brush_update(bool update_color, bool update_brush);
|
||||
void title_update();
|
||||
|
||||
Reference in New Issue
Block a user