2015-08-07 19:14:45 +00:00
|
|
|
/*
|
|
|
|
* Author: Glowbal
|
|
|
|
* Changes which category is selected
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [] call ACE_optionsmenu_fnc_onCategorySelectChanged
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-08-10 22:19:30 +00:00
|
|
|
private ["_settingsMenu", "_ctrlComboBox"];
|
2015-08-07 19:14:45 +00:00
|
|
|
|
|
|
|
disableSerialization;
|
|
|
|
_settingsMenu = uiNamespace getVariable 'ACE_settingsMenu';
|
|
|
|
|
|
|
|
_ctrlComboBox = (_settingsMenu displayCtrl 14);
|
|
|
|
GVAR(currentCategorySelection) = lbCurSel _ctrlComboBox;
|
|
|
|
|
2015-08-10 22:19:30 +00:00
|
|
|
[true] call FUNC(settingsMenuUpdateList);
|