Re: [fltk.development] C API experiment

2013-02-22 Thread Sanel Zukan
Hi, How seriously you need C API? I'm asking, since some projects I've seen made a couple of small wrappers around essential classes/functions just to allow them making basic UI (e.g. there is a minimal wrapper for Haskell). If you need something serious, I'm interested too because I'm seeking

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn'texactly native on linux

2013-02-22 Thread Sanel Zukan
First of all, thank you for detail reply on STR page (writing here to reduce noise out there). True, there are a lot issues with system()-ing external dialogs, but my original idea was to leverage FLTK usage by (maybe) creating platform specific emulations (in FLTK), just like Qt guys did for Qt.

Re: [fltk.development] C API experiment

2013-02-22 Thread Patrick
Hi Sanel Thanks for responding to my post. Your ideas are terrific. I know a little about swig and pyFLTK but I didn't know anything about the other two options. So I have been going around it circles on and off for two years with GUI tookkits. I have tried virtually all of them now. I don't

Re: [fltk.development] C API experiment

2013-02-22 Thread Ian MacArthur
Hi Patrick,Sounds like you are working your way through the history of language development, but in reverse order!;-)C++ - Ada - Cobol ...!Cheers,-- IanSent, much to my surprise, from my Palm Pre3On 22 Feb 2013 14:46, Patrick patr...@spellingbeewinnars.org wrote: Hi Sanel Thanks for responding to

Re: [fltk.development] C API experiment

2013-02-22 Thread Albrecht Schlosser
On 22.02.2013 15:46, Patrick wrote: I have realized that pretty much everything I like about Ada is available from Cobol too and I have recently switched my focus. Open Cobol compiles to intermediate C. I was trying to figure out how to call back into C++ from C but then I finally realized I

Re: [fltk.development] C API experiment

2013-02-22 Thread Patrick
Hi Albert I can start in C++ or Cobol but I have to be able to call back into C++ to change widget properties during callbacks. I am not proposing anything that would change FLTK itself, just a seperate wrapper. I don't like C++ but that does not mean it is not very useful, virtually every

Re: [fltk.development] C API experiment

2013-02-22 Thread Greg Ercolano
On 02/22/13 06:46, Patrick wrote: Having said that, I think that a C binding would really help the project and I would like to help, please let me know if I can. IIRC, FLTK started as a C++ rewrite of C based xforms (and by extension, forms) xforms is still around:

Re: [fltk.development] C API experiment

2013-02-22 Thread Patrick
Hi Greg I seriously considered using X forms and read through the source. There is significant overlap between the two. I don't think it is viable for me though. Thanks again On 13-02-22 03:03 PM, Greg Ercolano wrote: On 02/22/13 06:46, Patrick wrote: Having said that, I think that a C

[fltk.development] reworking examples folder

2013-02-22 Thread Patrick
Greg's post reminded me of something I wanted to bring up. His examples here: http://seriss.com/people/erco/fltk/ Are really good, why are they not in the examples folder? In addition there are some really cheesey bitmaps in the test folder that came from X forms. Would anyone like me to find

Re: [fltk.development] reworking examples folder

2013-02-22 Thread Greg Ercolano
On 02/22/13 15:15, Patrick wrote: If you have suitable pixmaps, might be worth a shot: we'd need to be sure about the licensing and copyright mind you - that seems to be much more a pain these days that in was back in the day... What about this site: http://openclipart.org/ Presently

Re: [fltk.development] reworking examples folder

2013-02-22 Thread Patrick
Yes, something compatible with whatever we come up with for our examples (zlib license, etc) would be fine. I can also draw stuff if something custom is needed. I have an under utilized BFA in animation, which means I can draw silly things on the backs of scrap

Re: [fltk.development] reworking examples folder

2013-02-22 Thread Greg Ercolano
On 02/22/13 18:03, Patrick wrote: I only use Linux but I would like to learn a little more about developing on Windows. Could you tell me where the necessary Visual Studio files are. Maybe I will try a suicide mission and give it a try in the next couple of months. See the fltk

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread MacArthur, Ian (Selex ES, UK)
Thanks for responding, Greg. I made an error writing the report from the compiler. The code is a copy from the hello.cxx on the fltk.org site. The compiler statement actually reads : /hello.cxx:7: undefined reference to 'Fl_Box::Fl_Box(int, int, int, int, char const*)'

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread Albrecht Schlosser
On 22.02.2013 03:09, edgar wrote: On 21 Feb 2013, at 20:33, edgar wrote: Hi Ian - that fixed it! Thanks!!! I've been able to compile numerous tests and play around with the font size and style. Here is a different issue: the fltk-config --complile is not finding FL_Box. I

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread Albrecht Schlosser
On 22.02.2013 10:44, MacArthur, Ian (Selex ES, UK) wrote: Thanks for responding, Greg. I made an error writing the report from the compiler. The code is a copy from the hello.cxx on the fltk.org site. The compiler statement actually reads : /hello.cxx:7: undefined

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread MacArthur, Ian (Selex ES, UK)
Hmm, the error message is a linker error, so the compiling stage should have passed successfully. Maybe a library version mix, as I wrote in my other post? Oops, oh yeah! This email and any attachments are confidential

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread edgar
If you are trying to build fltk from source, as you described, then you should consider uninstalling the system fltk package and all fltk versions you may have installed previously, unless you need fltk for another system-supplied package. Albrecht Hi Albrecht, I took your advice. I

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread edgar
Hi Ian, Thanks so much for all of the terrific advice. I have a lot of experience using Finale and ProTools, but I am new to programming. Music applications? You mean like Finale and Sibelius? Or something else? I teach music theory at a college in Illinois. I take it you are in the UK? I

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-22 Thread Ian MacArthur
On 22 Feb 2013, at 22:16, edgar wrote: Thanks so much for all of the terrific advice. You're welcome: we're happy to help! I have a lot of experience using Finale and ProTools, but I am new to programming. Take a look at Musescore and Rosegarden then - they cover a lot of the same

Re: [fltk.opengl] How to enable Drag n Drop on OpenGL window ?

2013-02-22 Thread Albrecht Schlosser
On 18.02.2013 12:17, Furqan wrote: ... File only accepted when drop over the Fl_Double_Window. Here is my code.. MainWindow-begin(); // Fl_Double_Window DnDReceiver b(0,0,WINDOW_SIZE_W, WINDOW_SIZE_H); // Drag n Drop Box glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH |