Re: [fltk.general] capture widget image

2009-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
very large graphs. In the application the graphs are scrollable, in this way you can see any details, but now I need to have the whole graph as an image in order to save/export; a screen capture does not work as it only captures the actual scroll pane. I tried to look at Fl_Image*

Re: [fltk.general] grabing screen

2009-02-02 Thread Fabio Bracci
Hi, I'm trying to grab the content of a Fl_Scroll. can I use the very same fl_read_image? there aren't any window/widget parameters to specify... even more important: will fl_read_image just grab a window/widget shown on the screen or also items which are scrolled away by a Fl_Scroll (so those

Re: [fltk.general] capture widget image

2009-02-02 Thread Fabio Bracci
Hi, very large graphs. In the application the graphs are scrollable, in this way you can see any details, but now I need to have the whole graph as an image in order to save/export; a screen capture does not work as it only captures the actual scroll pane. I tried to look at Fl_Image*

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
Hovewer libplot is really old and only permits to specify a few postscript and PCL font, so i think i will switch library for a recent one, i was thinking cairo+pango. OK - that can work. For what it is worth, I have an application that uses fltk to render it's on-screen displays, but

Re: [fltk.general] capture widget image

2009-02-02 Thread MacArthur, Ian (SELEX GALILEO, UK)
Well, I'm wondering just now how to grab an overall view of my graphs, as I am a fltk/fluid beginner, until now I just focused on getting the visualization done. Now my thesis project is finishing and I realize I need an overall visualization of my graphs... My purpose is to save such a

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread cage
On Mon, Feb 02, 2009 at 06:09:51PM -, MacArthur, Ian (SELEX GALILEO, UK) wrote: Hovewer libplot is really old and only permits to specify a few postscript and PCL font, so i think i will switch library for a recent one, i was thinking cairo+pango. OK - that can work. For

Re: [fltk.general] capture widget image

2009-02-02 Thread Greg Ercolano
Thanx, I will look into the fl_offscreen; are there any examples/code snippets here on the site? I just grepped the fltk 1.3.x 'FL' directory; looks like the functions are: fl_create_offscreen(w,h) fl_begin_offscreen(pixmap)

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread imacarthur
On 2 Feb 2009, at 19:11, cage wrote: what i find frustrating is that the pango documentation appear a little bit dispersive. Do you need PanGo? It is really only useful if you want to manipulate complex text (e.g. mixing right-to-left and left-to-right languages on screen, or rendering

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread cage
On Mon, Feb 02, 2009 at 07:40:05PM +, imacarthur wrote: On 2 Feb 2009, at 19:11, cage wrote: what i find frustrating is that the pango documentation appear a little bit dispersive. Do you need PanGo? It is really only useful if you want to manipulate complex text (e.g. mixing

Re: [fltk.general] capture widget image

2009-02-02 Thread imacarthur
On 2 Feb 2009, at 19:39, Greg Ercolano wrote: Thanx, I will look into the fl_offscreen; are there any examples/code snippets here on the site? I just grepped the fltk 1.3.x 'FL' directory; looks like the functions are: fl_create_offscreen(w,h)

Re: [fltk.general] Limited the position of Tabs/Close-Tab button (FLTK2)

2009-02-02 Thread João Ricardo Lourenço
João Ricardo Lourenço wrote: As there is no close-tab button, I am trying to implement a button that does the job. Is this basically just adding an 'x' button to the tabs, similar to Firefox's tabs? eg: ___ ___ ___

Re: [fltk.general] fl_bitmap drawing operator.

2009-02-02 Thread Jos Dreesen
Jos Dreesen wrote: This works, i get a more or less usable display. But at the expected cost of some flicker. As Ian mentioned, use an Fl_Double_Window instead of Fl_Window. That should prevent seeing drawing operations as they run. The flickering was caused by me

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread cage
On Sun, Feb 01, 2009 at 07:38:15PM +, imacarthur wrote: On 1 Feb 2009, at 14:24, cage wrote: If you change the '18' to '*' then it should wildcard the size so that FLTK can control the sizes. I was expecting this too, but on my system the size of the rendered text do not

[fltk.general] capture widget image

2009-02-02 Thread Fabio Bracci
Hi everybody, I have an application based on fltk 1.1.9 which produces very large graphs. In the application the graphs are scrollable, in this way you can see any details, but now I need to have the whole graph as an image in order to save/export; a screen capture does not work as it only

Re: [fltk.general] strange issue with courier font

2009-02-02 Thread Greg Ercolano
[linux font hell] Adding to the fray, here's a 'howto' doc on linux fonts which gets straight to the point: Why Fonts on Linux Aren't Straight Forward? http://tldp.org/HOWTO/Font-HOWTO/notgood.html The rest of that doc has good stuff. And if you follow enough links, you may end up

Re: [fltk.general] HOWTO: portably find the FLTK headers?

2009-02-02 Thread Jeremy Henty
On Fri, Jan 30, 2009 at 05:55:54PM +, imacarthur wrote: On 30 Jan 2009, at 10:31, Jeremy Henty wrote: Maybe we should lobby for the reintroduction of the --prefix option. I would! Though even that wouldn't handle a system configured with --prefix=something

[fltk.bugs] [MOD] STR #2136: test/help program shows no HTML, coredumps on linux (fedora3)

2009-02-02 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2136 Version: 1.3-current Seems the test/help program no longer shows an example html page anymore, because it wants to show ../documentation/main.html which no longer

[fltk.development] capture widget image

2009-02-02 Thread Fabio Bracci
Hi everybody, I have an application based on fltk 1.1.9 which produces very large graphs. In the application the graphs are scrollable, in this way you can see any details, but now I need to have the whole graph as an image in order to save/export; a screen capture does not work as it only

[fltk.development] fl_xxx() functions: hard to find in the doxygen docs?

2009-02-02 Thread Greg Ercolano
On the new docs page: http://fltk.org/doc-1.3/index.html I see the old docs are on the RHS, and the doxygen docs are on the LHS. I'm curious where to find the complete alphabetical list of all the fl_xxx() functions on the doxygen side? (I know they are under 'Functions' on the old docs page) I

Re: [fltk.development] fl_xxx() functions: hard to find in the doxygen docs?

2009-02-02 Thread imacarthur
On 2 Feb 2009, at 19:48, Greg Ercolano wrote: On the new docs page: http://fltk.org/doc-1.3/index.html I see the old docs are on the RHS, and the doxygen docs are on the LHS. I'm curious where to find the complete alphabetical list of all the fl_xxx() functions on the doxygen side? (I

Re: [fltk.development] fl_xxx() functions: hard to find in the doxygen docs?

2009-02-02 Thread Duncan Gibson
I'm curious where to find the complete alphabetical list of all the fl_xxx() functions on the doxygen side? (I know they are under 'Functions' on the old docs page) I was kinda expecting below '(+) Class List' to find a '(+) Functions' link. Would be great if it had /all/ the fl_()

Re: [fltk.development] fl_xxx() functions: hard to find in thedoxygen docs?

2009-02-02 Thread Greg Ercolano
imacarthur wrote: Actually, I just (yesterday) checked out 1.3 on a clean win32/mingw box and was surprised that the help-view demo failed when I was running through the test folder. Yes, like you, I think I brought this up on fltk.dev a few weeks ago: