CEGUI text formaters & image sets
Posted: Fri Jun 16, 2023 11:40 pm
Hello!
It's possible to use text formaters in CEGUI but it does not to work at all on EditorGadget3D, ComboBoxGadget3D and StringGadget3D. It seems to be incompletely implemented because I can't display an embedded images from the image-sets (CEGUI website example with mouse pointer). The image sets seem to be identical as on CEGUI's website and the mouse arrow does show on screen after RenderWorld().
I can remember to have been able to display tiles from the GUI image set in earlier PB versions. If not I must have dreamed it
You can also change the window title color, but the images also don't show up there (which would be awesome).
It's also possible to add colored gadget items to ListViewGadget3D and ComboboxGadget3D, but the Combobox will display an unformated text with the brackets - only inside the drop-down menu the items stay colored.
Also Window3D titles can be colored this way:
Beside that a helper function IsMouseOverCEGUI() would come handy, and I miss a PopupMenu3D() - but I would be happy with more text formaters possibilities. I also suggest to allow text formaters in the window3d/gadget3d tooltips.
It's possible to use text formaters in CEGUI but it does not to work at all on EditorGadget3D, ComboBoxGadget3D and StringGadget3D. It seems to be incompletely implemented because I can't display an embedded images from the image-sets (CEGUI website example with mouse pointer). The image sets seem to be identical as on CEGUI's website and the mouse arrow does show on screen after RenderWorld().
I can remember to have been able to display tiles from the GUI image set in earlier PB versions. If not I must have dreamed it
You can also change the window title color, but the images also don't show up there (which would be awesome).
It's also possible to add colored gadget items to ListViewGadget3D and ComboboxGadget3D, but the Combobox will display an unformated text with the brackets - only inside the drop-down menu the items stay colored.
Also Window3D titles can be colored this way:
Code: Select all
SetWindowTitle3D(1,"[colour='FFFFFF00'] Yellow window title")