[fltk.bugs] [MOD] STR #2800: background not drawn in widget when label empty and image has been set to null

2012-01-20 Thread joerg-walter
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2800 Version: 2.0-current 1 label is empty. 2 image was set. 3 widget was drawn. 4 set image to null. 5 problem: function returns before background is drawn. void

Re: [fltk.general] Mingw with gcc-4.6.1, fltk-1.3.x and the STL

2012-01-20 Thread MacArthur, Ian (SELEX GALILEO, UK)
On 01/19/12 02:00, MacArthur, Ian (SELEX GALILEO, UK) wrote: So, Brian and I had a look at what happened here, and the outcome is, I think, interesting. Check the config.log from the failed run. Yup - we would have done, but by the time we got a handle on what had happened, we'd

Re: [fltk.general] Clickable URLs in text

2012-01-20 Thread Johan R
Thanks all for replying. I saw your replies now since i did expect a mail telling me i got replys ... seems this is a very primitive forum :). I am using a Fl_Text_Display to display a game lobby chat log, often http URLs are written by the host in this chat log and i want to make it easy for

Re: [fltk.general] Clickable URLs in text

2012-01-20 Thread Edzard Egberts
Johan R schrieb: seems this is a very primitive forum :). This is not a forum, but a newsgroup. A forum is the very primitive successor of a newsgroup, designed to be usable by every ordinary person, who can click around with a browser. I have considered making my own widget since i feel

Re: [fltk.general] Clickable URLs in text

2012-01-20 Thread MacArthur, Ian (SELEX GALILEO, UK)
Thanks all for replying. I saw your replies now since i did expect a mail telling me i got replys ... seems this is a very primitive forum :). It's not a forum at all - it's a web view of a mailing list. If you want email notifications of messages, subscribe to the mailing list. I am

Re: [fltk.general] XRequest.137: BadWindow

2012-01-20 Thread Barry Branham
Edzard Egberts schrieb: You should try a linux group. There must be a group related to X. Thanks Edzard, I found the answer by comparing my xorg.conf with one an a working twinview system. My xorg.conf was omitting the lines ModulePath /usr/lib/xorg/modules/extensions/nvidia

Re: [fltk.general] Clickable URLs in text

2012-01-20 Thread Greg Ercolano
On 01/20/12 05:04, MacArthur, Ian (SELEX GALILEO, UK) wrote: I have considered making my own widget since i feel Fl_Text_Display is a bit of a cpu hog. Any ideas are very welcome. I don't think I'd use a text display for that at all, I think I'd use a Fl_Browser, and derive from that to

[fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Hi all, I think there is a good project for an FLTK application in my work, The account managers have to analyse reams of output from the client's particular 'calculation code' and config which is written in an in-house interpreted language. The thing is there is nothing to support this analysis

[fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Hi all, I think there is a good project for an FLTK application in my work, The account managers have to analyse reams of output from the client's particular 'calculation code' and config which is written in an in-house interpreted language. The thing is there is nothing to support this analysis

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Greg Ercolano
On 01/20/12 14:08, Paul R wrote: The text editor perhaps? bearing in mind i only want read functionality. Identifying 'start /end' to statement blocks etc, Colouring text if it is a certain dataype, etc. background highlighting of text when the context is of a certain statement type, all of

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Can the text editor be tweaked in this way? The text editor already supports colors very easily. See this simple example: http://seriss.com/people/erco/fltk/#Fl_Text_DisplayStyle You can specify an optional 'style buffer' to the Fl_Text_* widget which

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Greg, thanks, I checked your page link, also in relation to the fluid code view i see exactly what you mean, and also there is no write enabled! That would be a real improvement on the current view the consultants have. One thing though is what are the limits on the buffer. I know from a meeting

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Greg Ercolano
On 01/20/12 14:42, Paul R wrote: Can the text editor be tweaked in this way? The text editor already supports colors very easily. See this simple example: http://seriss.com/people/erco/fltk/#Fl_Text_DisplayStyle You can specify an optional 'style buffer' to the Fl_Text_*

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Greg Ercolano
On 01/20/12 14:59, Paul R wrote: Greg, thanks, I checked your page link, also in relation to the fluid code view i see exactly what you mean, and also there is no write enabled! That would be a real improvement on the current view the consultants have. Right; the example there uses

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Oh no i see the fluid code view is not read only, i will check up on docs for options there. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
One thing though is what are the limits on the buffer. I know from a meeting earlier that there may be 3000 pages, but that would be a real exception rather than the rule. I don't know there's any limit. I believe it will basically load whatever you tell it to, the practical

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Albrecht Schlosser
On 20.01.2012 23:59, Paul R wrote: One thing though is what are the limits on the buffer. I know from a meeting earlier that there may be 3000 pages, but that would be a real exception rather than the rule. The only limit is memory... Also If i wanted a 'find' box then its going to be my

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
Yep, but there is the complete editor example in test/editor.cxx. Isn't there even an easy example in the docs? I did such a thing in my commercial app. by subclassing Fl_Text_Display. The nice thing is that you can add another text buffer, fill it with anything you like, and then switch

Re: [fltk.general] Context Highlighter?

2012-01-20 Thread Paul R
I just mean the possibilty of additional dependencies if regular expressions were required, but I probably just need to read the docs in more detail as I am sure I saw something about support for them there already. ___ fltk mailing list fltk@easysw.com