Author: janderwald
Date: Wed May 3 15:23:57 2006
New Revision: 21785
URL:
http://svn.reactos.ru/svn/reactos?rev=21785&view=rev
Log:
mouse control panel applet resources
Modified:
trunk/reactos/dll/cpl/main/En.rc
trunk/reactos/dll/cpl/main/resource.h
Modified: trunk/reactos/dll/cpl/main/En.rc
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/main/En.rc?rev=2178…
==============================================================================
--- trunk/reactos/dll/cpl/main/En.rc (original)
+++ trunk/reactos/dll/cpl/main/En.rc Wed May 3 15:23:57 2006
@@ -1,4 +1,4 @@
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
IDD_KEYBSPEED DIALOGEX 0, 0, 246, 228
STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
@@ -15,10 +15,132 @@
BEGIN
END
+IDD_CLICK_LOCK DIALOGEX 0, 0, 246, 100
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CAPTION | WS_SYSMENU
+CAPTION "Click Lock"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Short", -1, 35, 50, 30, 10
+ LTEXT "Long", -1, 140, 50, 30, 10
+ CONTROL "",IDC_SLIDER_CLICK_LOCK, "msctls_trackbar32",
TBS_AUTOTICKS | WS_TABSTOP, 65, 50, 70, 17
+ PUSHBUTTON "&Ok", IDOK, 120, 75, 50, 15
+ PUSHBUTTON "&Cancel", IDCANCEL, 175, 75, 50, 15
+ LTEXT "&Adjust how long you need to hold down a mouse or trackball button
before your click is locked",-1,60,15,170,30
+ ICON -1, IDC_ICON_CLICK_LOCK, 15, 15, 15, 15
+END
+
+IDD_PAGE_BUTTON DIALOGEX 0, 0, 246, 228
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
+CAPTION "Button"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Button configuration", -1, 5, 5, 230, 70
+ CHECKBOX "&Switch primary and secondary buttons", IDC_SWAP_MOUSE_BUTTONS,
10, 15, 140, 10
+ CONTROL "", IDC_IMAGE_SWAP_MOUSE, "Static", SS_OWNERDRAW, 155, 15,
75, 57, WS_EX_STATICEDGE
+ LTEXT "Select this checkbox to make the button the right one the one you use for
primary functions such as selecting and dragging", -1, 10, 30, 140, 30
+ GROUPBOX "Double-click speed", -1, 5, 75, 230, 70
+ LTEXT "Double-click the folder to test your settings. If the folder does not open
or close, try using a slower setting.", -1, 10, 85, 160, 30
+ LTEXT "Spee&d: Slow", -1, 10, 120, 90, 8
+ LTEXT "Fast", -1, 140, 120, 30, 8
+ CONTROL "",IDC_SLIDER_DOUBLE_CLICK_SPEED,
"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP, 60, 120, 70, 17
+ CONTROL "", IDC_IMAGE_DOUBLE_CLICK_SPEED, "Static", SS_OWNERDRAW,
165, 85, 65, 57, WS_EX_STATICEDGE
+ GROUPBOX "ClickLock", -1, 5, 150, 230, 70
+ CHECKBOX "&Turn on ClickLock", IDC_CHECK_CLICK_LOCK, 10, 160, 70, 20
+ PUSHBUTTON "&Settings...", IDC_BUTTON_CLICK_LOCK, 170, 160, 50, 10
+ LTEXT "Enables you to highlight or drag without holding down the mouse button. To
set, briefly press the mouse button. To release, click the mouse button again", -1,
10, 180, 190, 30
+END
+
+IDD_PAGE_POINTER DIALOGEX 0, 0, 246, 228
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
+CAPTION "Pointer"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Scheme", -1, 5, 5, 170, 45
+ COMBOBOX IDC_COMBO_CURSOR_SCHEME, 10, 15, 145, 200, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
+ CONTROL "", IDC_LISTVIEW_CURSOR ,"SysListView32",LVS_REPORT |
LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_SHAREIMAGELISTS | WS_BORDER | WS_TABSTOP, 5, 70,
230, 120
+ PUSHBUTTON "Sa&ve As...", IDC_BUTTON_SAVEAS_SCHEME, 70, 30, 50, 15
+ PUSHBUTTON "&Delete", IDC_BUTTON_DELETE_SCHEME, 125, 30, 40, 15
+ CONTROL "", IDC_IMAGE_CURRENT_CURSOR, "Static", SS_OWNERDRAW, 195,
15, 35, 35, WS_EX_STATICEDGE
+ LTEXT "&Customize", -1, 5, 60, 40, 10
+ CHECKBOX "&Enable pointer shadow", IDC_CHECK_DROP_SHADOW, 5, 200, 100,
10
+ PUSHBUTTON "Use De&fault", IDC_BUTTON_USE_DEFAULT_CURSOR, 120, 200, 50,
15
+ PUSHBUTTON "&Browse", IDC_BUTTON_BROWSE_CURSOR, 175, 200, 50, 15
+END
+
+IDD_CURSOR_SCHEME_SAVEAS DIALOGEX 0, 0, 200, 75
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CAPTION | WS_SYSMENU
+CAPTION "Save Scheme"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ LTEXT "Save this cursor scheme as:", -1, 5, 5, 100, 10
+ EDITTEXT IDC_EDIT_SCHEME_NAME, 5, 15, 180, 15, WS_CHILD | WS_VISIBLE | WS_GROUP
+ PUSHBUTTON "&Ok", IDOK, 60, 45, 50, 15
+ PUSHBUTTON "&Cancel", IDCANCEL, 115, 45, 50, 15
+END
+
+
+IDD_PAGE_OPTION DIALOGEX 0, 0, 246, 228
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
+CAPTION "Pointer Options"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Motion", -1, 5, 5, 230, 60
+ LTEXT "Sele&ct a pointer speed:", -1, 60, 15, 110, 10
+ LTEXT "Slow", -1, 60, 30, 20, 10
+ CONTROL "",IDC_SLIDER_MOUSE_SENSITIVITY,
"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP, 90, 30, 70, 17
+ LTEXT "Fast", -1, 170, 30, 20, 10
+ ICON -1, IDC_ICON_MOUSE_SENSITIVITY, 15, 15, 15, 15
+ CHECKBOX "&Enhance pointer precision", IDC_CHECK_POINTER_PRECISION, 60,
50, 100, 10
+ GROUPBOX "Snap To", -1, 5, 65, 230, 40
+ CHECKBOX "", IDC_CHECK_SNAP_TO, 60, 75, 10, 10
+ ICON -1, IDC_ICON_SNAP_TO, 15, 75, 15, 15
+ LTEXT "A&utomatically move pointer to the default button in a dialog
box", -1, 73, 75, 152, 20
+ GROUPBOX "Visibility", -1, 5, 105, 230, 90
+ CHECKBOX "&Display pointer trails", IDC_CHECK_POINTER_TRAIL, 60, 110, 80,
10
+ LTEXT "Short", -1, 60, 130, 30, 10
+ LTEXT "Long", -1, 160, 130, 30, 10
+ ICON -1, IDC_ICON_POINTER_TRAIL, 15, 115, 15, 15
+ CONTROL "", IDC_SLIDER_POINTER_TRAIL
,"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP, 80, 130, 70, 17
+ CHECKBOX "&Hide pointer while typing", IDC_CHECK_HIDE_POINTER, 60, 150,
90, 10
+ ICON -1, IDC_ICON_HIDE_POINTER, 15, 145, 15, 15
+ CHECKBOX "&Show location of pointer when I press the CTRL key",
IDC_CHECK_SHOW_POINTER, 60, 175, 170, 10
+ ICON -1, IDC_ICON_SHOW_POINTER, 15, 170, 15, 15
+END
+
+IDD_PAGE_WHEEL DIALOGEX 0, 0, 246, 228
+STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
+CAPTION "Wheel"
+FONT 8, "MS Shell Dlg"
+BEGIN
+ GROUPBOX "Scrolling", -1, 5, 5, 230, 80
+ LTEXT "Roll the wheel one notch to scroll", -1, 60, 15, 150, 10
+ CONTROL "The following &number of lines at a time",
IDC_RADIO_WHEEL_SCROLL_LINES, "Button", 0x50010009, 60, 30, 150, 10
+ EDITTEXT IDC_EDIT_WHEEL_SCROLL_LINES, 60, 45, 60, 15,ES_RIGHT | WS_GROUP
+ CONTROL "", IDC_UPDOWN_WHEEL_SCROLL_LINES, UPDOWN_CLASS,UDS_SETBUDDYINT |
UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | WS_BORDER | WS_GROUP, 115, 45, 12, 12
+ CONTROL "&One screen at a time", IDC_RADIO_WHEEL_SCROLL_PAGE,
"Button", 0x50010009, 60, 65, 90, 10
+ ICON -1, IDC_ICON_WHEEL, 20, 35, 15, 15
+END
+
STRINGTABLE
BEGIN
IDS_CPLNAME_1 "Mouse"
IDS_CPLDESCRIPTION_1 "Changes mouse settings."
IDS_CPLNAME_2 "Keyboard"
IDS_CPLDESCRIPTION_2 "Changes keyboard settings."
+ IDS_ARROW "Normal Select"
+ IDS_HELP "Help Select"
+ IDS_APPSTARTING "Working in Background"
+ IDS_WAIT "Busy"
+ IDS_CROSSHAIR "Precision Select"
+ IDS_IBEAM "Text Select"
+ IDS_NWPEN "Handwriting"
+ IDS_NO "Unavailable"
+ IDS_SIZENS "Vertical Resize"
+ IDS_SIZENWSE "Diagonal Resize 1"
+ IDS_SIZENESW "Diagonal Resize 2"
+ IDS_SIZEALL "Move"
+ IDS_UPARROW "Alternative Select"
+ IDS_HAND "Link Select"
+ IDS_NONE "(None)"
+ IDS_SYSTEM_SCHEME "(system scheme)"
END
Modified: trunk/reactos/dll/cpl/main/resource.h
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/main/resource.h?rev…
==============================================================================
--- trunk/reactos/dll/cpl/main/resource.h (original)
+++ trunk/reactos/dll/cpl/main/resource.h Wed May 3 15:23:57 2006
@@ -5,14 +5,71 @@
#define IDC_CPLICON_1 1
#define IDC_CPLICON_2 2
-#define IDD_KEYBSPEED 103
-#define IDD_HARDWARE 104
+#define IDD_PAGE_BUTTON 101
+#define IDD_PAGE_POINTER 102
+#define IDD_PAGE_OPTION 103
+#define IDD_PAGE_WHEEL 104
+#define IDD_PAGE_HARDWARE 105
+#define IDD_HARDWARE 105
+#define IDD_KEYBSPEED 106
+#define IDD_CURSOR_SCHEME_SAVEAS 107
+#define IDD_CLICK_LOCK 108
-#define IDS_CPLNAME_1 1000
+#define IDS_CPLNAME_1 1000
#define IDS_CPLDESCRIPTION_1 1001
-#define IDS_CPLNAME_2 1002
+#define IDS_CPLNAME_2 1002
#define IDS_CPLDESCRIPTION_2 1003
+#define IDC_SWAP_MOUSE_BUTTONS 2000
+#define IDC_SLIDER_DOUBLE_CLICK_SPEED 2001
+#define IDC_CHECK_CLICK_LOCK 2002
+#define IDC_BUTTON_CLICK_LOCK 2003
+#define IDC_RADIO_WHEEL_SCROLL_LINES 2004
+#define IDC_EDIT_WHEEL_SCROLL_LINES 2005
+#define IDC_UPDOWN_WHEEL_SCROLL_LINES 2006
+#define IDC_RADIO_WHEEL_SCROLL_PAGE 2007
+#define IDC_SLIDER_MOUSE_SENSITIVITY 2008
+#define IDC_CHECK_SNAP_TO 2009
+#define IDC_CHECK_SHOW_POINTER 2010
+#define IDC_CHECK_HIDE_POINTER 2011
+#define IDC_CHECK_POINTER_TRAIL 2012
+#define IDC_CHECK_POINTER_PRECISION 2013
+#define IDC_SLIDER_POINTER_TRAIL 2014
+#define IDC_LISTVIEW_CURSOR 2015
+#define IDS_ARROW 2016
+#define IDS_HELP 2017
+#define IDS_APPSTARTING 2018
+#define IDS_WAIT 2019
+#define IDS_CROSSHAIR 2020
+#define IDS_IBEAM 2021
+#define IDS_NWPEN 2022
+#define IDS_NO 2023
+#define IDS_SIZENS 2024
+#define IDS_SIZENWSE 2025
+#define IDS_SIZENESW 2026
+#define IDS_SIZEALL 2027
+#define IDS_UPARROW 2028
+#define IDS_HAND 2029
+#define IDC_COMBO_CURSOR_SCHEME 2030
+#define IDS_NONE 2031
+#define IDS_SYSTEM_SCHEME 2032
+#define IDC_BUTTON_DELETE_SCHEME 2033
+#define IDC_CHECK_DROP_SHADOW 2034
+#define IDC_IMAGE_SWAP_MOUSE 2035
+#define IDC_IMAGE_DOUBLE_CLICK_SPEED 2036
+#define IDC_ICON_MOUSE_SENSITIVITY 2037
+#define IDC_ICON_SNAP_TO 2038
+#define IDC_ICON_POINTER_TRAIL 2039
+#define IDC_ICON_SHOW_POINTER 2040
+#define IDC_ICON_HIDE_POINTER 2041
+#define IDC_BUTTON_USE_DEFAULT_CURSOR 2042
+#define IDC_BUTTON_BROWSE_CURSOR 2043
+#define IDC_BUTTON_SAVEAS_SCHEME 2044
+#define IDC_EDIT_SCHEME_NAME 2045
+#define IDC_ICON_CLICK_LOCK 2046
+#define IDC_SLIDER_CLICK_LOCK 2047
+#define IDC_ICON_WHEEL 2048
+#define IDC_IMAGE_CURRENT_CURSOR 2049
#endif /* __CPL_RESOURCE_H */