Download src/ui_error_box.h from dlxjj/imradv3: direct link, hf CLI and curl.
- Browser
- Download file 779 Bytes
-
https://huggingface.co/datasets/dlxjj/imradv3/resolve/main/src/ui_error_box.h
- Command line
-
hf download hf://datasets/dlxjj/imradv3/src/ui_error_box.h
-
curl -L -o ui_error_box.h https://huggingface.co/datasets/dlxjj/imradv3/resolve/main/src/ui_error_box.h
779 Bytes
| // Generated with ImRAD 0.9 | |
| // visit https://github.com/tpecholt/imrad | |
| class ErrorBox | |
| { | |
| public: | |
| /// @begin interface | |
| void OpenPopup(std::function<void(ImRad::ModalResult)> clb = [](ImRad::ModalResult){}); | |
| void ClosePopup(ImRad::ModalResult mr = ImRad::Cancel); | |
| void Draw(); | |
| std::string title = "title"; | |
| std::string message = "message"; | |
| std::string error; | |
| /// @end interface | |
| private: | |
| /// @begin impl | |
| void ResetLayout(); | |
| void Init(); | |
| void CustomWidget_Draw(const ImRad::CustomWidgetArgs& args); | |
| ImGuiID ID = 0; | |
| ImRad::ModalResult modalResult; | |
| std::function<void(ImRad::ModalResult)> callback; | |
| ImRad::VBox vb1; | |
| ImRad::HBox hb3; | |
| /// @end impl | |
| }; | |
| extern ErrorBox errorBox; | |