Location of "Settings Bar" color?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 13483
- Joined: Wed Jul 16, 2003 3:52 am
Location of "Settings Bar" color?
Dear ZDoomers, as I didn't find the right place on my own, I wonder if someone knows where the color of the translation for the settings bars are defined. Check the screenshots, they seem to use the color definition "White" for their translation as I changed that one through the TextColors lump. But where are they defined as "White"? Thanks already in return.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 13368
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Location of "Settings Bar" color?
In GZDoom.pk3 they are defined in the file "x11r6rgb.txt"
-
- Posts: 13483
- Joined: Wed Jul 16, 2003 3:52 am
Re: Location of "Settings Bar" color?
So can this be changed to a custom color by a mod?
-
- Posts: 13368
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Location of "Settings Bar" color?
Oh, I misunderstood what you mean, sorry.
They are defined in the actual player pawn.
Using DoomPlayer as an example, here's where the translation range is defined:
https://github.com/coelckers/gzdoom/blo ... yer.zs#L29
And here's the pre-made translations:
https://github.com/coelckers/gzdoom/blo ... zs#L29-L38
They are defined in the actual player pawn.
Using DoomPlayer as an example, here's where the translation range is defined:
https://github.com/coelckers/gzdoom/blo ... yer.zs#L29
And here's the pre-made translations:
https://github.com/coelckers/gzdoom/blo ... zs#L29-L38
-
- Posts: 2062
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Location of "Settings Bar" color?
I'm fairly sure what Torm wants is to change the colour of the slider bar, not of the playerpawn.
-
- Posts: 13483
- Joined: Wed Jul 16, 2003 3:52 am
Re: Location of "Settings Bar" color?
Exactlyphantombeta wrote:I'm fairly sure what Torm wants is to change the colour of the slider bar, not of the playerpawn.

-
- Posts: 13368
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Location of "Settings Bar" color?
It cannot be done easily. The sliders are drawn (I think) here:
https://github.com/coelckers/gzdoom/blo ... #L769-L770
Since this is hard coded, it likely would require either remaking the entire function (not recommended) or changing the CR_WHITE in TextColors.txt:
https://github.com/coelckers/gzdoom/blo ... t#L91-L101
The latter may have unintended consequences, changing the color of a lot more text than just the sliders.
What I would recommend is a feature suggestion.
https://github.com/coelckers/gzdoom/blo ... #L769-L770
Since this is hard coded, it likely would require either remaking the entire function (not recommended) or changing the CR_WHITE in TextColors.txt:
https://github.com/coelckers/gzdoom/blo ... t#L91-L101
The latter may have unintended consequences, changing the color of a lot more text than just the sliders.
What I would recommend is a feature suggestion.
-
-
- Posts: 26476
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: Location of "Settings Bar" color?
According to the Wiki, this mapinfo [wiki]GameInfo_definition[/wiki] option exists:
Does that do what is being asked about?MenuSliderColor = "<color>"
-
- Posts: 13483
- Joined: Wed Jul 16, 2003 3:52 am
Re: Location of "Settings Bar" color?
Unfortunately not, that's the slider controller itself, not the border around it.Enjay wrote:According to the Wiki, this mapinfo [wiki]GameInfo_definition[/wiki] option exists:Does that do what is being asked about?MenuSliderColor = "<color>"