-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liam McKendrick
committed
Aug 2, 2022
1 parent
330821b
commit ff66ddf
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
Note: attributes are not set until edited by the user. Not just opening the | ||
GUI, but actually changing the value of the attribute and saving. The | ||
functions using mission config values will have to account for the possible | ||
absence of config values by defaulting to the defaultValue. | ||
*/ | ||
|
||
class Cfg3DEN { | ||
|
||
class Group { | ||
class AttributeCategories { | ||
class GVAR(groupSettings) { | ||
displayName = "SIA Framework"; | ||
collapsed = 0; | ||
|
||
class Attributes { | ||
class GVAR(radioChannel) { | ||
displayName = "Radio Channel"; | ||
tooltip = "The channel number this group's personal radio will automatically be set to."; | ||
property = QGVAR(radioChannel); | ||
control = "Edit"; | ||
expression = "_this setVariable ['%s',_value,true];"; | ||
|
||
defaultValue = "1"; | ||
|
||
unique = 0; | ||
validate = "number"; | ||
typeName = "NUMBER"; | ||
// only units should have this attribute | ||
//condition = "objectControllable"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ class CfgPatches { | |
}; | ||
|
||
#include "CfgEventHandlers.hpp" | ||
#include "Cfg3DEN.hpp" |