[fltk.general] Fl_Menu_Item offset calculation

2013-02-05 Thread Rainer Rinke
Hi, I am using fltk-1.1.10 and I have in my menu some check menu items. Their settings shall be updated according to some preference information. I do this using the 'Name' of the menu item defined by FLUID in the property dialog of the item. So I write PTimeBaseRELA-setonly(); (with

Re: [fltk.general] Fl_Menu_Item offset calculation

2013-02-05 Thread Rainer Rinke
Below is my .fl file with the original menu bar reproducing the error. Hope it helps! Thanks Rainer # data file for the Fltk User Interface Designer (fluid) version 1.0110 header_name {.h} code_name {.cxx} decl {\#include string} {} decl {\#include stdarg.h} {} decl {\#include stdio.h} {} decl

Re: [fltk.general] Fl_Menu_Item offset calculation

2013-02-05 Thread Rainer Rinke
Below is my .fl file with the original menu bar reproducing the error. Hope it helps! Thanks Hmm, OK - I *think* the problem is the empty Recent Files submenu item... If that item is made to be not-empty, then things seem to work a whole lot = better! Though, for what it is worth, I

Re: [fltk.general] Backgroundcolor of Browser

2012-03-27 Thread Rainer Rinke
On 03/26/12 12:55, Rainer Rinke wrote: Thanks to Greg for this advice! As recommended I inserted just before Fl::run() Fl::set_color(FL_BACKGROUND2_COLOR,255,255,255); // FL_BACKGROUND2_COLOR is enumerated to 7 and it works. But when I insert it into the last code block

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Rainer Rinke
On 03/23/12 07:34, Rainer Rinke wrote: Hi, I just rebuilt an application under (Open)Solaris. That was done just out of the box. But the background color of the Fl_Browser is grey. On other platforms (Win32, Linux) it is white. Where is it to be set? (I am using FLTK-1.1.10

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Rainer Rinke
On 03/23/12 07:34, Rainer Rinke wrote: Hi, I just rebuilt an application under (Open)Solaris. That was done just out of the box. But the background color of the Fl_Browser is grey. On other platforms (Win32, Linux) it is white. Where is it to be set? (I am using FLTK-1.1.10

Re: [fltk.general] jpeg image data from blob

2012-02-07 Thread Rainer Rinke
For simplicity reason I like to carry the jpeg image inside the binary. So I have a data pointer and size of a copy of jpeg file represented inside the program. Is there a way to utilize the FLTK functionality with Fl_JPEG_Image? Fl_JPEG_Image typically wants a filename. Is there a way to

Re: [fltk.general] error message from xcb_io.c

2011-07-20 Thread Rainer Rinke
Hi all, my FLTK (Linux)application crashes with the message: ../../src/xcb_io.c:249: process_responses: Assertion ‘(((long) (dpy-last_request_read) – (long)(dpy-request)) = 0)’ failed. That happens when about 5000 lines are written into a (derived)Fl_Browser widget that were

[fltk.general] error message from xcb_io.c

2011-07-04 Thread Rainer Rinke
Hi all, my FLTK (Linux)application crashes with the message: ./../src/xcb_io.c:249: process_responses: Assertion ‘(((long) (dpy-last_request_read) – (long)(dpy-request)) = 0)’ failed. That happens when about 5000 lines are written into a (derived)Fl_Browser widget that were received via

[fltk.bugs] [LOW] STR #2573: double line label differs sometimes in Windows and Linux

2011-02-24 Thread Rainer Rinke
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2573 Version: 1.1.10 A double line label (line1^Jline2) created with fluid in Windows appears as : +---+ | line1 | | line2 | +---+ and compiled in Linux yields :

[fltk.general] double line labels

2011-02-23 Thread Rainer Rinke
Hi all, I would like to label a square button with a double line. So I specified in FLUID the label with lbl1^Jlbl2 and get in Windows what I wish: ++ | lbl1 | | lbl2 | ++ but in Linux I get: ++ | lbl1^M | | lbl2 | ++ Where does the ^M come from ? Any

Re: [fltk.general] double line labels

2011-02-23 Thread Rainer Rinke
Yes, you are right! FLUID in Linux shows lbl1^M^Jlbl2. Removing the ^M (with the Linux fluid) fixed it and both versions work nice, now. (Is it a bug in the Windows FLUID, that it internally replaces a ^J with ^M^J?) THNX Am 23.02.2011 15:59, schrieb MacArthur, Ian (SELEX GALILEO, UK): I

[fltk.general] documentation FLTK 1.3.0.rc3

2011-01-11 Thread Rainer Rinke
Some remarks: 1. There is no “fltk.pdf” in the documentation subdir bundled with the FLTK software, although it is announced in the README (as far as I understood). 2. Calling the “programmers manual” from the FLUID GUI (via Help…) fails as it is looking for a file “main.html”;