airsoftsoftwair wrote:It's currently not possible to specify a direct color here, but I can add that if you need it, although hard-coding colors is mostly against the MUI style guide because it could easily clash with user-defined colours and textures. Normally, all those things should be left to the user...
The MUI itself allows it. Recently I have created a small MUI app (using AmigaE) with coloured slider's labels. Sliders were intended to adjust RGB values and had "R", "G" and "B" labels with appropriate backgrounds.
I did it like this:
Code: Select all
Child, TextObject, MUIA_Text_Contents, '\ec\ebG', MUIA_Background, '2:00000000,ffffffff,00000000', End,
It's the "G" label with green background.
I assume an user won't need to change this background.