>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Ok, I've made the basic inset. It's a rather boring grey button
Angus> with black text. I'd like to Give it the same bright yellow
Angus> background that InsetInfo has now, but at the moment this isn't
Angus> possible because PainterBase::button() is hard-coded to draw
Angus> the button in boring grey!
Angus> PainterBase & PainterBase::button(int x, int y, int w, int h) {
Angus> fillRectangle(x, y, w, h, LColor::buttonbg); buttonFrame(x, y,
Angus> w, h); return * this; }
Angus> I'd like to modify PainterBase::buttonText() and
Angus> PainterBase::button() to take a final argument "LColor::color "
Angus> that is hard-coded to be LColor::buttonbg, but can be changed
Angus> if so desired. This would have the added benefit of giving the
Angus> same control over buttonText currently enjoyed with rectText
Angus> (same class).
It seems to me that you would need to pass several colors, in order to
get the 3d effect.
JMarc