-
-
Notifications
You must be signed in to change notification settings - Fork 19
input display text #91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
4fad600
0b82e22
67a3f71
8650166
82a6929
2027332
f006c6e
cdd90c3
c8ed405
c6f6d2c
dcb0335
e11c64a
6314bb9
cc90272
8fa27a5
6b0758e
45907b6
482f2cd
08360c9
fad15de
683198f
8bf6923
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -116,26 +116,34 @@ vec4 Setting_Gamepad_ClassicUpColor = vec4(0.2f, 1, 0.6f, 1); | |
| [Setting category="Gamepad" name="Classic down color" color if="Setting_Gamepad_Style Classic"] | ||
| vec4 Setting_Gamepad_ClassicDownColor = vec4(1, 0.6f, 0.2f, 1); | ||
|
|
||
| [Setting category="Gamepad" name="Classic off alpha" drag min=0 max=1 if="Setting_Gamepad_Style Classic"] | ||
| [Setting category="Gamepad" name="Inactive alpha" drag min=0 max=1] | ||
| float Setting_Gamepad_OffAlpha = 0.33f; | ||
|
|
||
| [Setting category="Gamepad" name="Use inactive alpha for text"] | ||
| bool Setting_Gamepad_OffAlphaText = true; | ||
|
|
||
| [Setting category="Gamepad" name="Display up/down arrow symbols" if="Setting_Gamepad_Style Uniform"] | ||
| bool Setting_Gamepad_UpDownSymbols = true; | ||
|
|
||
| [Setting category="Gamepad" name="Cateye use simple steer" if="Setting_Gamepad_Style Cateye"] | ||
| bool Setting_Gamepad_CateyeUseSimpleSteer = false; | ||
|
|
||
| [Setting category="Gamepad" name="Display steer percentage" if="Setting_Gamepad_Style Uniform"] | ||
| [Setting category="Gamepad" name="Display steer percentage"] | ||
| bool Setting_Gamepad_SteerPercentage = false; | ||
|
|
||
| [Setting | ||
| category="Gamepad" | ||
| name="Steer percentage size" | ||
| drag min=2 max=40 | ||
| if="Setting_Gamepad_Style Uniform"] | ||
| int Setting_Gamepad_SteerPercentageSize = 16; | ||
|
Comment on lines
-131
to
-136
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The removal of this will potentially break people's existing configurations. I agree with the name change, but we may want to wait with merging this until in Openplanet I have some kind of aliasing of previous setting name(s). Made an issue for this here: openplanet-nl/issues#818
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. renamed setting back, can change it in the future once we have aliasing
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| [Setting category="Gamepad" name="Display steer percentage symbol" if="Setting_Gamepad_SteerPercentage"] | ||
| bool Setting_Gamepad_SteerPercentageSymbol = true; | ||
|
|
||
| [Setting category="Gamepad" name="Steer percentage spacing" min=-100 max=100] | ||
| float Setting_Gamepad_SteerPercentageSpacing = 0.0f; | ||
|
|
||
| [Setting category="Gamepad" name="Font"] | ||
| string Setting_Gamepad_Font = "DroidSans.ttf"; | ||
|
|
||
| [Setting category="Gamepad" name="Text and symbol color" color if="Setting_Gamepad_Style Uniform"] | ||
| [Setting category="Gamepad" name="Font size" min=2 max=40] | ||
| int Setting_Gamepad_SteerPercentageSize = 16; // also used for arrows | ||
|
|
||
| [Setting category="Gamepad" name="Text color" color] | ||
| vec4 Setting_Gamepad_TextColor = vec4(1, 1, 1, 1); | ||
|
|
||
|
|
||
|
|
@@ -183,6 +191,27 @@ float Setting_Keyboard_Spacing = 10.0f; | |
| [Setting category="Keyboard" name="Inactive alpha" drag min=0 max=1] | ||
| float Setting_Keyboard_InactiveAlpha = 1.0f; | ||
|
|
||
| [Setting category="Keyboard" name="Use inactive alpha for text"] | ||
| bool Setting_Gamepad_InactiveAlphaText = true; | ||
|
|
||
| [Setting category="Keyboard" name="Display arrow symbols"] | ||
| bool Setting_Keyboard_ArrowSymbols = true; | ||
|
|
||
| [Setting category="Keyboard" name="Display steer percentage" description="Overrides left/right arrows of setting above"] | ||
| bool Setting_Keyboard_SteerPercentage = false; | ||
|
|
||
| [Setting category="Keyboard" name="Display steer percentage symbol" if="Setting_Keyboard_SteerPercentage"] | ||
| bool Setting_Keyboard_SteerPercentageSymbol = true; | ||
|
|
||
| [Setting category="Keyboard" name="Font"] | ||
| string Setting_Keyboard_Font = "DroidSans.ttf"; | ||
|
|
||
| [Setting category="Keyboard" name="Font size" min=2 max=40] | ||
| int Setting_Keyboard_FontSize = 16; | ||
|
|
||
| [Setting category="Keyboard" name="Text color" color] | ||
| vec4 Setting_Keyboard_TextColor = vec4(1, 1, 1, 1); | ||
|
|
||
|
|
||
|
|
||
| [Setting category="Gearbox" name="Show text"] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should have
if="Setting_Gamepad_OffAlphaText"There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this setting isn't only used for text though, so hiding it when the user doesn't want to use it for text but does for other elements would be silly