tmp64 / BugfixedHL-Rebased

Bugfixed and improved Half-Life
GNU General Public License v3.0
114 stars 26 forks source link

Questions about the Advanced Options #206

Open N7P0L3ON opened 11 months ago

N7P0L3ON commented 11 months ago

I have more of a question regarding the formatting of the Advanced options.

Where are they pulling information about the size of the menu, color and font of the menu?

I'm asking since I'm using custom TrackerSheme.res to define the font, size and colors of the default settings, however what I have noticed is that even tough I have everything that's default changed to the new theme... The "Advanced Options" remain with the old theme and it sticks as a sore thumb...

I looked in the folder "ui", but I simply can't find the files and or the settings that are responsible for those configurations.... (I know that the .res files are located under /ui/resource/options/" but can't find the correct settings.... Can you help out with a bit of clarification of what's being used?

Here's example: The size of the menu, the font and the colors does not match... In the background the "Options" menu, that uses the TrackerScheme.res located under "/resource/" folder and in front the "Advanced Options" I'm asking about.... image

Edit: Even with the default setting, since the 25th update the "Advanced" menu looks strange and it's not with the normal scale factor as the other menus.

tmp64 commented 11 months ago

The options dialog reads styles from ui/resource/ClientSourceScheme.res. BHL uses VGUI2 controls from Source SDK, which has a different format for the scheme.

This file may be overwritten when BHL updates. I'll add a better way (#208) but until then keep backups of the file

Scale is tracked at #207