Re: [fltk.development] FLTK '@' symbols question [fl_add_symbol() RFE]

2013-03-25 Thread Greg Ercolano
[Changing the subject a bit to avoid a thread jack] On 03/25/13 09:25, Roman Kantor wrote: Somewhat related, it would be nice if fl_add_symbol() would accept not only drawing functions but also images, even without additional scaling and rotations. In the symbol table there is an int flag

[fltk.development] RFC: Adding when() support in Fl_Tabs

2013-03-25 Thread Greg Ercolano
To solve STR#2939 Fl_Tabs not honoring when(FL_WHEN_NOT_CHANGED) noticed that Fl_Tabs doesn't really make use of when() at all. It seems to me tabs are very much like radio buttons, so it seems it would make sense to model Fl_Tabs handling of when() after radio button's. With radio buttons, the

Re: [fltk.development] RFC: Adding when() support in Fl_Tabs

2013-03-25 Thread Greg Ercolano
On 03/25/13 19:37, Greg Ercolano wrote: With radio buttons, the behavior is: 0) FL_WHEN_NEVER -- callback never invoked 1) FL_WHEN_CHANGED -- invokes callback when click changes a button's state (no callback if no change) 2

Re: [fltk.general] Fl_Tabs: How to find the tab that is clicked upon

2013-03-25 Thread Greg Ercolano
On 03/25/13 07:53, testalucida wrote: I just overlooked the which( x, y ) method which exactly fits my needs. Great -- yes, it's easy to miss, because it wasn't documented! ;) Fixed in r9849: - Fl_Widget *

Re: [fltk.bugs] [MOD] STR #2772: Remove possibly dead code in fl_draw.cxx::fl_measure()

2013-03-24 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2772 Version: 1.3-current Attaching a patch to simplify fl_measure()'s handling of symbols. Result should give same results as old code, but should probably check odd

Re: [fltk.bugs] [MOD] STR #2862: Fl_Table keyboard nav issue: can't use tab to navigate off the widget

2013-03-23 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2862 Version: 1.3-current Fix Version: 1.3-current Fixed in Subversion repository. Fixed (a) and (b) in r9843. Partial changes for (c):

Re: [fltk.bugs] [MOD] STR #2862: Fl_Table keyboard nav issue: can't use tab to navigate off the widget

2013-03-23 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2862 Version: 1.3-current Fix Version: 1.3-current Looks like Fl_Table_Row needs some fixes as well to support keyboard navigation. So still todo: e) Fl_Table_Row

Re: [fltk.bugs] [MOD] STR #2862: Fl_Table keyboard nav issue: can't use tab to navigate off the widget

2013-03-23 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2862 Version: 1.3-current Fix Version: 1.3-current Made small change in r9844 so that Tab can navigate to/from the input field in foo_v2.cxx attached in this STR when

Re: [fltk.bugs] [MOD] STR #2862: Fl_Table keyboard nav issue: can't use tab to navigate off the widget

2013-03-23 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2862 Version: 1.3-current Fix Version: 1.3-current Adding another item to the issues list: (h) Both Fl_Table and Fl_Table_Row will need to heed

Re: [fltk.bugs] [HIGH] STR #2897: function Fl_Menu_Item::size() works wrong when Fl_Menu_Item does not meet specification

2013-03-23 Thread Greg Ercolano
[STR Closed w/o Resolution] Link: http://www.fltk.org/str.php?L2897 Version: 1.1.10 Fix Version: None We are unable to resolve this problem with the information provided. If you discover new information, please file a new STR referencing this one. Closing this due to no response from OP after

Re: [fltk.bugs] [MOD] STR #2772: Remove possibly dead code in fl_draw.cxx::fl_measure()

2013-03-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?L2772 Version: 1.3-current Taking ownership of this.. Link: http://www.fltk.org/str.php?L2772 Version: 1.3-current ___

Re: [fltk.development] [RFE] STR #2434: Fl_Native_File_Chooser and Fl_Table could use some screenshots in docs

2013-03-23 Thread Greg Ercolano
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2434 Version: 1.3-feature Fix Version: 1.3-current (r8094) Fixed in Subversion repository. These were all added a while ago; closing. Link: http://www.fltk.org/str.php?L2434 Version: 1.3-feature Fix Version: 1.3-current (r8094)

Re: [fltk.development] [RFE] STR #1739: [PATCH] Add support for icons in Fl_Browser

2013-03-23 Thread Greg Ercolano
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L1739 Version: 1.4-feature Fix Version: 1.3.0 (r6850) Fixed in Subversion repository. This was implemented but never closed. Link: http://www.fltk.org/str.php?L1739 Version: 1.4-feature Fix Version: 1.3.0 (r6850)

[fltk.development] FLTK '@' symbols question

2013-03-23 Thread Greg Ercolano
I'm working on fixing STR #2772 (removing extraneous code in fl_measure()) and need to understand in detail how we support '@' symbols in FLTK. Question: I want to verify that '@' symbols in labels (eg. @-) are only allowed at either *the very beginning* or *very end* of a string,

[fltk.development] [RFE] STR #2936: fluid: needs mods to allow defining a 'namespace'

2013-03-21 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?L2936 Version: 1.3-feature (Submitted on behalf of Gonzalo's request on fltk.general 03/20/13) Fluid seems not to allow one to define a 'namespace' for functions/methods

Re: [fltk.general] fltk1.3 namespace in fluid

2013-03-21 Thread Greg Ercolano
I am trying to port my software from flkt2 to fltk1.3. However fluid1.3 complains due to lacking namespaces. Any chance of adding namespaces to fluid1.3 or a work-around? Gonzalo, I've opened STR #2936 for this feature request, so that it doesn't get lost.

Re: [fltk.general] fltk1.3 namespace in fluid

2013-03-21 Thread Greg Ercolano
On 03/21/13 11:24, MacArthur, Ian (Selex ES, UK) wrote: Oh, was Gonzalo asking whether fluid could support namespaces? I suppose in fluid a namespace might be entered a bit like a grouping widget, such that other entities would be declared nested inside it? Is that the sort of thing?

Re: [fltk.general] fltk1.3 namespace in fluid

2013-03-20 Thread Greg Ercolano
On 03/20/13 11:25, Gonzalo Garramuno wrote: I am trying to port my software from flkt2 to fltk1.3. However fluid1.3 complains due to lacking namespaces. Any chance of adding namespaces to fluid1.3 or a work-around? To use a namespace, I'd think New-Code-Declaration, and set it to:

Re: [fltk.general] fltk1.3 namespace in fluid

2013-03-20 Thread Greg Ercolano
On 03/20/13 13:51, Greg Ercolano wrote: Sorry I can't think of anything better; looks like fluid needs to be modified, because New-Code-Declaration complains about the unclosed brace. I don't know fluid's code well at all, but it looks like the 'code check' is due

Re: [fltk.general] fltk1.3 namespace in fluid

2013-03-20 Thread Greg Ercolano
On 03/20/13 14:26, Greg Ercolano wrote: Perhaps an easy hack is to modify this line in Fl_Decl_Type::open(): message = c_check(cc[0]=='#' ? c+1 : c); ..to instead read something like: if ( !strncmp(c,namespace,9) !strcmp(c,};) ) message = c_check(cc[0]=='#' ? c+1 : c

Re: [fltk.general] Smooth blinking

2013-03-18 Thread Greg Ercolano
On 03/18/13 08:00, memoryl...@tin.it wrote: Hi all, forgive me but here is another question, not-so-evident for me. You have to realize a blinking message, or an object which periodically swaps two images : think of an alarm icon. The alarm is sounding, and the icon keeps alternating

Re: [fltk.general] Alpha blending with Fl_PNG_Image

2013-03-16 Thread Greg Ercolano
On 03/15/13 19:21, Chris Russ wrote: But alpha blending isn't happening. This technique works for me: http://seriss.com/people/erco/fltk/#AlphaBlend ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] R: Re: R: Bargraph object with Fl_Group

2013-03-15 Thread Greg Ercolano
On 03/15/13 08:02, memoryl...@tin.it wrote: I need a bit of thinking. I am writing an app for creating supervision screens on an embedded platform. All is ruled by a configuration text file : it is parsed from my program which then creates all the pages, the buttons for page jumps, the

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 03:24, Edzard Egberts wrote: #includeFL/Fl.H #includeFL/Fl_Window.H #includeFL/Fl_Input.H #includeFL/Fl_Output.H int main() { Fl_Window win(400, 600, TestWindow); win.begin(); Fl_Output test(50, 50, 300, 500, Test); This is wrong, you must create widgets

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 03:59, Mirko D. Comparetti wrote: The strange thing is that if I change Output in Input (in the non-pointer solution), it works perfectly. Sounds like when you get that error, the Makefile target isn't linking in libfltk.a (or -l fltk) I don't know cmake

Re: [fltk.general] Linker problem with Fl_Output

2013-03-13 Thread Greg Ercolano
On 03/13/13 04:28, Greg Ercolano wrote: Almost positive though that the error you're seeing is because its not linking in liblftk.a (or using -l fltk). Unless it's what Albrecht mentioned about linking dynamically.. something I almost never do

Re: [fltk.general] fl_alert

2013-03-13 Thread Greg Ercolano
On 03/13/13 14:35, Richard Sanders wrote: fl_alert seems to crash when supplied with a format field and the required parameters. I used the exact same as sprintf (that does not crash). This is for win64 and mingw64 with FLTK-1.3.2 (all compiled 64 bit). I have not tried in Linux or win32.

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-13 Thread Greg Ercolano
On 03/06/13 10:26, Greg Ercolano wrote: On 03/06/13 09:47, Greg Ercolano wrote: I could make an example, but thinking the above might get you in the right direction. I lied. Made one anyway; wanted to see it work. Implemented pretty much exactly as described.. BTW, added

Re: [fltk.general] fl_alert

2013-03-13 Thread Greg Ercolano
On 03/13/13 15:06, Greg Ercolano wrote: On 03/13/13 14:35, Richard Sanders wrote: fl_alert seems to crash when supplied with a format field and the required parameters. I used the exact same as sprintf (that does not crash). This is for win64 and mingw64 with FLTK-1.3.2 (all compiled 64 bit

Re: [fltk.general] Fl_Table_Row - Event on selection Change

2013-03-11 Thread Greg Ercolano
Thanks for the patch -- I'll take a look into this some time this week. Whatever is implemented, it should follow the pattern of behavior defined in Fl_Browser and friends (In this case, Fl_Multi_Browser). In Fl_Multi_Browser, the default is to trigger the callback on mouse button release, and

Re: [fltk.development] Vote request: addition of two newschemesgrad and gleam

2013-03-09 Thread Greg Ercolano
On 03/09/13 01:04, Ian MacArthur wrote: On 9 Mar 2013, at 01:57, Greg Ercolano wrote: I added a chooser for the different schemes, and squeezed in Edmanuel's widget panel that shows how the schemes look with different widgets. Here's a thought (I haven't checked the latest

Re: [fltk.development] [RFE] STR #2675: Patch for a new theme of FLTK 1.3 (with gradient).

2013-03-08 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?L2675 Version: 1.4-feature Note: STR#2672 (patch for gleam) I think conflicts with this patch, if both are trying to implement gleam. Both STR's are currently active;

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-08 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?L2672 Version: 1.4-feature Note: STR #2675 may be in conflict; it is suggesting a patch that is a combo of gleam and grad schemes. Both STRs are currently active; L

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-08 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2672 Version: 1.4-feature Link: http://www.fltk.org/str.php?L2672 Version: 1.4-feature ___ fltk-dev mailing list

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-08 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2672 Version: 1.4-feature Attached file unittest-mods.png... Link: http://www.fltk.org/str.php?L2672 Version: 1.4-featureattachment:

Re: [fltk.development] [RFE] STR #2675: Patch for a new theme of FLTK 1.3 (with gradient).

2013-03-08 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2675 Version: 1.4-feature Testing the latest patch -- how do I test it? I tried building fltk and then running e.g.: test/buttons -scheme grad1 test/buttons

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-08 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2672 Version: 1.4-feature Attaching a patch for test/unittests that implements the test/gleam program code into it. (unittests-schemes.patch) Also, attached

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-07 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?L2672 Version: 1.4-feature Hi Edmanuel, Thanks for the great work -- can I suggest attaching a screenshot showing what glean does? It would help motivate a merge. Link:

Re: [fltk.development] [RFE] STR #2672: Updated Gleam patch against FLTK1.3.x-r8816

2013-03-07 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?L2672 Version: 1.4-feature Question about this patch: I noticed this line in the patch that adds the scheme gleam to fluid: + Fl::scheme(gleam); ..but support of the

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 08:09, Doug Parks wrote: I am using a Slider Input widget, created from the example on Erco's FLTK Cheat page. I am trying to duplicate the widget on multiple pages such that when I change it on one it is changed on the other page. How would I go about doing this because the

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 09:08, Doug Parks wrote: I guess your idea of multiple sliders that are slaved together would be the best example. When I say pages I mean different windows. What I have are three different windows that are able to control the same volume level. I am trying to get the sliders to

Re: [fltk.general] Duplicating a widget on multiple pages

2013-03-06 Thread Greg Ercolano
On 03/06/13 09:47, Greg Ercolano wrote: I could make an example, but thinking the above might get you in the right direction. I lied. Made one anyway; wanted to see it work. Implemented pretty much exactly as described

Re: [fltk.general] Question about Fl_Input

2013-03-04 Thread Greg Ercolano
On 03/04/13 01:39, MacArthur, Ian (Selex ES, UK) wrote: Yeah, I had wondered about doing that - particularly given that Edgar intimated he had PNG's for the musical glyphs he was using... But, I'm still thinking that loading a musical font is the best way to go, and on that basis I was keen

Re: [fltk.general] Which Fl_Menu_Bar submenu is current?

2013-03-02 Thread Greg Ercolano
On 03/01/13 15:50, Howard Rubin wrote: Hello, How can I find out which dropdown menu of an Fl_Menu_Bar is currently dropped down (if any)? Not too familiar with this part of the code, but looking at the source, I don't think the API provides a way to do this.

Re: [fltk.development] FLTK version number update and releaseprocess [WAS: Re: [fltk.bugs] [MOD] STR #2932: 1.3.2 tarball not packagedproperly]

2013-03-01 Thread Greg Ercolano
On 03/01/13 01:33, MacArthur, Ian (Selex ES, UK) wrote: What Mike said: As soon as *anything* in SVN changes after a release, we need to bump the version numbers in some way. Or, just change it immediately after release. Changing the version number is itself a change, and would

Re: [fltk.development] FLTK version number update andreleaseprocess [WAS: Re: [fltk.bugs] [MOD] STR #2932: 1.3.2tarball not packagedproperly]

2013-03-01 Thread Greg Ercolano
Not sure what that number becomes if we ever move to git, though.. What it becomes, as you know, is a human-opaque string of gibberish... (Technically I understand why it is like that, but I really can't believe we couldn't figure out some way to hide that behind some human-friendly

Re: [fltk.bugs] [MOD] STR #2932: 1.3.2 tarball not packaged properly

2013-02-28 Thread Greg Ercolano
On 02/28/13 15:24, Albrecht Schlosser wrote: We'll need to take care of this for the next release. Unfortunately there are several places with version numbers that need to be adjusted manually for each release. :-( We probably should have a checklist as part of the CMP, or similar

Re: [fltk.development] RFC: decision on license to use forfltk/examples source code

2013-02-27 Thread Greg Ercolano
Would like to hear from Albrecht, Matt, and Mike on this as well. Greg: Zlib or MIT with exceptions to relax use and not require citations Ian: Zlib, add exception to relax code use Recommendations of other licenses are fine too. I think all we really want people NOT to do is

Re: [fltk.general] Plotting CPU and RAM

2013-02-27 Thread Greg Ercolano
On 02/26/13 12:28, Greg Ercolano wrote: http://seriss.com/people/erco/fltk/tmp/alpha-progress-bar.jpg I'll see if I can post the code for that widget.. OK, try this: http://seriss.com/people/erco/fltk/#MultiColorBarGraph Tested on linux.. too tired to test

Re: [fltk.general] Will there be theming at runtime in FLTK 3.0 ???

2013-02-24 Thread Greg Ercolano
On 02/24/13 16:55, Greg Ercolano wrote: Also, folks have used FLTK 1.x to make nice looking interfaces.. see for instance: ..oops, hit send prematurely; there are many others, but I like the first two in this list the most. http://prodatum.sourceforge.net

Re: [fltk.development] C API experiment

2013-02-22 Thread Greg Ercolano
On 02/22/13 06:46, Patrick wrote: Having said that, I think that a C binding would really help the project and I would like to help, please let me know if I can. IIRC, FLTK started as a C++ rewrite of C based xforms (and by extension, forms) xforms is still around:

Re: [fltk.development] reworking examples folder

2013-02-22 Thread Greg Ercolano
On 02/22/13 15:15, Patrick wrote: If you have suitable pixmaps, might be worth a shot: we'd need to be sure about the licensing and copyright mind you - that seems to be much more a pain these days that in was back in the day... What about this site: http://openclipart.org/ Presently

Re: [fltk.development] reworking examples folder

2013-02-22 Thread Greg Ercolano
On 02/22/13 18:03, Patrick wrote: I only use Linux but I would like to learn a little more about developing on Windows. Could you tell me where the necessary Visual Studio files are. Maybe I will try a suicide mission and give it a try in the next couple of months. See the fltk

Re: [fltk.general] change labelfont and labelize in fltk 1.3.2

2013-02-21 Thread Greg Ercolano
On 02/21/13 18:09, edgar wrote: On 21 Feb 2013, at 20:33, edgar wrote: Hi Ian - that fixed it! Thanks!!! I've been able to compile numerous tests and play around with the font size and style. Here is a different issue: the fltk-config --complile is not finding FL_Box. I typed

Re: [fltk.bugs] [MOD] STR #2931: Re-implement fl_scandir for *nix systems that do not provide a native version

2013-02-20 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?L2931 Version: 1.3-current I applied Albrecht's patch to a fresh copy of fltk r9827, and FLTK built on IRIX 6.5 OK, so looks good to me. (IRIX has its own implementation

Re: [fltk.general] Missing scandir() (STR #2687) - now STR #2931

2013-02-20 Thread Greg Ercolano
On 02/20/13 10:50, Michael Baeuerle wrote: I'm not a C++ expert, is it possible to overload the function declaration without breaking other things? Options I can think of: o Protect the newer declaration with the FLTK_ABI_VERSION macro o Name the

Re: [fltk.general] Unable to change labelsize andlabelfont fltk1.3.2

2013-02-19 Thread Greg Ercolano
On 02/19/13 02:39, MacArthur, Ian (Selex ES, UK) wrote: When we run the test/fonts.cxx we are not able to choose between the fonts and the font size on the X window.It shows the default. Which is why I have to assume that something is awry in the configuration of the build, since the code

Re: [fltk.general] Missing scandir() (STR #2687)

2013-02-19 Thread Greg Ercolano
On 02/19/13 06:03, Michael Baeuerle wrote: I don't use the mailing list, I read and post via USENET (feed from news.easysw.com). +1 No account seems to be required to do that, probably because spammers no longer know what USENET is. LOL, yes, we love sturdy but ancient

Re: [fltk.general] Missing scandir() (STR #2687)

2013-02-19 Thread Greg Ercolano
On 02/19/13 06:52, MacArthur, Ian (Selex ES, UK) wrote: I guess most Linuxes will be fine, though have not checked; what systems have you tested on? Perhaps include a comment in the code indicating platform/compiler combos it's been tested with to keep track.

Re: [fltk.development] [RFE] STR #2904: Native file chooserisn'texactly native on linux

2013-02-18 Thread Greg Ercolano
On 02/17/13 17:25, Michael Sweet wrote: There is also the issue of how to safely execute programs from the library; it is incredibly difficult to safely deal with file descriptors and signals/handlers from a library without some coordination with the application... I guess we have

Re: [fltk.general] OT: Making application run once

2013-02-16 Thread Greg Ercolano
On 02/16/13 05:10, Gonzalo Garramuno wrote: I would like my application to have only one instance of it running at a time. However I am unsure how to implement this. If the user opens another instance the contents of what it opened should go to the already opened instance. As an example, I

Re: [fltk.bugs] Does this support UNICODE

2013-02-15 Thread Greg Ercolano
On 02/15/13 10:02, parul jain wrote: // // $Id: Fl_Widget.H,v 1.6.2.4.2.19 2002/10/04 15:59:28 easysw Exp $ // // Widget header file for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2002 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2013-02-15 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?L2904 Version: 1.3-feature Thanks Manolo! Nice addition. Would be great if you could document any gtk/linux specifics for use of FNFC in the docs, and try to hit on:

[fltk.development] RFC: decision on license to use for fltk/examples source code

2013-02-15 Thread Greg Ercolano
Reviving this issue, as we probably should address it ASAP. Looking for dev votes on which license to use for the fltk/examples dir, as I don't think we have a firm decision on which to use and the exact wording. Because of how *examples* are meant to be

Re: [fltk.development] RFC: decision on license to use for fltk/examples source code

2013-02-15 Thread Greg Ercolano
Oh, and in case I wasn't clear, looking for votes on which of these to use: 1) ISC style license (eg. open BSD see below) 2) Zlib style (see below) 3) MIT style (see below) 4) GPL2 (Mike's sugg #1, see:

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-14 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 @Albrecht: yes, I'm not sure either. I dug around a bit; charset names may be case sensitive, but apparently in MIME contexts they're not:

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-14 Thread Greg Ercolano
[STR Closed w/Resolution] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Fix Version: 1.3.3 (r9824) Fixed in Subversion repository. Closed with resolution. Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Fix Version: 1.3.3 (r9824)

Re: [fltk.bugs] [MOD] STR #2895: Fl_Tree: SINGLE mode selection issues

2013-02-14 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2895 Version: 1.3-current Attaching patch for research.. Link: http://www.fltk.org/str.php?L2895 Version: 1.3-currentIndex: FL/Fl_Tree.H

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-13 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Confirming patch works: I can now d+d text selections from Firefox. Also confirming patch code is basically the same as code we already use higher

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-13 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Posting a revised patch (patch-with-utf8.diff) that includes the upper AND lowercase version of the charset=utf-8 atom, which seems to make the

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-13 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Attached file patch-with-utf8.diff... Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2Index: src/Fl_x.cxx

Re: [fltk.general] Missing scandir() (STR #2687)

2013-02-13 Thread Greg Ercolano
On 02/13/13 08:17, Michael Baeuerle wrote: The manual page reference the /usr/ucb/cc (a BSD compatibility Compiler that is not shipped with the OS distribution). This compiler will find the required header files in /usr/ucbinclude. In /usr/include there is no header file sys/dir.h (therefore

Re: [fltk.general] Missing scandir() (STR #2687)

2013-02-13 Thread Greg Ercolano
Next weekend I can try to write a new implementation with matching license. Great; sounds good. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] FLTK pronunciation [was: EDE/FLTK talks onFOSDEM]

2013-02-11 Thread Greg Ercolano
On 02/11/13 01:26, MacArthur, Ian (Selex ES, UK) wrote: If it's a unanimous thing, we should probably change the docs.. or just leave it as one of those odd cultural things? Sure. Like: How do you pronounce OSX? Lol, I certainly do both; oh-ess-ex and oh-ess-ten.

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-10 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?L2930 Version: 1.3.2 I can replicate with both Firefox and Thunderbird on Centos 5.6; 1) Run the fltk 'editor' 2) Highlight some text from a Firefox webpage or

Re: [fltk.bugs] [MOD] STR #2930: drag and drop from Mozilla Gecko apps broken

2013-02-10 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Active] Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 Link: http://www.fltk.org/str.php?L2930 Version: 1.3.2 ___ fltk-bugs mailing list

[fltk.general] FLTK pronunciation [was: EDE/FLTK talks on FOSDEM]

2013-02-10 Thread Greg Ercolano
On 02/10/13 14:39, Sanel Zukan wrote: [1] http://edeproject.org/slides/fosdem-2013-ede.pdf [2] http://edeproject.org/slides/fosdem-2013-fltk.pdf Thanks for the links! Wanna look at em.. [2] http://edeproject.org/slides/fosdem-2013-fltk.pdf FLTK – pronounced ‘fulltick’

Re: [fltk.general] Fl_Menu_Item offset calculation

2013-02-05 Thread Greg Ercolano
On 02/05/13 07:14, MacArthur, Ian (Selex ES, UK) wrote: Though I think Greg also has a demo showing how to change the menu items name without actually changing its name too, for internationalization purposes and etc... Yes, that'd be this one:

Re: [fltk.bugs] [HIGH] STR #2928: Shortcuts not precessed correctly on MacOS

2013-01-27 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?L2928 Version: 1.3-current Seems introduced between r9850 and r9809 (current); I couldn't replicate with r9850, but doing an update to svn current showed the problem.

Re: [fltk.general] Segmentation fault when callingFl_Output-value()

2013-01-25 Thread Greg Ercolano
On 01/25/13 08:46, Moses McKnight wrote: On 01/25/2013 09:13 AM, Moses McKnight wrote: Ok, I think I figured it out. The way I create the window is like this in a menu callback function: void gen_license_cb(Fl_Widget *w, void *ptr) { licgen generator; generator.make_window();

Re: [fltk.general] Segmentation fault when callingFl_Output-value()

2013-01-25 Thread Greg Ercolano
On 01/25/13 09:47, Moses McKnight wrote: Thanks for the information, but this is just one temporary dialog brought up by a menu item from the main window of the program. It looks like using Fl::wait() is doing the trick so I'll keep using that I believe. Yes, if you want the dialog

Re: [fltk.bugs] [MOD] STR #2920: Fl_JPEG_Image.cxx bug in fltk-1.3.x for jpeg-9

2013-01-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?L2920 Version: 1.3-current There's been a change in jpeg 9 FLTK currently releases with jpeg 8c (according to the change log), so I take it you're linking against an

Re: [fltk.development] [RFE] STR #829: Support for animated GIFs in Fl_GIF_Image

2013-01-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?L829 Version: 2.0-feature Here's someone else that posted a message in 2010 with changes for Fl_GIF_Image:

Re: [fltk.general] GIF Image

2013-01-18 Thread Greg Ercolano
On 01/17/13 23:25, chris wrote: Somebody (maybe Albrecht? Can't recall now, it was a while ago...) did = post patches to implement animated GIF's, but that was some time (years) = ago, and there seemed to be no demand for that ability, so it never = happened... That was probably this:

Re: [fltk.general] GIF Image

2013-01-18 Thread Greg Ercolano
That was probably this: http://www.fltk.org/newsgroups.php?s16+gfltk.general+v25+T0+Qanimated The link within is still working. I'll check to see if that code has been submitted as an STR, and if not, I can submit an STR on his behalf (he did say we could add his code to FLTK)

Re: [fltk.development] Strange build error on Mac OS X

2013-01-17 Thread Greg Ercolano
Hmm, I have a 10.4.11 system, and it builds 1.3.x svn current OK with ./configure --enabled-shared ; make (Note: I didn't try the 1.3.2 tar) Maybe an issue with cross compile env or cmake? Try using regular make instead. Here's the full build

Re: [fltk.development] [RFE] STR #2918: fltk-config adds unneeded libraries

2013-01-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?L2918 Version: 1.3-feature Agreed Ian. OP, what's your config.log say about these: HAVE_LIBFONTCONFIG USE_XFT HAVE_XINERAMA If they're 1 and you want them off, have you

Re: [fltk.development] [RFE] STR #2816: Add ability to set proper window icons

2013-01-16 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?L2816 Version: 1.3-feature @Ian: Let me preface by saying I had a weak coffee this morning, so I might be missing something obvious.. I see you're point.. re: 1.3 to me

Re: [fltk.development] [RFE] STR #2816: Add ability to set proper window icons

2013-01-16 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?L2816 Version: 1.3-feature @Ian: Right, I feel the same way. Would like to see Albrecht or Matt weigh in. OP, feel free to comment as well on the ABI issue with respect

Re: [fltk.bugs] jpeg and shared image library

2013-01-07 Thread Greg Ercolano
On 01/07/13 16:00, George wrote: Hy I'm trying to compila a code with fltk and i get the following errors: 1main1.obj : error LNK2019: unresolved external symbol public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *) (??0Fl_JPEG_Image@@QAE@PBD@Z) referenced in function _main

Re: [fltk.general] jpeg and shared image library

2013-01-07 Thread Greg Ercolano
On 01/07/13 16:00, George wrote [on fltk.bugs, moved to fltk.general]: Hy I'm trying to compila a code with fltk and i get the following errors: 1main1.obj : error LNK2019: unresolved external symbol public: __thiscall Fl_JPEG_Image::Fl_JPEG_Image(char const *) (??0Fl_JPEG_Image@@QAE@PBD@Z)

Re: [fltk.general] RFC: Tracking the focus widget - would this be useful ?

2013-01-06 Thread Greg Ercolano
On 01/04/13 05:22, Albrecht Schlosser wrote: I'd like to know if there are more FLTK users who have the need to track the widget that currently has the focus. I wouldn't be against it.. sounds reasonable. I could imagine something like a callback that could be called whenever the

Re: [fltk.general] Time out Reentrance on Windows

2013-01-04 Thread Greg Ercolano
Devs: shouldn't we add Fl::run() to that short list? I'd vote yes, though we probably need someone who really understands that code (Matthias?) to pitch in with an opinion... Yes, absolutely. Fl::run() is basically: for(;;) { Fl::wait(); } Done, r9784.

Re: [fltk.general] Time out Reentrance on Windows

2013-01-02 Thread Greg Ercolano
On 01/02/13 05:30, claude roux wrote: one specificity of my implementation is that the FLTK main loop is launched within a thread Pretty sure FLTK doesn't support that; from the docs on threading there's a warning about this: http://fltk.org/doc-1.3/advanced.html FLTK

Re: [fltk.development] [RFE] STR #2904: Native file chooser isn't exactly native on linux

2012-12-30 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?L2904 Version: 1.3-feature FWIW, zenity(1) is a simple linux command line tool that can among other things bring up a native file chooser. $ zenity --title=Select a

Re: [fltk.general] Conflict between fltkjpeg.libandOpenCVlibjpeg.lib?

2012-12-30 Thread Greg Ercolano
On 12/30/12 19:40, Furqan wrote: You know what, I read your reply more than 15 times.. :) still couldn't get the meaning of this sentence. Then reconfiguring/rebuilding fltk and OpenCV and telling them to use = the new system copy of libjpeg, and *not* to try and use their built = in

Re: [fltk.general] Having fltk-config to use in Windows

2012-12-28 Thread Greg Ercolano
On 12/28/12 14:59, Ian MacArthur wrote: REM pseudo DOS batch script to get LDFLAGS d:\path\to\mingw\sh.exe -c d:\path\to\fltk-config --ldstaticflags REM end of DOS batch file You might need to include as the first line in that file: @ECHO OFF

Re: [fltk.general] How to open a folder from a hard-drive partition ?

2012-12-20 Thread Greg Ercolano
On 12/20/12 09:27, Furqan wrote: Similarly, like we can open any url using fl_open_uri(http://real3d.pk;); How can we open a specific folder from a hard-drive partition. I want to open c:\samples folder when I click on menu button ? This seems to work:

Re: [fltk.general] How to open a folder from a hard-drive partition ?

2012-12-20 Thread Greg Ercolano
On 12/20/12 09:48, Furqan wrote: Thanks it is working perfectly. I found one more way. How about this: system(explorer C:\\test\\folder); Since it sounds like you're using windows only, I imagine that's OK. Use fl_open_uri() if you want to open a browser across platforms,

Re: [fltk.opengl] Can Use GLSL in FLTK?

2012-12-14 Thread Greg Ercolano
On 12/10/12 01:34, Sepehr Aryani wrote: Hi, I'm wondering if we can use GLSL in fltk application. I also want to know which version of OpenGL FLTK support. If there is a sample code to help I'll appreciate. I don't think there are any modern versions of openGL that FLTK

<    1   2   3   4   5   6   7   8   9   10   >