On Wed, 08 Nov 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> Jean-Marc, this is a patch for you, as you were the one
> Angus> interested in changing the colour of the active tab folder to
> Angus> make it more visible.
>
> Thanks. I don't plan to be a pain much much longer, so if we can't
> get this worked out, I'll gracefully take back this request.
Who called you a pain? Not me!
> Angus> I've made the colour of the active folder FL_MCOL, a change
> Angus> from the default FL_COL1. This may be too light; from dark to
> Angus> light :
> This is indeed a bit light. Could you enlighten me how your change
> works? Is it possible in xforms to set a color for active/inactive
> tab? In fact, what I'd really like is a bold label text for the active
> tab. I'll ask on the xforms list.
I don't really understand either! As you can see, all I did was reset the
colours of the FLAT_BOX forming the background to each tab. This is what was
done in one of the xforms demos (folder.c). It doesn't really make much
sense, logically.
I couldn't set the active folder text to bold. Either all were set to bold or
none. Asking on the list is probably the best idea.
> Angus> Note, I'm not going to do any more on this until you express a
> Angus> preference. Many of the objects within the folders will need to
> Angus> change to suit the new background, but this can wait till we
> Angus> have a choice.
>
> Sure. Don't worry about this stuff for now...
Will do. Eventually though...
Actually, what I thought of doing was to use the Colours tab to modify the
xforms colours direct.
I already use
fl_mapcolor(FL_FREE_COL4, col.r, col.g, col.b);
to set the colour of that button in the Colours tab (coloured FL_FREE_COL4)
to whatever I choose. Why not also do something similar with FL_COL1 etc. The
LyX colour browser on the right of this tab would contain items such as
"Background", "LaTeX" but also "GUI background", "GUI Active folder". Good
idea, no?
Angus