diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-10 12:06:31 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-10 12:06:31 +0000 |
| commit | e42fac099f8d56e24987183edaf0e3d2386770b8 (patch) | |
| tree | 88c3c3d2f19a752fc8fa22ada59ed05c350cfa8c /fluid/Fl_Type.h | |
| parent | ee1d3823a0e6c1d62554311341dc01cc002b5a1a (diff) | |
Annoyed by the limitation in Fluid to generate keyboard shortucts for either Mac or Win32/Linux, I added a Project option. If checked, all keyboard shortcuts containing the modifier FL_CTRL or FL_META will instead be writte as FL_COMMAND|shortcut. This will generate FL_META shortcuts on the Mac and FL_CTRL shortcuts on the PC.
This is compatible to old Fluid files. The .fl file will not change (except for the project wide setting itself) and no information is lost. As the only limitation, it is not possible to write any combination of FL_META and FL_CTRL while "use FL_COMMAND" is set.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index f5a18d831..0eed936a2 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -763,6 +763,7 @@ const char *c_check(const char *c, int type = 0); int storestring(const char *n, const char * & p, int nostrip=0); extern int include_H_from_C; +extern int use_FL_COMMAND; // // End of "$Id$". |
