Jump to content
Speedy_Gonzalez

hpp editiing in GUI EDITOR

Recommended Posts

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

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×