{"name":"BIS_fnc_exportGUIBaseClasses","title":"BIS fnc exportGUIBaseClasses","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_exportGUIBaseClasses","revid":347871,"updated":"2023-10-30T17:00:13Z","groups":["GUI","Diagnostic","Broken Functions"],"status":"broken","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Export GUI macros and base classes to the clipboard.\n\n> [!CAUTION]\n> This information is **obsolete** as of Arma 3 v2.01.146644. Reason: the import keyword was introduced.\n\n> [!WARNING]\n> The exported the Eden Editor base classes have several inheritance issues.\n> If you need the base classes you can get them [**here**](https://github.com/LarrowZurb/A3_GUI_Defines).","syntaxes":[{"syntax":"mode call BIS_fnc_exportGUIBaseClasses","params":[{"name":"mode","type":"String","description":"mode, **case-sensitive**; can be one of:\n\n- `\"Default\"` - classic base classes like `RscText` or `RscPicture`\n- `\"3DEN\"` - Eden Editor base classes like `ctrlStatic` or `ctrlStaticPicture`\n- `\"all\"` - all GUI base classes, including more exotic ones\n\n> [!IMPORTANT]\n> All modes are case sensitive. If the capitalisation is disregarded the function will default to the \"all\" mode.\n> In fact there is no explicit \"all\" mode, rather it is the fallback if the mode is not one of \"Default\" or \"3DEN\".","type_expr":"String"}],"returns":{"type":"String","type_expr":"String","description":"`.hpp` file content to be included in Description.ext, also copied to the clipboard"}}],"examples":[{"code":["\"all\" call BIS_fnc_exportGUIBaseClasses;"]}],"see_also":["Arma: GUI Configuration","Arma 3: Utilities"],"notes":[{"user":"Killzone_Kid","date":"2018-09-28T14:37:00Z","text":"You can use Arma 3: Utilities to get the base class for your mission config.\nFor example if you need `RscPicture` base, enter **utils 2** in the debug console and click **LOCAL EXEC**, type `RscPicture` and press Enter, check **Include Inherited** box, then click **COPY**.\nThe config is now copied to Clipboard and you can paste it in your description.ext and then derive your class from it."}]}