Avoid the expression "foreign language" in comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
d57f762715
commit
163c65dc6f
2
FL/Fl.H
2
FL/Fl.H
@ -52,7 +52,7 @@ struct Fl_Label;
|
||||
class Fl_Screen_Driver;
|
||||
class Fl_System_Driver;
|
||||
|
||||
// Pointers you can use to change FLTK to a foreign language.
|
||||
// Pointers you can use to change FLTK to another 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
|
||||
|
@ -69,7 +69,7 @@ FL_EXPORT int fl_message_hotspot(void);
|
||||
FL_EXPORT void fl_message_title(const char *title);
|
||||
FL_EXPORT void fl_message_title_default(const char *title);
|
||||
|
||||
// pointers you can use to change FLTK to a foreign language:
|
||||
// pointers you can use to change FLTK to another language:
|
||||
extern FL_EXPORT const char* fl_no;
|
||||
extern FL_EXPORT const char* fl_yes;
|
||||
extern FL_EXPORT const char* fl_ok;
|
||||
|
@ -313,7 +313,7 @@ int Fl_Input::handle_key() {
|
||||
|
||||
// Insert characters into numeric fields after checking for legality:
|
||||
if (input_type() == FL_FLOAT_INPUT || input_type() == FL_INT_INPUT) {
|
||||
Fl::compose_reset(); // ignore any foreign letters...
|
||||
Fl::compose_reset(); // ignore any composed characters...
|
||||
|
||||
// initialize the list of legal characters inside a floating point number
|
||||
#if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H)
|
||||
|
@ -1230,7 +1230,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
|
||||
if (GetKeyState(VK_SHIFT)&~1) state |= FL_SHIFT;
|
||||
if (GetKeyState(VK_CAPITAL)) state |= FL_CAPS_LOCK;
|
||||
if (GetKeyState(VK_CONTROL)&~1) state |= FL_CTRL;
|
||||
// Alt gets reported for the Alt-GR switch on foreign keyboards.
|
||||
// Alt gets reported for the Alt-GR switch on non-English keyboards.
|
||||
// so we need to check the event as well to get it right:
|
||||
if ((lParam&(1<<29)) //same as GetKeyState(VK_MENU)
|
||||
&& uMsg != WM_CHAR) state |= FL_ALT;
|
||||
|
Loading…
Reference in New Issue
Block a user