Re: [fltk.general] Clickable URLs in text

2012-02-19 Thread Johan R
I was making sure last line was visible when appending a new line if the last line was already visible. When i got a few hundred lines i noticed my app took increasingly more cpu appending new lines. From a user perspective it was fine but i was not happy with cpu usage (i went with fltk for fas

Re: [fltk.general] Clickable URLs in text

2012-02-15 Thread Greg Ercolano
On 02/14/12 23:34, Johan R wrote: > I am very happy with performance now, the performance was horrible when my > previous Fl_Text_Display contained lots of text. I'm curious: > What specifically was slow in Fl_Text_Display (scrolling, adding text, parsing..) > How

Re: [fltk.general] Clickable URLs in text

2012-02-15 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I replaced Fl_Text_Display with a specialized Fl_Browser for now. > For now i just check for http:// links when i double-click a row and use > xdg-open to open that link in browser. For actually "opening" the link, fl_open_uri() might help - it works on non-xdg platforms too, but essentially d

Re: [fltk.general] Clickable URLs in text

2012-02-14 Thread Johan R
Fyi, I replaced Fl_Text_Display with a specialized Fl_Browser for now. For now i just check for http:// links when i double-click a row and use xdg-open to open that link in browser. I am very happy with performance now, the performance was horrible when my previous Fl_Text_Display contained lot

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 th

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 u

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 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-06 Thread Richard Sanders
On Fri, 06 Jan 2012 13:52:25 -0800, Ian MacArthur wrote: >On 6 Jan 2012, at 13:55, Albrecht Schlosser wrote: > >> On 06.01.2012 01:01, Johan R wrote: >> >>> I am using fltk 1.3 and have searched for how to make clickable links in >>> e.g. Fl_Text_Display but havent found anything. >>> Is there

Re: [fltk.general] Clickable URLs in text

2012-01-06 Thread Ian MacArthur
On 6 Jan 2012, at 13:55, Albrecht Schlosser wrote: > On 06.01.2012 01:01, Johan R wrote: > >> I am using fltk 1.3 and have searched for how to make clickable links in >> e.g. Fl_Text_Display but havent found anything. >> Is there a way to make clickable links in text ? > > No, there's no way,

Re: [fltk.general] Clickable URLs in text

2012-01-06 Thread Albrecht Schlosser
On 06.01.2012 01:01, Johan R wrote: > I am using fltk 1.3 and have searched for how to make clickable links in e.g. > Fl_Text_Display but havent found anything. > Is there a way to make clickable links in text ? No, there's no way, at least not in Fl_Text_Display. The only widget supporting cli

[fltk.general] Clickable URLs in text

2012-01-05 Thread Johan R
Hi, I am using fltk 1.3 and have searched for how to make clickable links in e.g. Fl_Text_Display but havent found anything. Is there a way to make clickable links in text ? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo