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
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk