Re: [fltk.bugs] libfltk_images to not link (png_set_longjmp_fn not found)

2012-04-25 Thread Albrecht Schlosser
On 23.04.2012 16:04, Joerg wrote: I have the same issue as in this already closed STR: #2805: png_set_longjmp_fn not found inmac lion (xcode 4) The difference is, I am using NetBSD and the current 1.3.x r9382. So, the issue is not fixed by switching to the current libpng 1.5.10 and the

Re: [fltk.development] Can Fl_Text_Display have abackground colorin V1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
Somebody (might have been Greg?) had a widget for interpreting ANSI terminal sequences, that could presumably set foreground and background colours, Yes, not so much a widget, but a patch to Fl_Browser to support ANSI sequences that can change both fg + bg color as well as

Re: [fltk.development] MinGW - how to?

2012-04-25 Thread Albrecht Schlosser
On 25.04.2012 01:09, Ian MacArthur wrote: On 23 Apr 2012, at 22:52, Matthias Melcher wrote: Oh, and a second thing: I am also trying to find a way to run MinGW scripts from the MSWindows shell (which is what Jenkins does). OK, on my VM that has current mingw I did mingw-get update to make

Re: [fltk.development] MinGW - how to?

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
OK, on my VM that has current mingw I did mingw-get update to make sure all was current, That's not true, mingw-get update only loads the new manifest files, i.e. the package definitions and dependencies (mingw-get is modelled like apt-get). It's not yet full-featured, but you can now

[fltk.development] diff: Add background colors to Fl_Text_Display

2012-04-25 Thread David Currie
On 24.04.2012, at 16:47, David Currie wrote: By using repeated replaces the entire display's colours can be controlled BUT NOT THE BACKGROUND. Why can't each Style_Table_Entry contain background color information somehow? It can't because it is not in the code right now that renders the

Re: [fltk.development] diff: Add background colors to Fl_Text_Display

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
Please note, I am currently moving from Windows to Ubuntu and am new to many protocols.I notice from the main websites that there are various versions and their weekly snapshots (1.3.x ??). Yup - many versions. 1.3.x is the current stable tree, 1.1 is the old stable, 2.x is an experimental

Re: [fltk.development] Package 1.1.9 in community devpaks has problem

2012-04-25 Thread STF
On Mon, Apr 23, 2012 at 17:14, Matthias Melcher m...@matthiasm.com wrote: You are expecting that we deliver a pre-heated meal for you right onto your dining room table. Nope! It's a pity that you still can't see the analogy. I consider a programmer like a cook, not a server or food

Re: [fltk.development] Package 1.1.9 in community devpaks has problem

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
For those following along at home who may not know, the only IDE's we do support are Xcode and some of the more or less sort of compatible with each other VS variants. For OSX only? That's a strange choice. What about Windows? Huh? Wha...? Dude - VS means Visual Studio. That's, you

Re: [fltk.development] Package 1.1.9 in community devpaks has problem

2012-04-25 Thread STF
On Wed, Apr 25, 2012 at 15:33, MacArthur, Ian (SELEX GALILEO, UK) ian.macart...@selexgalileo.com wrote: For those following along at home who may not know, the only IDE's we do support are Xcode and some of the more or less sort of compatible with each other VS variants. For OSX only?  

Re: [fltk.development] Package 1.1.9 in community devpaks has problem

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
Oh, sorry, dude, I didn't get the word and right after Xcode in your message :D I thought you're talking about things in OSX, ^_^ OK, so I should leave Dev-C++ *at the bottom of my drawer* and go to VS 2010 Express, right? Probably - it's not a toolchain I'm all that keen on, but others

Re: [fltk.development] MinGW - how to?

2012-04-25 Thread Albrecht Schlosser
On 25.04.2012 11:05, MacArthur, Ian (SELEX GALILEO, UK) wrote: Ah, OK. This whole package manager thing is new to me under mingw... I guess it is modelled apt-get on debian? (With which I am not all that familiar...) Yes, I think so (is there another one?). mingw-get -h shows you all

Re: [fltk.development] [RFE] STR #2806: Display svn commit activity on the web page

2012-04-25 Thread Duncan Gibson
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2806 Version: Web Site Attached file fltk-commits-2012-04-25.png... Link: http://www.fltk.org/str.php?L2806 Version: Web Siteattachment:

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Matthias Melcher
On 24.04.2012, at 12:29, Albrecht Schlosser wrote: On 24.04.2012 11:01, Matthias Melcher wrote: On 24.04.2012, at 03:38, Greg Ercolano wrote: o Perhaps a separate linux build for (cd documentation; make html pdf) to test the doxygen stuff. Great idea. I will add that

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Matthias Melcher
On 24.04.2012, at 10:31, MacArthur, Ian (SELEX GALILEO, UK) wrote: On 23.04.2012, at 23:53, Matthias Melcher wrote: I added the OS X command line build for FLTK 1.3 to Jenkins. I also added all jobs for FLTK 3.0. Ooops: http://matthiasm.mooo.com/jenkins 2: The brain-dead firewall

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Greg Ercolano
On 04/25/12 13:42, Matthias Melcher wrote: Also, I got MinGW running. Only caveat: if the script fails, the .BAT still does not fail, hence the result is alway success. Maybe anyone has an idea? Is there a way to see the BAT and SH scripts? Usually it's just a matter of

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Matthias Melcher
On 25.04.2012, at 23:12, Greg Ercolano wrote: On 04/25/12 13:42, Matthias Melcher wrote: Also, I got MinGW running. Only caveat: if the script fails, the .BAT still does not fail, hence the result is alway success. Maybe anyone has an idea? Is there a way to see the BAT and SH

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Greg Ercolano
On 04/25/12 16:08, Matthias Melcher wrote: It's currently: C:\MinGW\msys\1.0\bin\sh.exe --login -c ( cd /c/jenkins/workspace/FLTK_1.3_MSVista_MinGW date Hmm, I'd suggest '|| set ERRORLEVEL=1' inside the quotes is the problem; inside the quotes it's being parsed by sh(1)

Re: [fltk.development] New jobs in Jenkins

2012-04-25 Thread Greg Ercolano
On 04/25/12 17:18, Greg Ercolano wrote: ..where 'your_mingw.sh' might look like: Oops, actually, I'd suggest this instead for the sh script: echo --- GCC VERSION: # show.. gcc --version # ..gcc version info echo --- Started: `date` # show

Re: [fltk.general] how to change text color when select the text in fltk1.3

2012-04-25 Thread leowang
Dear All, In fltk2.0, it has a API called selection_textcolor(int color), this can change text color if the text is select. But in fltk1.3, I can't find the similar API, can anyone else tell me where is this API, thanks. Best regards, leo Hmm, for which widget? Usually

[fltk.general] how to add bckground picture to the fltk1.3 browser

2012-04-25 Thread leowang
Dear All, Yesterday I have asked how to add bckground picture to the fltk2.0 browser, and I have implemented this feature in fltk2.0. But now in fltk1.3, I modify the code same like fltk2.0, but can not get what I want, so does anyone know how to implement this feature? Thanks. Best regards,

Re: [fltk.general] how to change text color when select the text in fltk1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
In fltk2.0, it has a API called selection_textcolor(int color), this can change text color if the text is select. But in fltk1.3, I can't find the similar API, can anyone else tell me where is this API, thanks. Which widget are you asking about? I'm not sure if this is an API that

Re: [fltk.general] how to set font in fltk1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
I have a question of how to set my custom font, for example, I have a font named MY_FONT, then how can I use this font type to display the text in Browser widget? I see it has a fl_font API, but the first parameter is a int type, so I don't know how to set my font for Browser widget.

Re: [fltk.general] how to set font in fltk1.3

2012-04-25 Thread leowang
I have a question of how to set my custom font, for example, I have a font named MY_FONT, then how can I use this font type to display the text in Browser widget? = I see it has a fl_font API, but the first parameter is a int type, so I don't know how to set my font for Browser

Re: [fltk.general] how to deactivate one line in browser widget in fltk1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
I have a browser widget in a window, there has some lines in this browser, press up/down key can select one by one, how can I set one line(or item) deactivate, then the focus will not move to this line. Sorry, I'm not understanding your question clearly enough to formulate an answer - can

Re: [fltk.general] how to deactivate one line in browser widgetin fltk1.3

2012-04-25 Thread leowang
I have a browser widget in a window, there has some lines in this browser, press up/down key can select one by one, how can I set one line(or item) deactivate, then the focus will not move to this line. Sorry, I'm not understanding your question clearly enough to formulate an a= nswer -

Re: [fltk.general] how to deactivate one line in browser widgetin fltk1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
I have a browser widget in a window, there has some lines in this browser, press up/down key can select one by one, how can I set one line(or item) deactivate, then the focus will not move to this line. Sorry, I'm not understanding your question clearly enough to formulate an a=

Re: [fltk.general] how to deactivate one line in browserwidgetin fltk1.3

2012-04-25 Thread leowang
I have a browser widget in a window, there has some lines in this browser, press up/down key can select one by one, how can I set one line(or item) deactivate, then the focus will not move to this line. Sorry, I'm not understanding your question clearly enough to formulate

[fltk.general] how to select one line after browser widget create

2012-04-25 Thread leowang
Dear All, I found that after the browser widget created, it is focused in the first line, but the first line does not highlight, how to set it to highlight, I tryed select(0, true), but has no effect. Then is there some other API to make one line highlight after browser widget create. Best

Re: [fltk.general] how to deactivate one line in browserwidgetin fltk1.3

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
I use the browser widget to display files, and the files are sorted by name, it looks like follows: a a.txt ab.txt b.txt c ch.txt so the lines which has index character should not be focused. Now I have implement this function by modify Fl_Browser.cxx and Fl_Browser_.cxx. OK...

Re: [fltk.general] how to select one line after browser widget create

2012-04-25 Thread MacArthur, Ian (SELEX GALILEO, UK)
I found that after the browser widget created, it is focused in the first line, but the first line does not highlight, how to set it to highlight, I tryed select(0, true), but has no effect. Then is there some other API to make one line highlight after browser widget create. You might

Re: [fltk.general] how to select one line after browser widgetcreate

2012-04-25 Thread leowang
I found that after the browser widget created, it is focused in the first line, but the first line does not highlight, how to set it to highlight, I tryed select(0, true), but has no effect. = Then is there some other API to make one line highlight after browser widget create. You

[fltk.general] callback with lambda expression

2012-04-25 Thread testalucida
Hi, this code: Fl_Button *pBtn = new Fl_Button(...); pBtn-callback( [](Fl_Widget *w, void *u ) {printf(...);} ); compiles fine with gcc but won't with vc10. Error message says something like can't convert lambda to Fl_Callback*. Does anybody know the reason? Is there a way to use lambdas with

Re: [fltk.general] how to select one line after browser widgetcreate

2012-04-25 Thread Greg Ercolano
On 04/25/12 07:10, leowang wrote: I found that after the browser widget created, it is focused in the first line, but the first line does not highlight, how to set it to highlight, I tryed select(0, true), but has no effect. You might find that browser lines are numbered from 1, not from 0,

Re: [fltk.general] how to deactivate one line in browserwidgetin fltk1.3

2012-04-25 Thread Matthias Melcher
On 25.04.2012, at 15:52, MacArthur, Ian (SELEX GALILEO, UK) wrote: I use the browser widget to display files, and the files are sorted by name, it looks like follows: a a.txt ab.txt b.txt c ch.txt so the lines which has index character should not be focused. Now I have implement

Re: [fltk.general] callback with lambda expression

2012-04-25 Thread Matthias Melcher
On 25.04.2012, at 18:18, testalucida wrote: Hi, this code: Fl_Button *pBtn = new Fl_Button(...); pBtn-callback( [](Fl_Widget *w, void *u ) {printf(...);} ); compiles fine with gcc but won't with vc10. Error message says something like can't convert lambda to Fl_Callback*. Does

Re: [fltk.general] callback with lambda expression

2012-04-25 Thread testalucida
thank you. Unfortunately vc10 is the one and only enterprise-wide used compiler so I really have no chance to use gcc at work. So I'll follow your advice and try it like 1999 ;) On 25.04.2012, at 18:18, testalucida wrote: Hi, =20 this code: =20 Fl_Button *pBtn =3D new Fl_Button(...);

Re: [fltk.general] how to select one line after browser widgetcreate

2012-04-25 Thread leowang
On 04/25/12 07:10, leowang wrote: I found that after the browser widget created, it is focused in the first line, but the first line does not highlight, how to set it to highlight, I tryed select(0, true), but has no effect. You might find that browser lines are numbered from 1, not