Good afternoon
About background colors..
I know this Background attribute described here:
http://www.hollywood-mal.com/docs/html/ ... round.html
And the settings works fine ..
However, a BackgroundRGB attribute or similar would be most helpful (as I'm in great need for setting my own color(s) in some cases)
Set background to a RGB color
Set background to a RGB color
AmigaOS 4.1 on Sam440ep-flex@800MHz
http://www.m4rko.com/amiga
http://www.m4rko.com/amiga
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Set background to a RGB color
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...
Re: Set background to a RGB color
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.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...
I did it like this:
Code: Select all
Child, TextObject, MUIA_Text_Contents, '\ec\ebG', MUIA_Background, '2:00000000,ffffffff,00000000', End,
I assume an user won't need to change this background.