forked from CBATeam/CBA_A3
-
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.
Merge pull request CBATeam#629 from CBATeam/cleanup-help
fix and simplify the help component ui
- Loading branch information
Showing
8 changed files
with
121 additions
and
185 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
This file was deleted.
Oops, something went wrong.
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,4 +15,5 @@ class CfgPatches { | |
}; | ||
|
||
#include "CfgEventhandlers.hpp" | ||
#include "CfgRscStd.hpp" | ||
|
||
#include "gui.hpp" |
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
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
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,79 @@ | ||
|
||
class RscText; | ||
class RscButton; | ||
|
||
class RscStructuredText { | ||
class Attributes; | ||
}; | ||
|
||
class GVAR(credits_base): RscStructuredText { | ||
onLoad = QUOTE(_this call (uiNamespace getVariable 'FUNC(setCreditsLine)')); | ||
size = POS_H(0.8); | ||
x = POS_X_CENTERED(7); | ||
y = POS_Y(23.1); | ||
w = POS_W(26); | ||
h = POS_H(0.8); | ||
shadow = 0; | ||
|
||
class Attributes: Attributes { | ||
font = "RobotoCondensedLight"; | ||
align = "center"; | ||
valign = "middle"; | ||
color = "#bdcc9c"; | ||
}; | ||
}; | ||
|
||
class RscStandardDisplay; | ||
class RscDisplayMain: RscStandardDisplay { | ||
class controls { | ||
class GVAR(CreditsVersion): RscText { | ||
onLoad = QUOTE(_this call (uiNamespace getVariable 'FUNC(setVersionLine)')); | ||
idc = IDC_VERSION_TEXT; | ||
font = "RobotoCondensedLight"; | ||
shadow = 0; | ||
style = ST_RIGHT; | ||
sizeEx = POS_H(0.8); | ||
x = POS_X_RIGHT(12); | ||
y = POS_Y(24.1); | ||
w = POS_W(10); | ||
h = POS_H(0.8); | ||
}; | ||
|
||
class GVAR(CreditsVersionButton): RscButton { | ||
onMouseButtonClick = QUOTE(_this call (uiNamespace getVariable 'FUNC(setVersionLine)')); | ||
idc = IDC_VERSION_BUTTON; | ||
colorText[] = {1,1,1,0}; | ||
colorDisabled[] = {1,1,1,0}; | ||
colorBackground[] = {0,0,0,0}; | ||
colorBackgroundDisabled[] = {0,0,0,0}; | ||
colorBackgroundActive[] = {0,0,0,0}; | ||
colorFocused[] = {0,0,0,0}; | ||
soundClick[] = {"",1,1}; | ||
|
||
x = POS_X_RIGHT(12); | ||
y = POS_Y(24.1); | ||
w = POS_W(10); | ||
h = POS_H(0.8); | ||
}; | ||
|
||
class GVAR(credits): GVAR(credits_base) { | ||
size = POS_H_MAIN_MENU(1); | ||
x = POS_X_MAIN_MENU(0); | ||
y = POS_Y_MAIN_MENU(2); | ||
w = POS_W_MAIN_MENU(0); | ||
h = POS_H_MAIN_MENU(1); | ||
}; | ||
}; | ||
}; | ||
|
||
class RscDisplayInterrupt: RscStandardDisplay { | ||
class controls { | ||
class GVAR(credits): GVAR(credits_base) {}; | ||
}; | ||
}; | ||
|
||
class RscDisplayMPInterrupt: RscStandardDisplay { | ||
class controls { | ||
class GVAR(credits): GVAR(credits_base) {}; | ||
}; | ||
}; |
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
Oops, something went wrong.