> Angus> I already use
>
> Angus> fl_mapcolor(FL_FREE_COL4, col.r, col.g, col.b);
>
> Angus> to set the colour of that button in the Colours tab (coloured
> Angus> FL_FREE_COL4) to whatever I choose. Why not also do something
> Angus> similar with FL_COL1 etc. The LyX colour browser on the right
> Angus> of this tab would contain items such as "Background", "LaTeX"
> Angus> but also "GUI background", "GUI Active folder". Good idea, no?
>
> The right way of doing that would be to define them in LColor.C, but I
> do not know how we can do that well in a GUI-I way.
I don't think this is the right way. This stuff is purely xforms specific and
LColor.C shouldn't even know that LyX is running under X, let alone using
xforms. These changes should, therefore be output to a separate
preferences.xforms file.
Anyway, this is for the future. Tomorrow at least!
Angus