mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add custom combo box control (#5661)
This commit is contained in:
parent
53b8649d85
commit
b45a7e2413
@ -57,7 +57,7 @@ if (["ace_fastroping"] call EFUNC(common,isModLoaded) && {_hasFRIES > 1}) then {
|
|||||||
|
|
||||||
GVAR(comboBoxes) = [];
|
GVAR(comboBoxes) = [];
|
||||||
{
|
{
|
||||||
private _combo = _display ctrlCreate ["ctrlCombo", -1];
|
private _combo = _display ctrlCreate [QGVAR(CtrlCombo), -1];
|
||||||
private _picturePos = ctrlPosition (_display displayCtrl ID_PICTURE_AIRCRAFT);
|
private _picturePos = ctrlPosition (_display displayCtrl ID_PICTURE_AIRCRAFT);
|
||||||
private _uiPos = getArray (_x >> "UIposition");
|
private _uiPos = getArray (_x >> "UIposition");
|
||||||
_combo ctrlSetPosition [
|
_combo ctrlSetPosition [
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
// combo box that looks good + doesn't get cut off
|
||||||
|
class RscCombo;
|
||||||
|
class GVAR(CtrlCombo): RscCombo {
|
||||||
|
arrowEmpty = "\a3\3DEN\Data\Controls\ctrlCombo\arrowEmpty_ca.paa";
|
||||||
|
arrowFull = "\a3\3DEN\Data\Controls\ctrlCombo\arrowFull_ca.paa";
|
||||||
|
colorSelectBackground[] = {"(profileNamespace getVariable ['GUI_BCG_RGB_R', 0.13])","(profileNamespace getVariable ['GUI_BCG_RGB_G', 0.54])","(profileNamespace getVariable ['GUI_BCG_RGB_B', 0.21])",1};
|
||||||
|
};
|
||||||
|
|
||||||
class IGUIBack;
|
class IGUIBack;
|
||||||
class RscCheckBox;
|
class RscCheckBox;
|
||||||
class RscListBox;
|
class RscListBox;
|
||||||
|
Loading…
Reference in New Issue
Block a user