Is your feature request related to a problem? Please describe.
Font Override could be related to a problem if you're somewhat lazy, or if you're new to using said framework and rendering methods. It would make life easier for the developer using ZGUI by allowing them to change fonts in their menu on the fly.
Describe the solution you'd like
A solution to said "issue" is to make a font override function in the source code similar to the "same_line" or "next_column" functions. You would call it before the controls you want the function to apply to and afterwards it will take effect on the controls.
example:
zgui::override_font(menufont_2); zgui::checkbox("Checkbox with menufont_2 #Checkbox", bool);
Describe alternatives you've considered
You can obviously go ahead and manually change all fonts for controls in the source of the framework, however that takes quite a bit of time and fiddling around with code, or looking at things. I think this function will be beneficial to most people as some people might want to have a big flashy font for their window header, and a subtle but clean font for their controls inside of their window.
Is your feature request related to a problem? Please describe. Font Override could be related to a problem if you're somewhat lazy, or if you're new to using said framework and rendering methods. It would make life easier for the developer using ZGUI by allowing them to change fonts in their menu on the fly.
Describe the solution you'd like A solution to said "issue" is to make a font override function in the source code similar to the "same_line" or "next_column" functions. You would call it before the controls you want the function to apply to and afterwards it will take effect on the controls. example:
zgui::override_font(menufont_2); zgui::checkbox("Checkbox with menufont_2 #Checkbox", bool);
Describe alternatives you've considered You can obviously go ahead and manually change all fonts for controls in the source of the framework, however that takes quite a bit of time and fiddling around with code, or looking at things. I think this function will be beneficial to most people as some people might want to have a big flashy font for their window header, and a subtle but clean font for their controls inside of their window.