Any plans to make setOverrideFont() a member of IGUIElement so we can change the font for all the GUI elements?
Its very limiting as it is now to only be able to change a few GUIElements.
Make setOverrideFont() a member of IGUIElement?
Re: Make setOverrideFont() a member of IGUIElement?
Well, not all elements need that, so no. It should rather be added to those where it is still missing (just adding it in the interface wouldn't change a thing anyway without corresponding implementations). Only problem with that right now is that a) we have no serialization for fonts right now (which will either be added or a workaround hacked in before 1.8) and b) the "override" stuff in general is just a workaround for not being able to overload skin-features per guielement (but we have used it for fonts already a few times, so adding a few more doesn't hurt too much).
For which element would you need that right now?
For which element would you need that right now?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Make setOverrideFont() a member of IGUIElement?
Ofcourse i meant that it should not only be moved, but implemented as well ; )
No major panic with this, i can manage without it, no problem. But since you asked, its mainly for window and tabs caption right now.
No major panic with this, i can manage without it, no problem. But since you asked, its mainly for window and tabs caption right now.
Re: Make setOverrideFont() a member of IGUIElement?
OK, those 2 could indeed use that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Re: Make setOverrideFont() a member of IGUIElement?
Menus and submenus for me (Allowing at the same time an overide color would be nice)
Re: Make setOverrideFont() a member of IGUIElement?
You want to have different-colored menus? You can still use skin-colors. But yeah, menus also might need that, although I'm not sure if per menu or per menu-entry is better.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm