Re: [fltk.bugs] [LOW] STR #2714: FLTK headers have shadow lint

2011-10-01 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?L2714 Version: 1.4-feature Matt: wait, are you sure it needs to be 1.4? I think this str can be solved within the 1.3.x series without variable name changes by simply

Re: [fltk.development] [RFE] STR #2721: Fl_Text_Display: patch for to draw cursor on a selected text area.

2011-10-01 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?L2721 Version: 1.3-feature Regarding this STR (cursor position within a selection), I've can't say I've ever seen this before anywhere. When something is selected, the

Re: [fltk.general] FLTK 1.3.1 release planning

2011-09-30 Thread Greg Ercolano
On 09/30/11 04:00, Matthias Melcher wrote: I may no be able to go through the regular release cycle because of the urgency of the 1.3.0 bug! Sounds good to fix the bad problem. I wonder if you can just apply the patch to the 1.3.0 code base that just fixes this one

Re: [fltk.general] fl_color() crashing program

2011-09-30 Thread Greg Ercolano
On 09/30/11 07:45, Paul R wrote: I just linked back to a build of 1.3 rc2 It worked fine, i am thinking i might need to rebuild the 1.3 library, i used msys and no errors were reported but i think i looked around for a snapshot that included the config and used that instead of the actual

Re: [fltk.bugs] [LOW] STR #2714: FLTK headers have shadow lint

2011-09-29 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?L2714 Version: 1.3-current According to the thread on fltk.development, it sounds like moving code from .H - .cxx won't affect the ABI, and may improve code

Re: [fltk.bugs] [HIGH] STR #2687: src/scandir.c should probably be removed or rewritten

2011-09-29 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?L2687 Version: 1.3.1 +1 for remove it and see if this causes any trouble. Link: http://www.fltk.org/str.php?L2687 Version: 1.3.1

Re: [fltk.development] An ABI issue with moving code from .H - .cxx?

2011-09-25 Thread Greg Ercolano
On 09/25/11 13:09, Bill Spitzak wrote: Inline is only implied if the method is defined inside the class definition. Right, clear on that now. What's interesting are the implications this has on dynamic libs; code changes made to lib methods implemented in .h won't be

[fltk.development] An ABI issue with moving code from .H - .cxx?

2011-09-23 Thread Greg Ercolano
I hope I haven't asked this one before: Does it create any kind of ABI issue if one moves a class method's code implementation from the .H file to the .cxx file? (ie. doesn't change the calling params or return value, just moves the code from one to the other)

Re: [fltk.development] An ABI issue with moving code from .H - .cxx?

2011-09-23 Thread Greg Ercolano
On 09/23/11 09:40, Bill Spitzak wrote: Functions defined in the body of the code in a .h file end inlined: Ick, I didn't know 'inline' would be implied if the code was implemented in the .H file. So it sounds like if an app /dynamically/ builds against a lib

Re: [fltk.development] Bye bye Quickdraw fltk-2.0

2011-09-18 Thread Greg Ercolano
On 18.09.2011, at 19:46, Jonathan Egstad wrote: (a big hi to all the old DD guys on this list) Egg! And old we are.. Someone kindly fetch me my cane and stool softener.. Is anyone touching 2.0 at all or should I look at the latest 1.3 to figure out the replacements for the

Re: [fltk.bugs] [MOD] STR #2711: FL_NORMAL_SIZE and menus

2011-09-14 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?L2711 Version: 1.3-current Attached file menubutton.png... Link: http://www.fltk.org/str.php?L2711 Version: 1.3-currentattachment:

Re: [fltk.bugs] [MOD] STR #2711: FL_NORMAL_SIZE and menus

2011-09-14 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?L2711 Version: 1.3-current Attached file radio.png... Link: http://www.fltk.org/str.php?L2711 Version: 1.3-currentattachment:

Re: [fltk.general] triggering buttons from the keyboard

2011-09-10 Thread Greg Ercolano
On 09/10/11 10:39, corvid wrote: With 2.0, pressing Enter triggers a button. In 1.3, only Space works. I believe Fl_Return_Button is what you'd want to use in 1.3.x to have the enter key trigger a button. ___ fltk mailing list

Re: [fltk.general] triggering buttons from the keyboard

2011-09-10 Thread Greg Ercolano
On 09/10/11 11:47, Greg Ercolano wrote: On 09/10/11 10:39, corvid wrote: With 2.0, pressing Enter triggers a button. In 1.3, only Space works. I believe Fl_Return_Button is what you'd want to use in 1.3.x to have the enter key trigger a button. I should add

Re: [fltk.general] triggering buttons from the keyboard

2011-09-10 Thread Greg Ercolano
On 09/10/11 12:40, corvid wrote: Which environments tend to use Space to trigger buttons? Linux is one. For instance if I run system-config-date (just picking a system gui at random), if I tab focus to the Help key, both Space and Enter trigger the button. Also, Thunderbird

Re: [fltk.bugs] [MOD] STR #2239: with --disable-gl, glut/glpuzzle.cxx tries to build anyway and fails

2011-09-06 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?L2239 Version: 2.0-current @Ben: yes, just tested with 2.0 r8800 (current tar snapshot), got the same errors. In my case I'm using centos 5.5, and used: make distclean;

Re: [fltk.general] FLTK with XFCE

2011-09-06 Thread Greg Ercolano
On 09/05/11 06:04, Steve Underwood wrote: I have finally posted some files showing this issue at http://www.soft-switch.org/fltk-bug/ . There are image captures of a fresh window, and the same window after partially covering and uncovering it. The code for the little program which produced

Re: [fltk.development] Fl_Native_File_Chooser on OSX

2011-09-05 Thread Greg Ercolano
If I run that app and do these steps: 1) File - Save As, filter appears 2) File - Open, *filter is missing* 3) File - Save As, *filter is missing* The filter being missing is the problem. [..] Perhaps _filt_total shouldn't be reset to

Re: [fltk.development] Fl_Native_File_Chooser on OSX

2011-09-04 Thread Greg Ercolano
On 09/03/11 14:47, Manolo Gouy wrote: All (but especially Greg I guess...) I have an app that uses the FNFC, and the OSX version crashes quite = often when I use the BROWSE_SAVE_AS mode - but the regular open file = case seems to be fine... Now, the app has been kicking about for a while,

Re: [fltk.development] Fl_Native_File_Chooser on OSX

2011-09-04 Thread Greg Ercolano
On 09/04/11 12:47, Manolo Gouy wrote: I see here, that there is a bug on OS X with the BROWSE_SAVE_FILE mode when the filter() function is used: the filter string needs to end with a \n; without it the program crashes. Do you see that as well ? Sounds like I should add a check for this

[fltk.bugs] [MOD] STR #2709: Windows7/x64 drawing problems in buttons.exe demo

2011-09-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?L2709 Version: 1.3.0 Posting this on Chao Han's behalf, who reported black pixels in lower/right corner of pressed buttons. See thread in fltk.general entitled Black dot

Re: [fltk.bugs] [MOD] STR #2709: Windows7/x64 drawing problems in buttons.exe demo

2011-09-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?L2709 Version: 1.3.0 Attached file buttons-draw-problem.png... Link: http://www.fltk.org/str.php?L2709 Version: 1.3.0attachment:

Re: [fltk.bugs] [MOD] STR #2709: Windows7/x64 drawing problems in buttons.exe demo

2011-09-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?L2709 Version: 1.3.0 Attached file buttons-draw-problem2.png... Link: http://www.fltk.org/str.php?L2709 Version: 1.3.0attachment:

Re: [fltk.development] FL_INTERNALS not needed for fl_xid()

2011-09-02 Thread Greg Ercolano
On 09/02/11 07:32, Manolo Gouy wrote: Greg: I don't think FL_INTERNALS should be defined before function fl_xid() is called, as implied in your r.9025 doc change. In files x.H and win32.H, fl_xid() is declared twice according to whether FL_INTERNALS is defined or not. In mac.H, it is defined

Re: [fltk.development] FL_INTERNALS not needed for fl_xid()

2011-09-02 Thread Greg Ercolano
On 09/02/11 10:56, Manolo Gouy wrote: Also, fl_xid() was part of the API and declared in x.H already in 1.1, without need for any extra symbol definition. OK, good. So just confirming: Should the public docs for fl_xid() indicate one should #include FL/x.H to make use

Re: [fltk.development] FL_INTERNALS not needed for fl_xid()

2011-09-02 Thread Greg Ercolano
On 09/02/11 12:54, Manolo Gouy wrote: This common header requirement is clearly stated at the top of the Operating System Issues section of the doc. Isn't that enough ? LOL, believe it or not, I missed it ;) Yes, it's certainly clear, right at the top. Actually, I'd

Re: [fltk.general] Black dot on the bottom right corner

2011-09-02 Thread Greg Ercolano
On 09/01/11 21:06, Chao Han wrote: Another screenshot - http://www.ge.tt/#!/8cjIDN7 http://www.ge.tt/#!/8FUGCN7 Received, confirming a dark pixel in the lower right corner of each depressed button. It would appear when a normal button is drawn, the right and bottom edges of the

Re: [fltk.general] Black dot on the bottom right corner

2011-09-02 Thread Greg Ercolano
On 09/02/11 00:33, Greg Ercolano wrote: On 09/01/11 21:06, Chao Han wrote: Another screenshot - http://www.ge.tt/#!/8cjIDN7 http://www.ge.tt/#!/8FUGCN7 Received, confirming a dark pixel in the lower right corner of each depressed button. Yes, I can replicate OP's exact problem

Re: [fltk.general] Black dot on the bottom right corner

2011-09-02 Thread Greg Ercolano
On 09/02/11 01:09, Greg Ercolano wrote: On 09/02/11 00:33, Greg Ercolano wrote: On 09/01/11 21:06, Chao Han wrote: Another screenshot - http://www.ge.tt/#!/8cjIDN7 http://www.ge.tt/#!/8FUGCN7 Yes, I can replicate OP's exact problem on my win7 64bit system with a version of 1.3.0 I

Re: [fltk.general] Black dot on the bottom right corner

2011-09-02 Thread Greg Ercolano
On 09/02/11 01:30, MacArthur, Ian (SELEX GALILEO, UK) wrote: Also seen on WinXP/32 with mingw and fltk-1.3 r9025. But only in certain cases... E.g. running examples from the test folder, I see problems with the buttons.exe but *not* with button.exe. The radio.exe seems to show it too, but

Re: [fltk.development] fl_xid() -- needs docs?

2011-09-01 Thread Greg Ercolano
On 08/06/11 10:07, Greg Ercolano wrote: After reading STR #2696 http://www.fltk.org/str.php?L2696 it sounded like we should add some docs for fl_xid() to mention the need for apps to #define FL_INTERNALS. I'm not sure what to write or I'd write it. This keeps coming up, so I added

Re: [fltk.general] Fl_X undefined

2011-09-01 Thread Greg Ercolano
On 09/01/11 12:08, Chao Han wrote: I just updated to the latest version 1.3.x-r9013, and my application failed to compile under VS 2008 (debug x64), complaining that Fl_X was undefined. Please give me some advice. See: http://fltk.org/newsgroups.php?gfltk.development+v:12524 Add this

Re: [fltk.general] Black dot on the bottom right corner

2011-09-01 Thread Greg Ercolano
On 09/01/11 14:32, Chao Han wrote: While running the test project - buttons in the solution ‘fltk’, I have found an issue. When pushed the one button, you can see a black DOT at the bottom right corner. Notes: Under the VS2008 - debug x64 (window7)-latest version 1.3.x-r9013, Sorry to

Re: [fltk.general] Black dot on the bottom right corner

2011-09-01 Thread Greg Ercolano
On 09/01/11 16:50, Chao Han wrote: Can you post a link to a screenshot showing the problem? 1) how to post a link to a screenshot. Use whatever technique you like to take the screenshot (Shift-PrtScreen, then paste into ms paint), upload the resulting image to some public location

Re: [fltk.general] FLTK with XFCE

2011-08-30 Thread Greg Ercolano
On 08/29/11 19:19, Steve Underwood wrote: I've been using FLTK for years on Linux and Windows machines. For the first time I have tried using it with XFCE 4.8, and I find a problem that doesn't seem to occur anywhere else. I am using FLTK 1.10. If I run Fluid, and create a window with some

Re: [fltk.development] FLTK3: Status

2011-08-29 Thread Greg Ercolano
On 08/29/11 01:26, MacArthur, Ian (SELEX GALILEO, UK) wrote: The example opens up a tcsh prompt. See, that's gotta be a bug, right there! ;-) You're right, it is a bug.. in bash! During dev, I was getting inconsistent behavior from bash on an old OSX 10.4.11

[fltk.development] FLTK terminal apps

2011-08-29 Thread Greg Ercolano
On 08/29/11 01:26, MacArthur, Ian (SELEX GALILEO, UK) wrote: It uses pthreads and bidirectional pipe(2)s. All FLTK operation is handled by the parent; the threads are just data pumps. [I chose not to use add_fd() to facilitate a Windows port] On WIN32, add_fd() will work OK

Re: [fltk.development] FLTK3: Status

2011-08-28 Thread Greg Ercolano
On 08/26/11 23:55, Matthias Melcher wrote: Well, for now the popen solution is somewhat OK. I want Fluid to launch all kinds of tools, which usually only requires reading characters from the tools. It would be nice to have some way to send characters as well, for example for launching gdb

Re: [fltk.development] FLTK3: Status

2011-08-26 Thread Greg Ercolano
On 08/26/11 09:05, Matthias Melcher wrote: If anyone has code that can act as a frontend to command line tools, and that can handle stdin, stdout, stderr, and signals simultaneously, please send code ;-). I need some kind of simple FLTK text terminal. This is as close as I'd ever

Re: [fltk.development] FLTK3: Status

2011-08-26 Thread Greg Ercolano
On 08/26/11 10:27, Greg Ercolano wrote: On 08/26/11 09:05, Matthias Melcher wrote: If anyone has code that can act as a frontend to command line tools, and that can handle stdin, stdout, stderr, and signals simultaneously, please send code ;-). I need some kind of simple FLTK text terminal

Re: [fltk.development] FLTK3: Status

2011-08-26 Thread Greg Ercolano
On 08/26/11 13:13, Evan Laforge wrote: Mmm, it probably could by replacing popen() with pipe()'s and fork()/exec(), with select() to watch the stdout/err pipe, and trapping keystrokes yourself and sending them to the stdin pipe. Tricky though. I'd do it myself, but this week

Re: [fltk.bugs] [MOD] STR #2704: Fl_Text_Editor: text cursor 'disappears' when buffer()-remove() is used

2011-08-25 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?L2704 Version: 1.3.0 Oh, getting this on both OSX 10.6.8 and centos 5.5 with 1.3.x current (r9010). Link: http://www.fltk.org/str.php?L2704 Version: 1.3.0

Re: [fltk.bugs] [MOD] STR #2704: Fl_Text_Editor: text cursor 'disappears' when buffer()-remove() is used

2011-08-25 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?L2704 Version: 1.3.0 Attached file cursor-problem-v2.cxx... Link: http://www.fltk.org/str.php?L2704 Version: 1.3.0#include FL/Fl.H #include FL/Fl_Double_Window.H #include

Re: [fltk.bugs] [HIGH] STR #2699: fltk 1.3 e.g fullscreen border off disappeared after Alt-Tab

2011-08-24 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?L2699 Version: 1.3-current Matt: can I close this bug? Seems more like a behavior of windows. If there's a way to control it and is something we should add to FLTK, then

Re: [fltk.bugs] [HIGH] STR #2699: fltk 1.3 e.g fullscreen border off disappeared after Alt-Tab

2011-08-23 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?L2699 Version: 1.3-current Cannot replicate with win7 + VS 2010 Express. If I Alt-Tab to another application, the borderless 'fullscreen' application remains. Are you

Re: [fltk.bugs] [HIGH] STR #2699: fltk 1.3 e.g fullscreen border off disappeared after Alt-Tab

2011-08-23 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?L2699 Version: 1.3-current Right, which sounds normal; borderless windows don't appear in Alt-Tab or the taskbar. If you restore the border, it will re-appear in both. I

Re: [fltk.general] Resizing behaviour of nested widgets

2011-08-23 Thread Greg Ercolano
On 08/23/11 03:14, MacArthur, Ian (SELEX GALILEO, UK) wrote: See below - based on Greg's suggestion to use a tile Looks like we both wrote the same code. Interesting to compare the two programs. For the lulz, I decided to score based on coding practice: GE IM -- -- +1 -

Re: [fltk.general] Automatic adding of children to FLTK groups

2011-08-22 Thread Greg Ercolano
On 08/22/11 00:29, Matthias Melcher wrote: If you end() the parent window, for instance, then widgets will be created but not attached to a parent [..] No, sorry, that's not true. Fl_Group::end() basically calls begin() on the parent group Well, kinda. If end() is

Re: [fltk.general] Resizing behaviour of nested widgets

2011-08-22 Thread Greg Ercolano
On 08/22/11 14:49, Jeff Paranich wrote: Hi All, I've read Article 415: How Does Resizing Work? and have been battling with trying to get one of my windows to behave how I'd like. I have done a mock sketch of my interface... it can be viewed here: http://i56.tinypic.com/2i94b4z.png

Re: [fltk.general] Resizing behaviour of nested widgets

2011-08-22 Thread Greg Ercolano
On 08/22/11 18:31, Greg Ercolano wrote: On 08/22/11 14:49, Jeff Paranich wrote: Hi All, I've read Article 415: How Does Resizing Work? and have been battling with trying to get one of my windows to behave how I'd like. I have done a mock sketch of my interface... it can be viewed here

Re: [fltk.general] dynamic gui widgets

2011-08-21 Thread Greg Ercolano
On 08/21/11 09:06, asif saeed wrote: Is there any code example illustrating constructing an FLTK based GUI dynamically? Particularly, the menu bar/menus/menu items? Can you provide any guidelines as to how to proceed in this direction? See the fltk 1.3.0 example/menubar-add.cxx which

Re: [fltk.general] Automatic adding of children to FLTK groups

2011-08-21 Thread Greg Ercolano
On 08/21/11 09:22, asif saeed wrote: Hi, Is there any way I could prevent my widgets from getting added to fltk groups automatically and have the ability to add fltk widgets to fltk groups myself - dynamically? begin() and end() are the way to control this. If you end() the

Re: [fltk.general] some doubt

2011-08-19 Thread Greg Ercolano
On 08/19/11 08:00, Chris wrote: this-win-label(TEST); First: is it correct to set the label inside the constructor or is the space for TEST released at the end of function? Yes, that's fine. All quoted strings are static, so it survives the entire program's

Re: [fltk.general] Problem with Fl_Double_Window

2011-08-19 Thread Greg Ercolano
On 08/19/11 03:47, PARAJU wrote: I made a program using the class Fl_Double_Window to make a graph, the problem is that when I open and close a window of another program, a part of my graphic disappears. But when I use the Fl_Window class, do not. What could be happening? To rule out it

Re: [fltk.bugs] Fl_Button::activate() doesn't

2011-08-18 Thread Greg Ercolano
Please do not post general questions here. Post to fltk.general. This list is for bug reports generated by the automated STR system only. Sorry for the confusion. ___ fltk-bugs mailing list fltk-bugs@easysw.com

Re: [fltk.general] Fl_Tree does not display widgets correctly

2011-08-16 Thread Greg Ercolano
On 08/16/11 00:25, Julian Schindler wrote: 1. When adding some more items to the tree (more than matching into a window) and adding a widget to each of them, the visualization is not correct, as the items are displayed outside the tree. The simply are added below the others, not taking into

Re: [fltk.development] [OT] Siggraph/Vancouver

2011-08-12 Thread Greg Ercolano
On 8/11/11 1:37 AM, MacArthur, Ian (SELEX GALILEO, UK) wrote: Congratulations on the the Academy Award btw.! Ah, you found out my secret ;) Sure - but you did put it up on your news page, so not all that much of a secret... LOL, I wouldn't have guessed anyone on FLTK keeps

Re: [fltk.general] how to erase line

2011-08-12 Thread Greg Ercolano
On 8/11/11 9:50 AM, ahmad wrote: Hello: can someone please tell me how to do you erase a line with a use of a button. For example if I have drawn 5 lines but the fifth line is icorrect, I would like to erase it. Need more info. What widget is drawing the lines, is it a

[fltk.development] [OT] Siggraph/Vancouver

2011-08-10 Thread Greg Ercolano
Any of you FLTK devs at Siggraph this week? If so, hit me up on email 'n we can haz cheezburgerz ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] [OT] Siggraph/Vancouver

2011-08-10 Thread Greg Ercolano
On 8/10/11 10:32 AM, Matthias Melcher wrote: On 10.08.2011, at 14:36, Greg Ercolano wrote: Any of you FLTK devs at Siggraph this week? If so, hit me up on email 'n we can haz cheezburgerz Aw man! I would love to, but I have not been at Siggraph *forever*. Sigh. I always loved that show

Re: [fltk.general] Launching web browser from fltk

2011-08-10 Thread Greg Ercolano
On 8/10/11 1:51 AM, Stuart Shepherd wrote: do you know if it is possible to have some clickable text as part of a label and when you click it Yes, if the label is instead a sufficiently disguised Fl_Help_View (or similar), then it will work in 1.3.0, eg: #include FL/Fl.H

[fltk.development] fl_xid() -- needs docs?

2011-08-06 Thread Greg Ercolano
After reading STR #2696 http://www.fltk.org/str.php?L2696 it sounded like we should add some docs for fl_xid() to mention the need for apps to #define FL_INTERNALS. I'm not sure what to write or I'd write it. Looks like documenation/src/osissues.dox is the file where fl_xid() is documented, and

Re: [fltk.general] command line options error

2011-08-04 Thread Greg Ercolano
On 08/04/11 00:43, asif saeed wrote: Is there any way to eliminate the fltk command-line options error dialog? You can either replace: window-show(argc,argv); ..with just: window-show(); Or, if you want to be able to pass FLTK arguments

Re: [fltk.general] best way to view html in my app

2011-08-01 Thread Greg Ercolano
On 08/01/11 15:46, Andrew Waldrum wrote: I am trying to add an help/instruction widget to my application and am having some trouble with the Fl_Help_View http://www.fltk.org/doc-1.3/classFl__Help__View.html in 1.3. It renders my page, kind of, but hotlinks do not work and images(neither png

[fltk.general] *crickets*

2011-07-31 Thread Greg Ercolano
Posting just to make sure the group is still working.. Everyone must be bbq'ing or something. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] FLTK 1.3 and Mac OS X Lion

2011-07-25 Thread Greg Ercolano
On 07/25/11 02:27, Matthias Melcher wrote: 2: This one is big! Apple has gone the Microsoft path and finally allows resizing of windows from every corner and side! It's about time! :D With that, I'd almost consider using OSX as a workstation. But lack of 'focus follows

Re: [fltk.general] Fl_Table::add() doesn't work properly?

2011-07-22 Thread Greg Ercolano
On 07/21/11 14:16, Percy wrote: Hi, I'm using FLTK 1.3.x r8861 with VS2008. I'm having a lot of trouble working with the Fl_Table class' add function. Here's some code: Fl_Window win( 800, 600, Window ); win.end(); // MyTable inherits

Re: [fltk.general] Fl_Table::add() doesn't work properly?

2011-07-22 Thread Greg Ercolano
Hmm, I think I see the problem. In short, the following patch to Fl_Table.H should solve it. I've applied this patch as svn r8868. Index: FL/Fl_Table.H === --- FL/Fl_Table.H (revision 8865) +++

Re: [fltk.general] Fl_Table::add() doesn't work properly?

2011-07-22 Thread Greg Ercolano
FWIW, here's a (compilable) test program similar to your code snippet I was using to test your issue. Note the -- comment below, as well as the additional calls to col_width_all() and row_height_all(), which I'd recommend you use, so that the table knows the width/height

Re: [fltk.general] Add a controllable timeout

2011-07-21 Thread Greg Ercolano
On 07/21/11 04:45, Paul R wrote: Hi all, i am a bit stuck with a program that is running far too fast it is an 3d implementation on the game of life and i am not sure where and or how to place fl timeouts, or even if that is the right option. First: short answer, if your program is

Re: [fltk.general] Add a controllable timeout

2011-07-21 Thread Greg Ercolano
On 07/21/11 06:01, Greg Ercolano wrote: Fl::repeat_timeout(speed, CalculateWorld); Oops, that line should have been: Fl::repeat_timeout(speed, TimerCallback); Also, I see it took so long to write my last post, that in the mean time you already had

Re: [fltk.general] Can't get text working

2011-07-21 Thread Greg Ercolano
On 07/21/11 04:27, Stuart Shepherd wrote: Thanks for all your replies. I'm as sure as I can be that I have the fonts installed, and that nanoX and nxlib are pointed to the right place to find them. I have complied without xft and with, made no difference. The thing that is confusing me most

Re: [fltk.development] src/scandir.c

2011-07-20 Thread Greg Ercolano
On 07/20/11 03:14, Albrecht Schlosser wrote: On 20.07.2011 10:04, MacArthur, Ian (SELEX GALILEO, UK) wrote: Agreed, but then we might have to maintain dead code, and given the complexity of all that #if HAVE_something stuff, i'd like to remove it for all times... Suggest we comment out

Re: [fltk.development] Fl_Input_Choice suggestions

2011-07-20 Thread Greg Ercolano
On 07/20/11 02:11, MacArthur, Ian (SELEX GALILEO, UK) wrote: Pretty sure the others would have no impact. I think adding new methods is OK. (But see above!) Does it change the size of the class though? No changes in size, just adding code. Changing the return value

[fltk.bugs] [HIGH] STR #2687: src/scandir.c should probably be removed or rewritten

2011-07-19 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?L2687 Version: 1.3.1 The issue being this appears to be GPL code that is probably not compatible with our LGPL/static exception. There's some question as to what

Re: [fltk.development] LGPL question

2011-07-19 Thread Greg Ercolano
Great, I've made STR#2685 and assigning it to myself. Big thank you for volunteering for such a big task. One question though: are we (you) going to do this for 1.3, 3.0, or both? ;-) I guess both in the longer term, but we do 1.3 first... and it appears Greg would agree, as he's

Re: [fltk.development] LGPL question

2011-07-19 Thread Greg Ercolano
On 07/19/11 05:52, Greg Ercolano wrote: Great, I've made STR#2685 and assigning it to myself. Big thank you for volunteering for such a big task. One question though: are we (you) going to do this for 1.3, 3.0, or both? ;-) I guess both in the longer term, but we do 1.3 first

Re: [fltk.development] src/scandir.c

2011-07-19 Thread Greg Ercolano
On 07/19/11 08:14, MacArthur, Ian (SELEX GALILEO, UK) wrote: I just tried a test on linux + osx where I removed the file and ran a 'make clean; make'. The build stopped at that file on both platforms, so it *is* getting linked on normal builds. Seems like we gotta fix this.

Re: [fltk.development] src/scandir.c

2011-07-19 Thread Greg Ercolano
On 07/19/11 07:56, Albrecht Schlosser wrote: On 19.07.2011 15:29, Greg Ercolano wrote: I just tried a test on linux + osx where I removed the file and ran a 'make clean; make'. The build stopped at that file on both platforms, so it *is* getting linked on normal builds

[fltk.development] Fl_Input_Choice suggestions

2011-07-19 Thread Greg Ercolano
Would like to suggest adding a few things to Fl_Input_Choice: 1) Change the existing method: void add(const char *s) { menu_-add(s); } to instead: int add(const char *s) { return(menu_-add(s)); } This corrects an omission, allowing the user to access

Re: [fltk.development] src/scandir.c

2011-07-19 Thread Greg Ercolano
[..] Made STR #2687 to track this issue. http://fltk.org/str.php?L2687 ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.general] How can I get system fonts and them sizes?

2011-07-19 Thread Greg Ercolano
On 07/19/11 04:52, kdi...@live.ru wrote: MacArthur, Ian (SELEX GALILEO, UK) wrote: If I understand the question right, you are saying that if you post to the list from your email client, then your messages appear in the list OK, but you do not get a copy returned to you? No Ian! Anyway

Re: [fltk.general] How can I get system fonts and them sizes?

2011-07-19 Thread Greg Ercolano
On 07/19/11 08:16, kdi...@live.ru wrote: Do you want to receive messages that do not match any topic filter?: no I'm not sure, but try setting that option to 'yes'. ___ fltk mailing list fltk@easysw.com

Re: [fltk.general] smallest possible C++ subset for C programmers?

2011-07-19 Thread Greg Ercolano
On 07/19/11 14:04, Patrick Mc(avery wrote: I don't really know much about the standard library, friend functions, overloading and exceptions but should I care? If I understand the C++ subset that deals with the above code am I pretty much ready good to go? Many folks in your position

Re: [fltk.bugs] [HIGH] STR #2683: Crash Fl_Text_Display when I'm calling disp-show_cursor(true);

2011-07-18 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?L2683 Version: 1.3-current This is because the text buffer hasn't been assigned to the display yet when show_cursor() is being called. If you move the call to

Re: [fltk.bugs] [HIGH] STR #2683: Crash Fl_Text_Display when I'm calling disp-show_cursor(true);

2011-07-18 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?L2683 Version: 1.3-current Attached file show_cursor.patch... Link: http://www.fltk.org/str.php?L2683 Version: 1.3-currentIndex: src/Fl_Text_Display.cxx

Re: [fltk.bugs] [HIGH] STR #2683: Crash Fl_Text_Display when I'm calling disp-show_cursor(true);

2011-07-18 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?L2683 Version: 1.3-current Suggested patch attached. Or, modify docs for show_cusor() to indicate textbuffer() must first be set. Many other methods would need to be

[fltk.bugs] [MOD] STR #2685: Clarify LGPL license headers in all source code

2011-07-18 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?L2685 Version: 1.3.1 The FLTK source code headers currently refer to the LGPL at GNU, which doesn't include the FLTK 'static link' exception. To clarify this, suggesting

Re: [fltk.bugs] [MOD] STR #2685: Clarify LGPL license headers in all source code

2011-07-18 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?L2685 Version: 1.3.1 Link: http://www.fltk.org/str.php?L2685 Version: 1.3.1 ___ fltk-bugs mailing list fltk-bugs@easysw.com

Re: [fltk.bugs] [MOD] STR #2685: Clarify LGPL license headers in all source code

2011-07-18 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?L2685 Version: 1.3.1 Applied as r8864, one giant code change. Link: http://www.fltk.org/str.php?L2685 Version: 1.3.1 ___

Re: [fltk.development] [RFE] STR #1725: FLTK2's FLUID (and FLTK lib) should handle better UTF8 input/output chars

2011-07-18 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?L1725 Version: 2.0-feature Fix Version: 2.0-feature Amy/cg.amit: the developers are wondering why you attached this very old (circa 2001) enumerations.H file to this FLTK

[fltk.development] src/scandir.c

2011-07-18 Thread Greg Ercolano
Hmm, can someone check the LGPL header src/scandir.c? While doing the LGPL header mods for STR #2685, I noticed this file appears to be part of the GNU C Library, which may not be compat with the FLTK static LGPL exception. This code might need to be re-written.

Re: [fltk.general] How can I get system fonts and them sizes?

2011-07-18 Thread Greg Ercolano
On 07/18/11 20:39, Dmitrij K wrote: Hi there! It needs me for setup them in my apps... Which platform? If linux, try 'xfontsel' (old X font names) or 'fc-list' (newer names). Not sure about windows and osx; on those, I usually open a text

Re: [fltk.development] 1.3.0 ABI

2011-07-17 Thread Greg Ercolano
On 07/16/11 20:57, Michael Sweet wrote: Yes, no incompatible ABI changes in patch releases (you could have a method that refers to the global default, but not add something to the class that would change the size...) If someone can supply the new text, I can do the footwork

Re: [fltk.development] [RFE] STR #2679: Fl_Table: this is patch is changeing size of scrollbar (for the size is takeing from scheme/theme, but do not from constant of source).

2011-07-17 Thread Greg Ercolano
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2679 Version: 1.3-feature Fix Version: 1.3.1 (r8863) Fixed in Subversion repository. Link: http://www.fltk.org/str.php?L2679 Version: 1.3-feature Fix Version: 1.3.1 (r8863) ___ fltk-dev

[fltk.development] [RFE] STR #2681: Fl_Table::scrollbar_size() method needed

2011-07-17 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?L2681 Version: 1.4-feature Fl_Table needs a local scrollbar_size() method, similar to Fl_Tree, Fl_Browser, etc. Once added, adjust test/unittest_scrollbarsize.cxx to call

Re: [fltk.development] 1.3.0 ABI

2011-07-17 Thread Greg Ercolano
On 07/17/11 02:01, Albrecht Schlosser wrote: On 17.07.2011 08:24, Greg Ercolano wrote: On 07/16/11 20:57, Michael Sweet wrote: Yes, no incompatible ABI changes in patch releases (you could have a method that refers to the global default, but not add something to the class that would change

Re: [fltk.development] LGPL question

2011-07-17 Thread Greg Ercolano
On 07/16/11 20:37, Michael Sweet wrote: We should drop the reference to gnu.org and just refer to it as the FLTK License... If someone can supply the new license text that we should use, I can do the footwork of the mega-diff. ___

Re: [fltk.development] [RFE] STR #2679: Fl_Table: this is patch ischangeing size of scrollbar (for the size is takeing from scheme/theme, but do not from constant of source).

2011-07-16 Thread Greg Ercolano
On 07/16/11 06:15, Dmitrij K wrote: Albrecht Schlosser albrec...@go4more.de wrote: -#define SCROLLBAR_SIZE 16 +#define SCROLLBAR_SIZE (Fl::scrollbar_size()) Perhaps it will to have conflicts for names of variables from users (SCROLLBAR_SIZE), But maybe and not... It

Re: [fltk.general] Problem with Fl_PNG_Image and longfilename path(Windows XP)

2011-07-16 Thread Greg Ercolano
); const int deskw = 1500; const int deskh = 1500; // This is a class of mine (actually, a class made by Greg Ercolano). // Weird thing is that, if I remove //the following line, then the app will work ok no matter which one // of the previous options

<    4   5   6   7   8   9   10   11   12   13   >