Re: [fltk.bugs] [MOD] STR #2836: Fl_Window::copy_label() misbehaviour in special case

2012-05-07 Thread chris
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2836 Version: 1.3-current Fix Version: 1.3.1 (r9443) Yes, this bug is fixed now with r9443. And the code is much cleaner now! One tiny note though: Is the

Re: [fltk.bugs] [MOD] STR #2836: Fl_Window::copy_label() misbehaviour in special case

2012-05-07 Thread Albrecht Schlosser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2836 Version: 1.3-current Fix Version: 1.3.1 (r9452) Fixed in Subversion repository. Yes, this call is not only redundant, but also does a lot of unnecessary work,

Re: [fltk.bugs] [MOD] STR #2836: Fl_Window::copy_label() misbehaviour in special case

2012-05-07 Thread chris
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR Pending] Link: http://www.fltk.org/str.php?L2836 Version: 1.3-current Fix Version: 1.3.1 (r9452) Always a pleasure. Thanks for fixing that STR so fast! Link: http://www.fltk.org/str.php?L2836 Version:

[fltk.commit] [Library] r9452 - branches/branch-1.3/src

2012-05-07 Thread fltk-dev
Author: AlbrechtS Date: 2012-05-07 00:18:11 -0700 (Mon, 07 May 2012) New Revision: 9452 Log: Remove redundant redraw_label() call from copy_label(), STR #2836. Modified: branches/branch-1.3/src/Fl_Widget.cxx Modified: branches/branch-1.3/src/Fl_Widget.cxx

[fltk.commit] [Library] r9453 - branches/branch-3.0/src/fltk3

2012-05-07 Thread fltk-dev
Author: AlbrechtS Date: 2012-05-07 00:18:35 -0700 (Mon, 07 May 2012) New Revision: 9453 Log: Remove redundant redraw_label() call from copy_label(), STR #2836. Modified: branches/branch-3.0/src/fltk3/Widget.cxx Modified: branches/branch-3.0/src/fltk3/Widget.cxx

[fltk.commit] [Library] r9455 - branches/branch-3.0/src/fltk3

2012-05-07 Thread fltk-dev
Author: manolo Date: 2012-05-07 07:00:31 -0700 (Mon, 07 May 2012) New Revision: 9455 Log: Fixed use of widget-relative coordinates for image drawing. Modified: branches/branch-3.0/src/fltk3/Bitmap.cxx Modified: branches/branch-3.0/src/fltk3/Bitmap.cxx

[fltk.commit] [Library] r9456 - branches/branch-3.0/src/fltk3

2012-05-07 Thread fltk-dev
Author: manolo Date: 2012-05-07 07:37:36 -0700 (Mon, 07 May 2012) New Revision: 9456 Log: Fixed use of widget-relative coordinates for WIN32 image drawing. Modified: branches/branch-3.0/src/fltk3/Bitmap.cxx branches/branch-3.0/src/fltk3/Image.cxx branches/branch-3.0/src/fltk3/Pixmap.cxx

[fltk.development] STR 2838 : add colors to Fl_Text_Display

2012-05-07 Thread David Currie
I have STR'd the changes to STR 2838 please Note 0) I could only attach 1 diff file (Fl_Text_Display.cxx.diff) but also have (Fl_Text_Display.H.diff) which the form only let me add 1. Instructions? 1) While it worked for the behavoiral tests I needed I can't say what will happen for more

Re: [fltk.development] Fl_Scroll: bug with scrollbar visibility on init

2012-05-07 Thread Albrecht Schlosser
On 05.05.2012 18:34, Greg Ercolano wrote: Apparently Fl_Scroll's scrollbars are 'visible()' on construction, ie. they are not hide()en by default. Currently no one sees this problem, because scrollbar visibility is calculated during draw(). But perhaps it would be correct to have the widget

Re: [fltk.development] STR 2838 : add colors to Fl_Text_Display

2012-05-07 Thread Albrecht Schlosser
On 07.05.2012 09:17, David Currie wrote: I have STR'd the changes to STR 2838 please Note Thanks. 0) I could only attach 1 diff file (Fl_Text_Display.cxx.diff) but also have (Fl_Text_Display.H.diff) which the form only let me add 1. Instructions? Just go to the STR form and use the Post

Re: [fltk.development] STR 2838 : add colors to Fl_Text_Display

2012-05-07 Thread Albrecht Schlosser
On 07.05.2012 13:34, David Currie wrote: On 07.05.2012 09:17, David Currie wrote: I have STR'd the changes to STR 2838 please Note Thanks. 0) I could only attach 1 diff file (Fl_Text_Display.cxx.diff) but also have (Fl_Text_Display.H.diff) which the form only let me add 1.

[fltk.development] [RFE] STR #2838: Add Colors to FL_Text_Display (+ underscore + strikethru)

2012-05-07 Thread David Currie
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2838 Version: 1.3-feature As requested I submit the code for this myself with Fl_Text_Display.cxx.diff and Fl_Text_Display.H.diff attached Link:

Re: [fltk.development] [RFE] STR #2838: Add Colors to FL_Text_Display (+ underscore + strikethru)

2012-05-07 Thread David Currie
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2838 Version: 1.3-feature Attached file Fl_Text_Display.H.diff... Link: http://www.fltk.org/str.php?L2838 Version: 1.3-feature--- Fl_Text_Display.H.old 2012-04-27

Re: [fltk.general] PNG file corrupted by ASCII conversion

2012-05-07 Thread Edzard Egberts
Greg Ercolano schrieb: On 05/04/12 02:36, MacArthur, Ian (SELEX GALILEO, UK) wrote: Hmpf - the default is text and I know this, but forgot to take care about. Very stupid, of course it works now... For what it's worth, I just use rb and wb regardless of platform since the *nix versions

[fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread leowang
Dear All, The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the widget, the picture is icon.bmp, when the focus is on the widget, the picture can change to icon_focus.bmp. Like MulitImage widget in fltk2.0.

[fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread leowang
Dear All, The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the w ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

[fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread leowang
Dear All, The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the w ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

[fltk.general] how to remove focus from widget in fltk1.3

2012-05-07 Thread leowang
Dear All, I have use take_focus to let the focus on the widget, but how can I remove the focus from this widget? Best regards, Leo ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] PNG file corrupted by ASCII conversion

2012-05-07 Thread MacArthur, Ian (SELEX GALILEO, UK)
I don't think, Steve Jobs will come back to save Apple a third time. Though I guess we'd be pretty impressed if he did. And perhaps a little surprised... and a bit freaked out... Anyway Windows 8 will be an operating system for mobile phones (that's funny, we will need to boot and shutdown

Re: [fltk.general] how to remove focus from widget in fltk1.3

2012-05-07 Thread Albrecht Schlosser
On 07.05.2012 11:11, leowang wrote: I have use take_focus to let the focus on the widget, but how can I remove the focus from this widget? Give the focus to another widget, or use Fl::focus(0); maybe. But what do you want to achieve with this? Albrecht

Re: [fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread Albrecht Schlosser
On 07.05.2012 09:22, leowang wrote: The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the widget, the picture is icon.bmp, when the focus is on the widget, the picture can change to icon_focus.bmp. Like

Re: [fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread Albrecht Schlosser
On 07.05.2012 12:36, Albrecht Schlosser wrote: On 07.05.2012 09:22, leowang wrote: The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the widget, the picture is icon.bmp, when the focus is on the widget, the

Re: [fltk.general] how to remove focus from widget in fltk1.3

2012-05-07 Thread leowang
On 07.05.2012 11:11, leowang wrote: I have use take_focus to let the focus on the widget, but how can I remove the focus from this widget? Give the focus to another widget, or use Fl::focus(0); maybe. But what do you want to achieve with this? Albrecht Hi Albrecht, I have the case

Re: [fltk.general] question about fltk1.3 Fl_Shared_Image

2012-05-07 Thread leowang
On 07.05.2012 12:36, Albrecht Schlosser wrote: On 07.05.2012 09:22, leowang wrote: The Fl_Shared_Image::get() can only add one picture on the widget, but now I want to implement this feature: when the focus is not on the widget, the picture is icon.bmp, when the focus is on the widget,

[fltk.general] about the callback of the button widget in fltk1.3

2012-05-07 Thread leowang
Dear All, I have a button, it has a callback, but I found that when the focus is on this button, press enter key can not auto call the callback, only use mouse to press button can call the callback. Why? In fltk2.0, it will auto call the callback when press enter key if the focus is on the

Re: [fltk.general] about the callback of the button widget in fltk1.3

2012-05-07 Thread Greg Ercolano
On 05/07/12 20:26, leowang wrote: Dear All, I have a button, it has a callback, but I found that when the focus is on this button, press enter key can not auto call the callback, only use mouse to press button can call the callback. Why? In fltk2.0, it will auto call the callback when