Re: [fltk.bugs] [MOD] STR #2729: Fl_Spinner bug

2011-10-10 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2729 Version: 1.3-current In my tests, the FL_WHEN_ENTER_KEY part *does* work as expected, i.e. the callback is called when I press ENTER. However, I can see that pressing

Re: [fltk.bugs] [MOD] STR #2729: Fl_Spinner bug

2011-10-10 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2729 Version: 1.3-current Okay, I tested with and w/o the patch with the new attached spinner2.cxx that has another button (label NOP) just to receive input focus when

Re: [fltk.bugs] [MOD] STR #2729: Fl_Spinner bug

2011-10-10 Thread Richard Sanders
On Mon, Oct 10, 2011 at 1:19 AM, Albrecht Schlosser albrec...@go4more.dewrote: DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2729 Version: 1.3-current Okay, I tested with and w/o the patch with the new attached

[fltk.bugs] [HIGH] STR #2730: valgrind, out of bounds access, Fl_Text_Display wrapping

2011-10-10 Thread corvid
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2730 Version: 1.3-current The fix for the access at offset -1 (STR #2691) causes an out of bounds access at the other end, e.g.: ==22171== Invalid read of size 1

Re: [fltk.bugs] [HIGH] STR #2730: valgrind, out of bounds access, Fl_Text_Display wrapping

2011-10-10 Thread corvid
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2730 Version: 1.3-current BTW, the line numbers in the valgrind report are off by a few because I have a couple of printf()s in my Fl_Text_Display.cxx, but all of its

[fltk.bugs] [MOD] STR #2731: valgrind jump depends on uninitialised value

2011-10-10 Thread corvid
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2731 Version: 1.3-current I was just playing with the editor test, which still has the modifications that I mentioned recently in the STR about the scrollbar. Valgrind

[fltk.commit] [Library] r9129 - branches/branch-1.3/FL

2011-10-10 Thread fltk-dev
Author: manolo Date: 2011-10-10 01:34:27 -0700 (Mon, 10 Oct 2011) New Revision: 9129 Log: Reflected the creation of the FL_SCREEN_CONFIGURATION_CHANGED event. Modified: branches/branch-1.3/FL/names.h Modified: branches/branch-1.3/FL/names.h

[fltk.commit] [Library] r9130 - branches/branch-3.0/include/fltk3

2011-10-10 Thread fltk-dev
Author: manolo Date: 2011-10-10 01:54:59 -0700 (Mon, 10 Oct 2011) New Revision: 9130 Log: Reflected the creation of the SCREEN_CONFIGURATION_CHANGED event. Modified: branches/branch-3.0/include/fltk3/names.h Modified: branches/branch-3.0/include/fltk3/names.h

[fltk.development] Lambda function in FLTK how to use?

2011-10-10 Thread Yaskhan
e, how? Maybe in callbacks? (Anonymous function) ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] Lambda function in FLTK how to use?

2011-10-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
You need to ask over in fltk.general. This list is specifically for development *of* the library. Development *using* the library comes under fltk.general. Also - you are going to have to clarify the question; there's not enough context there to begin to know what you are asking... e, how?

Re: [fltk.development] Lambda function in FLTK how to use?

2011-10-10 Thread Yaskhan
What language? sorry. c++0x ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] Lambda function in FLTK how to use?

2011-10-10 Thread Greg Ercolano
On 10/10/11 03:54, Yaskhan wrote: What language? sorry. c++0x Moving this thread to fltk.general. Please follow up there. (Subject has same title) ___ fltk-dev mailing list fltk-dev@easysw.com

Re: [fltk.general] Window Problems

2011-10-10 Thread Edzard Egberts
However, there is no need to delete objects that are used until the program exits - this will be done by the OS anyway There is no need to create objects dynamically, so using objects directly makes code shorter and prevents doubts of deleting: #includeFl/Fl_Window.h #include inputwin.h

Re: [fltk.general] slow window painting

2011-10-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
The custom dialog paints itself on top of the main app window which has a plot of a function on it drawn on an Fltk_Gl_Window. See the snapshots here; http://www.hyperscope.net/fltk.html But when it first pops up it's blank for about 2 seconds and then the controls get drawn (the

Re: [fltk.general] slow window painting

2011-10-10 Thread Albrecht Schlosser
On 10.10.2011 10:12, MacArthur, Ian (SELEX GALILEO, UK) wrote: The custom dialog paints itself on top of the main app window which has a plot of a function on it drawn on an Fltk_Gl_Window. See the snapshots here; http://www.hyperscope.net/fltk.html But when it first pops up it's blank for

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK - c++0x)

2011-10-10 Thread Greg Ercolano
[moved from fltk.development] Yaskhan writes: e, how? Maybe in callbacks? (Anonymous function) Ian writes: [..] you are going to have to clarify the question; there's not enough context there to begin to know what you are asking... What language? Yaskhan writes: sorry. c++0x I

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK - c++1x)

2011-10-10 Thread Ben Stott
On 11/10/11 05:44, Greg Ercolano wrote: Yaskhan writes: sorry. c++0x Being a pedant, I'll correct that to C++11. I've done the same with the title, as well. ;-) I don't think anyone's tried using c++0x with fltk yet. Assuming c++0x is back compatible with C++ (I don't know

[fltk.general] Fl_File_Chooser(common dialog) and Favorites Menu_button

2011-10-10 Thread david mcclanahan
Howdy, I want to preseed the list of directories under Favorites with a directory containing some sample files that gets determined at install time. I don't see any obvious way to allow to do it and wanted to make sure that was the case. There is an underlying Fl_Prefs object but it's

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK -c++1x)

2011-10-10 Thread Greg Ercolano
On 10/10/11 14:48, Ben Stott wrote: You might actually have a bit of difficulty using a lambda function as a callback, because to use some of their more powerful features (like taking variable callback data) I *think* the FLTK callback functions will have to be modified slightly. However,

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK -c++1x)

2011-10-10 Thread Ben Stott
Alright, it looks like this stupid phone is going to force me to top-post, so apologies in advance. Yes, I was simply trying to get the implication across that you can pass variables through the scope of the lambda - but now I think of it, it *may* also require the use of extern(my_button1)

[fltk.general] Fl_Check_Browser data item?

2011-10-10 Thread David
The Fl_Check_Browser doesn't seem to have a data item for each item added like Fl_Browser. I'm curious if there is a Fl_Check_Browser type list box derived from Fl_Browser somewhere? Having a data associated with an item allows me to have unique list box items with program wide ID's without

Re: [fltk.general] Lambda function in FLTK how to use? (FLTK -c++1x)

2011-10-10 Thread Ben Stott
So as a follow up to my previous message. You might actually have a bit of difficulty using a lambda function as a callback, because to use some of their more powerful features (like taking variable callback data) I *think* the FLTK callback functions will have to be modified