[fltk.commit] [Library] r9814 - in branches/branch-3.0/ide/Xcode4: . Resources

2013-02-05 Thread fltk-dev
Author: manolo Date: 2013-02-05 08:02:12 -0800 (Tue, 05 Feb 2013) New Revision: 9814 Log: Added directories Added: branches/branch-3.0/ide/Xcode4/Resources/ branches/branch-3.0/ide/Xcode4/Resources/English.lproj/ branches/branch-3.0/ide/Xcode4/Resources/French.lproj/

[fltk.commit] [Library] r9815 - in branches/branch-3.0/ide/Xcode4/Resources: English.lproj French.lproj German.lproj Italian.lproj Spanish.lproj

2013-02-05 Thread fltk-dev
Author: manolo Date: 2013-02-05 08:04:05 -0800 (Tue, 05 Feb 2013) New Revision: 9815 Log: Added support files for internationalization of the application menu. Added: branches/branch-3.0/ide/Xcode4/Resources/English.lproj/Localizable.strings

[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 MacArthur, Ian (Selex ES, UK)
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 MacArthur, Ian (Selex ES, UK)
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 don't

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] Fl_Menu_Item offset calculation

2013-02-05 Thread MacArthur, Ian (Selex ES, UK)
It's ok that it will not work when the menu is modified at run time; but I think the menu_item access should work correctly as long as the menu is *not* modified. (This is given in my case.) Yup: I think it would be good if you filed an STR recording this stuff, because it does look like

Re: [fltk.general] Fl_Menu_Item offset calculation

2013-02-05 Thread Edzard Egberts
[OK, but only as long as the the menu_item name is not modified... :-( ] It's also possible to use callback pointer or userdata value entry: // // Menu using additional foo name: // Menu.add(File,0,0,0,FL_SUBMENU);

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: