Matthias Melcher schrieb:
>
> On 12.07.2011, at 15:42, Edzard Egberts wrote:
>
>> Matthias Melcher schrieb:
>>>
>>> This is the original FLTK 1 code:
>>>
>>>
>>> void Fl_Button::draw() {
>>>    if (type() == FL_HIDDEN_BUTTON) return;
>>>    Fl_Color col = value() ? selection_color() : color();
>>>
>>>
>>> This is the code in FLTK 3, wrapper included:
>>>
>>>
>>> void fltk3::Button::draw() {
>>>    FLTK3_OBJECT_VCALLS_WRAPPER(draw(), Draw)
>>>    if (type() == fltk3::HIDDEN_BUTTON) return;
>>>    fltk3::Color col = value() ? selection_color() : color();
>>>
>
> Ooops, I pressed send to quickly. I corrected the version above.
>
>
> I meant to show that only one single line of code is added

What's this good for? Would you please give me an impression, how this 
is working?
And maybe it's a blockheaded question, but what is the difference to 
just using the old version?

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to