Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_CampaignMapUIElement.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
3 {
4  // strings for searching in imagesets
5  [Attribute("Armory")]
6  protected string m_sArmory;
7  [Attribute("FuelDepot")]
8  protected string m_sFuelDepot;
9  [Attribute("LightVehicleDepot")]
10  protected string m_sLightVehicleDepot;
11  [Attribute("HeavyVehicleDepot")]
12  protected string m_sHeavyVehicleDepot;
13  [Attribute("RadioAntenna")]
14  protected string m_sRadioAntenna;
15  [Attribute("Medical")]
16  protected string m_sFieldHospital;
17  [Attribute("Barracks")]
18  protected string m_sBarracks;
19  [Attribute("SupplyDepot")]
20  protected string m_sSupplyDepot;
21  [Attribute("VehicleDepot")]
22  protected string m_sVehicleDepot;
23  [Attribute("Heli_Pad")]
24  protected string m_sHelipad;
25  [Attribute("Unknown")]
26  protected string m_sFactionNeutral;
27  [Attribute("Relay")]
28  protected string m_sRelay;
29  [Attribute("Base")]
30  protected string m_sBase;
31  [Attribute("Mobile")]
32  protected string m_sMobileAssembly;
33  [Attribute("Major")]
34  protected string m_sMajorBase;
35  [Attribute("Minor")]
36  protected string m_sMinorBase;
37  [Attribute("Small")]
38  protected string m_sSmallBase;
39  [Attribute("Respawn")]
40  protected string m_sRespawn;
41  [Attribute("Bg")]
42  protected string m_sRespawnBackground;
43  [Attribute("Select")]
44  protected string m_sSelection;
45 
46  [Attribute("{F7E8D4834A3AFF2F}UI/Imagesets/Conflict/conflict-icons-bw.imageset")]
47  protected ResourceName m_sImageSet;
48 
49  //------------------------------------------------------------------------------
50  override void HandlerAttached(Widget w)
51  {
52  super.HandlerAttached(w);
53  }
54 
55  //------------------------------------------------------------------------------
56  override bool OnMouseEnter(Widget w, int x, int y)
57  {
58  super.OnMouseEnter(w, x, y);
59  return false;
60  }
61 
62  override void SetImage(string image)
63  {
64  if (m_wImage)
65  m_bVisible = m_wImage.LoadImageFromSet(0, m_sImageSet, image);
66  }
67 };
m_sImageSet
ResourceName m_sImageSet
Definition: SCR_MapToolMenuUI.c:8
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_CampaignMapUIElement
Definition: SCR_CampaignMapUIElement.c:2
SCR_MapUIElement
Definition: SCR_MapUIElement.c:12
m_wImage
protected ImageWidget m_wImage
Definition: SCR_BackendImageComponent.c:248
m_bVisible
protected bool m_bVisible
Definition: SCR_UITaskManagerComponent.c:28