mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
29 lines
575 B
Plaintext
29 lines
575 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: Gundy
|
|
*
|
|
* Description:
|
|
* Increases text and icon size
|
|
*
|
|
* Arguments:
|
|
* 1: InterfaceID <STRING>
|
|
*
|
|
* Return Value:
|
|
* TRUE <BOOL>
|
|
*
|
|
* Example:
|
|
* [] call ace_bft_devices_fnc_incTextSize;
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
|
|
params ["_interfaceID"];
|
|
|
|
private _drawSizeMultiplier = [_interfaceID,"drawSizeMultiplier"] call FUNC(getSettings);
|
|
_drawSizeMultiplier = [_drawSizeMultiplier + 0.1] call EFUNC(bft_drawing,updateDrawSize);
|
|
|
|
[_interfaceID,[["drawSizeMultiplier",_drawSizeMultiplier]],false] call FUNC(setSettings);
|
|
|
|
true
|