|
From: | Serge Bromow |
Subject: | [XForms] Fdesign & Pixmaps |
Date: | Thu, 28 Nov 2013 04:55:44 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Hi Jens, While testing fdesign I found the following; 1) Converting the previous .fd file with "fdesign -convert *.fd" works fine. 2) Compiling the converted code yields the proper results. 3) Loading the old .fd file in fdesign shows the expected warning. The pixmap file displays as expected. 4) Saving the .fd file in the new format seems to work. 5) Recompiling the code also works. 6) Re loading the .fd with fdesign is now missing the pixmap. The resulting executable no longer displays the Pixmap. Here is a clip of the .fd file for the object in question; -------------------- class: FL_PIXMAPBUTTON type: NORMAL_BUTTON box: 20 25 470 40 boxtype: FL_EMBOSSED_BOX colors: FL_WHITE FL_YELLOW alignment: FL_ALIGN_BOTTOM style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK label: shortcut: resize: FL_RESIZE_ALL gravity: FL_NoGravity FL_NoGravity name: view callback: argument: file: dine_black_140x40.xpm fullpath: 0 focus: 0 data: dine_black_140x40_xpm Here is the new code; -------------------- class: FL_PIXMAPBUTTON type: FL_NORMAL_BUTTON box: 20 25 470 40 boxtype: FL_EMBOSSED_BOX colors: FL_WHITE FL_YELLOW alignment: FL_ALIGN_BOTTOM style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK label: shortcut: resize: FL_RESIZE_X gravity: FL_NoGravity FL_NoGravity name: view callback: argument: focus: 0 As you can see there is no reference to the pixmap file in the argument section. I also note that testing the code after step 2 (compile converted code) displays the pixmap slightly shifted to the right. FYI Serge --
Serge Bromow DineAmix Inc. <address@hidden> (613) 260-8629 888 411-6636 Ottawa, Canada. Please Consider the Environment before Printing the E-Mail. IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify DineAmix Inc. immediately by email at address@hidden. Thank you. |
[Prev in Thread] | Current Thread | [Next in Thread] |