Speedy_Gonzalez 0 Posted May 25, 2020 Hi, I have a question to you guys. How to insert a .hpp file into the GUI EDITOR to edit it? Share this post Link to post Share on other sites
Erwin23p 32 Posted May 25, 2020 Quote CTRL & I (import) then missionConfigFIle >> "nameofyourdialog" or configFile >> "nameofyourdialog" How to import a dialog into the gui editor Share this post Link to post Share on other sites
Speedy_Gonzalez 0 Posted May 26, 2020 16 hours ago, Erwin23p said: How to import a dialog into the gui editor Share this post Link to post Share on other sites
Larrow 2794 Posted May 26, 2020 You need to have your GUI defined correctly first to be able to import it from description.ext ( missionConfigFile ). description.ext #include "A3_Base_GUI_defines.hpp" //Export of GUI definitons //https://github.com/LarrowZurb/A3_GUI_Defines #include "adminMenu.hpp" //Your displays definiton adminMenu.hpp //Example display that has just a text box class adminMenu { idd = 10000; class controls { class ctrlStatic { x = 0.25; y = 0.25; w = 0.5; h = 0.5; text = "A large text box"; }; }; }; Then use the class name of your display, as in the file above class adminMenu in the import UI of the GUI Editor as shown in this video. TEST_MISSION 1 Share this post Link to post Share on other sites