mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
a1faa1cc6d
Primary changes: Convert from dialog to an ordinary window, placing buttons according to data in keyboard.c Character button text is now according to selected keyboard layout instead of system language. Buttons will update* automatically when there is a layout switch (and when shift/capslock are pressed). (Updating is most reliable when the keyboard is focused) Removed keyboard dialog templates from resource files, they live on in keyboard.c Secondary changes: Support for font change, currently saved in registry is facename and height. Additional registry load/save functions for strings to facilitate above change.
83 lines
2.5 KiB
Text
83 lines
2.5 KiB
Text
/*
|
|
* PROJECT: ReactOS Kernel
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* FILE: base/applications/osk/lang/en-GB.rc
|
|
* PURPOSE: On screen keyboard (English resources)
|
|
* PROGRAMMERS: Denis ROBERT
|
|
*/
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
|
|
|
|
IDR_OSK_MENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "File"
|
|
BEGIN
|
|
MENUITEM "&Exit", IDM_EXIT
|
|
END
|
|
|
|
POPUP "Keyboard"
|
|
BEGIN
|
|
MENUITEM "Enhanced Keyboard", IDM_ENHANCED_KB, CHECKED
|
|
MENUITEM "Standard Keyboard", IDM_STANDARD_KB
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Regular Layout", IDM_REG_LAYOUT, CHECKED, GRAYED
|
|
MENUITEM "Block Layout", IDM_BLOCK_LAYOUT, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "101 keys", IDM_101_KEYS, CHECKED, GRAYED
|
|
MENUITEM "102 keys", IDM_102_KEYS, GRAYED
|
|
MENUITEM "106 keys", IDM_106_KEYS, GRAYED
|
|
END
|
|
|
|
POPUP "Settings"
|
|
BEGIN
|
|
MENUITEM "Always on Top", IDM_ON_TOP, CHECKED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Use Click Sound", IDM_CLICK_SOUND
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Typing Mode...", IDM_TYPE_MODE, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Font...", IDM_FONT
|
|
END
|
|
|
|
POPUP "Help"
|
|
BEGIN
|
|
MENUITEM "&Help Topics", IDM_HELP_TOPICS, GRAYED
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&About On-Screen Keyboard...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
IDD_WARNINGDIALOG_OSK DIALOGEX 0, 0, 250, 97
|
|
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
|
|
CAPTION "On-Screen Keyboard"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
|
|
ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
|
|
LTEXT "On-Screen Keyboard provides a minimum level of functionality for mobility-impaired users. Mobility-impaired users will need a utility program with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33
|
|
CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_OSK "On-Screen Keyboard"
|
|
IDS_AUTHORS "Copyright Denis Robert"
|
|
IDS_NUMLOCK "Num"
|
|
IDS_CAPSLOCK "Caps"
|
|
IDS_SCROLLLOCK "Scroll"
|
|
/* Make sure the text fits onto the buttons */
|
|
IDS_ESCAPE "Esc"
|
|
IDS_PRN "Prn"
|
|
IDS_STOP "Stop"
|
|
IDS_ATTN "Attn"
|
|
IDS_INSERT "ins"
|
|
IDS_NUMLOCKKEY "nlk"
|
|
IDS_DELETE "del"
|
|
IDS_END "end"
|
|
IDS_CTRL "ctrl"
|
|
IDS_LEFTALT "alt"
|
|
IDS_RIGHTALT "alt"
|
|
END
|
|
|
|
/* EOF */
|