mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use RscPicture for compass
This commit is contained in:
parent
d043a471b3
commit
549d53d919
@ -1,6 +1,6 @@
|
|||||||
class RscActivePicture;
|
|
||||||
class RscControlsGroup;
|
class RscControlsGroup;
|
||||||
class RscMapControl;
|
class RscMapControl;
|
||||||
|
class RscPicture;
|
||||||
class RscStructuredText;
|
class RscStructuredText;
|
||||||
class RscText;
|
class RscText;
|
||||||
class RscTree;
|
class RscTree;
|
||||||
@ -14,7 +14,7 @@ class GVAR(overlay) {
|
|||||||
onKeyDown = QUOTE([ARR_2('onKeyDown',_this)] call FUNC(handleInterface));
|
onKeyDown = QUOTE([ARR_2('onKeyDown',_this)] call FUNC(handleInterface));
|
||||||
onKeyUp = QUOTE([ARR_2('onKeyUp',_this)] call FUNC(handleInterface));
|
onKeyUp = QUOTE([ARR_2('onKeyUp',_this)] call FUNC(handleInterface));
|
||||||
class controlsBackground {
|
class controlsBackground {
|
||||||
class crosshair: RscActivePicture {
|
class crosshair: RscPicture {
|
||||||
idc = 52;
|
idc = 52;
|
||||||
x = 0.5 - W_PART(2);
|
x = 0.5 - W_PART(2);
|
||||||
y = 0.5 - H_PART(2);
|
y = 0.5 - H_PART(2);
|
||||||
@ -45,7 +45,7 @@ class GVAR(overlay) {
|
|||||||
h = TOOL_H;
|
h = TOOL_H;
|
||||||
colorBackground[] = {0.1,0.1,0.1,1};
|
colorBackground[] = {0.1,0.1,0.1,1};
|
||||||
};
|
};
|
||||||
class compass0_90: RscActivePicture {
|
class compass0_90: RscPicture {
|
||||||
idc = 90;
|
idc = 90;
|
||||||
x = 0.5;
|
x = 0.5;
|
||||||
y = safeZoneY;
|
y = safeZoneY;
|
||||||
|
Loading…
Reference in New Issue
Block a user