Re: [fltk.general] about xfltk

2012-03-09 Thread Piotr Beling [qwak]
W dniu 09.03.2012 03:11, leowang pisze: > Dear Piotr, > Could you please share some documents to me? Without the documents, I even > don't know how to write the XML file, such as how to set the text color in > the button widget, how to set the column number in the browser widget, how to > add a

Re: [fltk.general] about xfltk

2012-03-08 Thread Piotr Beling [qwak]
W dniu 08.03.2012 11:19, MacArthur, Ian (SELEX GALILEO, UK) pisze: > >> Does anyone familiar with the xfltk? Where can I get the document of it? I >> even don't know how to set the attribute of the widgets in the XML file. > > > Only Piotr, really, I think... I assume you have looked at what's on h

Re: [fltk.general] fltk in C (no c++)

2012-03-03 Thread Piotr Beling [qwak]
W dniu 29.02.2012 05:43, k.os pisze: > want to great a gui app in linux using fltk and C (no c++). anyone have a > simple, minimalist example of fltk in C? need performance and stability, > pizzazz is secondary... trying to avoid GTK+ ... if no, any suggestions? http://www.tecgraf.puc-rio.br/iup

Re: [fltk.general] Lambda function in FLTK how touse? (FLTK<->c++1x)

2011-10-15 Thread Piotr Beling [qwak]
W dniu 15.10.2011 04:09, Ben Stott pisze: > Most compilers are probably like this, to be honest. GCC is really the > only one that's close to any form of support. > Admittedly, there are still compilers out there that struggle to support > c++99, let alone c++11, so this discussion is a long way p

Re: [fltk.general] Lambda function in FLTK how touse? (FLTK<->c++1x)

2011-10-14 Thread Piotr Beling [qwak]
W dniu 14.10.2011 23:14, Ben Stott pisze: > Under VS, what (recent) feature of C/++ *does* work? ;-) I'am not a user, but I read that lambdas works (but always as objects). > If anything, it'll be easier to use std::function - and if it really > needs to happen this is more likely the option that

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK<->c++1x)

2011-10-14 Thread Piotr Beling [qwak]
W dniu 11.10.2011 05:19, Ben Stott pisze: > my_button2->callback( [this] () { this->my_button1->label("xxx");} ); // I > haven't specified the return type here; it will default to void. You could > just as easily use "[this] () -> void {...}" This probably will not work, because [this] () { th

[fltk.general] Next FLTK version - an opinion

2011-07-12 Thread Piotr Beling [qwak]
I have read thread about FLTK 3.0 (I no answer in that thread because most of my mail includes completely new proposition). I agree that one API for FLTK1/2 would be a great product at this moment but I also think that in longer time perspective it is not the best idea to invest time to develop