Move fl_local_* decl. and short docs back to FL/Fl.H.
Note: these declarations must be in an (official) public header. FL/Fl_System_Driver.H should not be included in user space. Maybe move FL/Fl_System_Driver.H to src/drivers ? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11427 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
9de6339d81
commit
de9dc764f1
8
FL/Fl.H
8
FL/Fl.H
@ -65,6 +65,14 @@ class Fl_Screen_Driver;
|
||||
# define FL_SOCKET int
|
||||
#endif
|
||||
|
||||
// Pointers you can use to change FLTK to a foreign language.
|
||||
// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
|
||||
|
||||
extern FL_EXPORT const char* fl_local_alt; ///< string pointer used in shortcuts, you can change it to another language
|
||||
extern FL_EXPORT const char* fl_local_ctrl; ///< string pointer used in shortcuts, you can change it to another language
|
||||
extern FL_EXPORT const char* fl_local_meta; ///< string pointer used in shortcuts, you can change it to another language
|
||||
extern FL_EXPORT const char* fl_local_shift; ///< string pointer used in shortcuts, you can change it to another language
|
||||
|
||||
/** \defgroup callback_functions Callback function typedefs
|
||||
\brief Typedefs defined in <FL/Fl.H> for callback or handler functions passed as function parameters.
|
||||
|
||||
|
@ -27,13 +27,6 @@
|
||||
#include <FL/Fl_Device.H>
|
||||
#include <FL/Fl_Export.H>
|
||||
|
||||
// Pointers you can use to change FLTK to a foreign language.
|
||||
// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
|
||||
extern FL_EXPORT const char* fl_local_alt;
|
||||
extern FL_EXPORT const char* fl_local_ctrl;
|
||||
extern FL_EXPORT const char* fl_local_meta;
|
||||
extern FL_EXPORT const char* fl_local_shift;
|
||||
|
||||
/**
|
||||
\brief A base class for platform specific window handling code.
|
||||
*/
|
||||
|
@ -22,10 +22,10 @@
|
||||
|
||||
// Pointers you can use to change FLTK to a foreign language.
|
||||
// Note: Similar pointers are defined in FL/fl_ask.H and src/fl_ask.cxx
|
||||
const char* fl_local_alt = "Alt"; ///< string pointer used in shortcuts, you can change it to another language
|
||||
const char* fl_local_ctrl = "Ctrl"; ///< string pointer used in shortcuts, you can change it to another language
|
||||
const char* fl_local_meta = "Meta"; ///< string pointer used in shortcuts, you can change it to another language
|
||||
const char* fl_local_shift = "Shift"; ///< string pointer used in shortcuts, you can change it to another language
|
||||
const char* fl_local_alt = "Alt";
|
||||
const char* fl_local_ctrl = "Ctrl";
|
||||
const char* fl_local_meta = "Meta";
|
||||
const char* fl_local_shift = "Shift";
|
||||
|
||||
//
|
||||
// End of "$Id$".
|
||||
|
Loading…
Reference in New Issue
Block a user