Author: ekohl
Date: Sun Oct 21 16:58:35 2007
New Revision: 29732
URL:
http://svn.reactos.org/svn/reactos?rev=29732&view=rev
Log:
Fixed indentation (TABs --> Spaces)
No code changes.
Modified:
trunk/reactos/dll/cpl/joy/joy.c
trunk/reactos/dll/cpl/joy/joy.h
trunk/reactos/dll/cpl/joy/lang/en-US.rc
trunk/reactos/dll/cpl/joy/lang/ru-RU.rc
Modified: trunk/reactos/dll/cpl/joy/joy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/joy/joy.c?rev=2973…
==============================================================================
--- trunk/reactos/dll/cpl/joy/joy.c (original)
+++ trunk/reactos/dll/cpl/joy/joy.c Sun Oct 21 16:58:35 2007
@@ -18,10 +18,10 @@
*/
/*
*
- * PROJECT: ReactOS Software Control Panel
- * FILE: dll/cpl/joy/joy.c
- * PURPOSE: ReactOS Software Control Panel
- * PROGRAMMER: Dmitry Chapyshev (lentind(a)yandex.ru)
+ * PROJECT: ReactOS Software Control Panel
+ * FILE: dll/cpl/joy/joy.c
+ * PURPOSE: ReactOS Software Control Panel
+ * PROGRAMMER: Dmitry Chapyshev (lentind(a)yandex.ru)
* UPDATE HISTORY:
* 10-18-2007 Created
*/
@@ -41,31 +41,36 @@
{IDI_CPLSYSTEM, IDS_CPLSYSTEMNAME, IDS_CPLSYSTEMDESCRIPTION, SystemApplet}
};
-VOID AddColumns(HWND hList)
-{
- LV_COLUMN dummy;
- RECT rect;
- int Size;
- TCHAR szBuf[256];
-
- GetClientRect(hList, &rect);
- ZeroMemory(&dummy, sizeof(LV_COLUMN));
- dummy.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
- dummy.iSubItem = 0;
- LoadString(hApplet, IDS_STATUS, szBuf, sizeof(szBuf) / sizeof(TCHAR));
- dummy.pszText = (LPTSTR)szBuf;
- Size = rect.right - rect.left - 250;
- dummy.cx = Size;
- (void)ListView_InsertColumn(hList, 0, &dummy);
-
- GetClientRect(hList, &rect);
- ZeroMemory(&dummy, sizeof(LV_COLUMN));
- dummy.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
- dummy.iSubItem = 0;
- LoadString(hApplet, IDS_CONTROLLER, szBuf, sizeof(szBuf) / sizeof(TCHAR));
- dummy.pszText = (LPTSTR)szBuf;
- dummy.cx = rect.right - rect.left - Size;
- (void)ListView_InsertColumn(hList, 0, &dummy);
+VOID
+AddColumns(HWND hList)
+{
+ LV_COLUMN dummy;
+ RECT rect;
+ int Size;
+ TCHAR szBuf[256];
+
+ GetClientRect(hList, &rect);
+ Size = rect.right - rect.left - 250;
+
+ LoadString(hApplet, IDS_STATUS, szBuf, sizeof(szBuf) / sizeof(TCHAR));
+
+ ZeroMemory(&dummy, sizeof(LV_COLUMN));
+ dummy.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
+ dummy.iSubItem = 0;
+ dummy.pszText = (LPTSTR)szBuf;
+ dummy.cx = Size;
+ (void)ListView_InsertColumn(hList, 0, &dummy);
+
+ GetClientRect(hList, &rect);
+
+ LoadString(hApplet, IDS_CONTROLLER, szBuf, sizeof(szBuf) / sizeof(TCHAR));
+
+ ZeroMemory(&dummy, sizeof(LV_COLUMN));
+ dummy.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM;
+ dummy.iSubItem = 0;
+ dummy.pszText = (LPTSTR)szBuf;
+ dummy.cx = rect.right - rect.left - Size;
+ (void)ListView_InsertColumn(hList, 0, &dummy);
}
INT_PTR CALLBACK
@@ -76,33 +81,34 @@
switch (uMsg)
{
case WM_INITDIALOG:
-
- break;
+ break;
case WM_COMMAND:
- switch (LOWORD(wParam))
- {
- case IDOK:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- case IDCANCEL:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- }
- break;
- case WM_NOTIFY:
-
- break;
- case WM_SYSCOMMAND:
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- // not implemented
- break;
- }
- break;
- }
- return 0;
+ switch (LOWORD(wParam))
+ {
+ case IDOK:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+
+ case IDCANCEL:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+ }
+ break;
+
+ case WM_NOTIFY:
+ break;
+
+ case WM_SYSCOMMAND:
+ switch (LOWORD(wParam))
+ {
+ case SC_CONTEXTHELP:
+ // not implemented
+ break;
+ }
+ break;
+ }
+ return 0;
}
INT_PTR CALLBACK
@@ -113,33 +119,34 @@
switch (uMsg)
{
case WM_INITDIALOG:
-
- break;
+ break;
case WM_COMMAND:
- switch (LOWORD(wParam))
- {
- case IDOK:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- case IDCANCEL:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- }
- break;
- case WM_NOTIFY:
-
- break;
- case WM_SYSCOMMAND:
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- // not implemented
- break;
- }
- break;
- }
- return 0;
+ switch (LOWORD(wParam))
+ {
+ case IDOK:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+
+ case IDCANCEL:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+ }
+ break;
+
+ case WM_NOTIFY:
+ break;
+
+ case WM_SYSCOMMAND:
+ switch (LOWORD(wParam))
+ {
+ case SC_CONTEXTHELP:
+ // not implemented
+ break;
+ }
+ break;
+ }
+ return 0;
}
INT_PTR CALLBACK
@@ -150,39 +157,41 @@
switch (uMsg)
{
case WM_INITDIALOG:
-
- break;
+ break;
case WM_COMMAND:
- switch (LOWORD(wParam))
- {
- case IDC_CUSTOM_BUTTON:
- DialogBox(hApplet,
- MAKEINTRESOURCE(IDD_CUSTOM),
- hwndDlg,
- CustomPageProc);
- break;
- case IDOK:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- case IDCANCEL:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- }
- break;
- case WM_NOTIFY:
-
- break;
- case WM_SYSCOMMAND:
- switch (LOWORD(wParam))
- {
- case SC_CONTEXTHELP:
- // not implemented
- break;
- }
- break;
- }
- return 0;
+ switch (LOWORD(wParam))
+ {
+ case IDC_CUSTOM_BUTTON:
+ DialogBox(hApplet,
+ MAKEINTRESOURCE(IDD_CUSTOM),
+ hwndDlg,
+ CustomPageProc);
+ break;
+
+ case IDOK:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+
+ case IDCANCEL:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+ }
+ break;
+
+ case WM_NOTIFY:
+ break;
+
+ case WM_SYSCOMMAND:
+ switch (LOWORD(wParam))
+ {
+ case SC_CONTEXTHELP:
+ // not implemented
+ break;
+ }
+ break;
+ }
+ return 0;
}
/* Property page dialog callback */
@@ -194,51 +203,55 @@
switch (uMsg)
{
case WM_INITDIALOG:
- AddColumns(GetDlgItem(hwndDlg,IDC_CONTROLLER_LIST));
- break;
+ AddColumns(GetDlgItem(hwndDlg,IDC_CONTROLLER_LIST));
+ break;
case WM_COMMAND:
- switch (LOWORD(wParam))
- {
- case IDC_ADD_BUTTON:
- DialogBox(hApplet,
- MAKEINTRESOURCE(IDD_ADD),
- hwndDlg,
- AddPageProc);
- break;
- case IDC_ADVANCED_BUTTON:
- DialogBox(hApplet,
- MAKEINTRESOURCE(IDD_ADVANCED),
- hwndDlg,
- AdvancedPageProc);
- break;
- case IDOK:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- }
- break;
- case WM_NOTIFY:
-
- break;
- case WM_SYSCOMMAND:
- switch (LOWORD(wParam))
- {
- case SC_CLOSE:
- EndDialog(hwndDlg,LOWORD(wParam));
- break;
- case SC_CONTEXTHELP:
- // not implemented
- break;
- }
- break;
- }
- return 0;
+ switch (LOWORD(wParam))
+ {
+ case IDC_ADD_BUTTON:
+ DialogBox(hApplet,
+ MAKEINTRESOURCE(IDD_ADD),
+ hwndDlg,
+ AddPageProc);
+ break;
+
+ case IDC_ADVANCED_BUTTON:
+ DialogBox(hApplet,
+ MAKEINTRESOURCE(IDD_ADVANCED),
+ hwndDlg,
+ AdvancedPageProc);
+ break;
+
+ case IDOK:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+ }
+ break;
+
+ case WM_NOTIFY:
+ break;
+
+ case WM_SYSCOMMAND:
+ switch (LOWORD(wParam))
+ {
+ case SC_CLOSE:
+ EndDialog(hwndDlg,LOWORD(wParam));
+ break;
+
+ case SC_CONTEXTHELP:
+ // not implemented
+ break;
+ }
+ break;
+ }
+ return 0;
}
/* First Applet */
LONG CALLBACK
SystemApplet(VOID)
-{
+{
DialogBox(hApplet,
MAKEINTRESOURCE(IDD_PROPPAGEMAIN),
MainDlg,
@@ -274,10 +287,10 @@
break;
case CPL_DBLCLK:
- {
- MainDlg = hwndCPl;
- Applets[i].AppletProc();
- }
+ {
+ MainDlg = hwndCPl;
+ Applets[i].AppletProc();
+ }
break;
}
Modified: trunk/reactos/dll/cpl/joy/joy.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/joy/joy.h?rev=2973…
==============================================================================
--- trunk/reactos/dll/cpl/joy/joy.h (original)
+++ trunk/reactos/dll/cpl/joy/joy.h Sun Oct 21 16:58:35 2007
@@ -16,18 +16,18 @@
typedef struct
{
- int idIcon;
- int idName;
- int idDescription;
- CPLAPPLET_PROC AppletProc;
+ int idIcon;
+ int idName;
+ int idDescription;
+ CPLAPPLET_PROC AppletProc;
} APPLET, *PAPPLET;
typedef struct
{
- WCHAR szTarget[MAX_PATH];
- WCHAR szWorkingDirectory[MAX_PATH];
- WCHAR szDescription[MAX_PATH];
- WCHAR szLinkName[MAX_PATH];
+ WCHAR szTarget[MAX_PATH];
+ WCHAR szWorkingDirectory[MAX_PATH];
+ WCHAR szDescription[MAX_PATH];
+ WCHAR szLinkName[MAX_PATH];
}CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT;
Modified: trunk/reactos/dll/cpl/joy/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/joy/lang/en-US.rc?…
==============================================================================
--- trunk/reactos/dll/cpl/joy/lang/en-US.rc (original)
+++ trunk/reactos/dll/cpl/joy/lang/en-US.rc Sun Oct 21 16:58:35 2007
@@ -5,80 +5,80 @@
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Game Controllers"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 7, 7, 20, 20
- LTEXT "These settings help you configure the game controllers installed on your
computer.", -1, 33, 7, 214, 20, NOT WS_GROUP
- GROUPBOX "I&nstalled game controllers", -1, 7, 34, 238, 117
- CONTROL "List1", IDC_CONTROLLER_LIST, "SysListView32", WS_BORDER |
WS_GROUP | WS_TABSTOP | 0x0000808D, 14, 44, 224, 80
- PUSHBUTTON "&Add...", IDC_ADD_BUTTON, 35, 129, 65, 14
- PUSHBUTTON "&Remove", IDC_REMOVE_BUTTON, 104, 129, 65, 14, WS_DISABLED
- PUSHBUTTON "&Properties", IDC_PROPERTIES_BUTTON, 173, 129, 65, 14,
WS_DISABLED
- PUSHBUTTON "A&dvanced...", IDC_ADVANCED_BUTTON, 111, 157, 65, 14
- PUSHBUTTON "&Troubleshoot...", IDC_TROUBLESHOOT_BUTTON, 180, 157, 65, 14
- PUSHBUTTON "OK", IDOK, 195, 185, 50, 14
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 7, 7, 20, 20
+ LTEXT "These settings help you configure the game controllers installed on your
computer.", -1, 33, 7, 214, 20, NOT WS_GROUP
+ GROUPBOX "I&nstalled game controllers", -1, 7, 34, 238, 117
+ CONTROL "List1", IDC_CONTROLLER_LIST, "SysListView32", WS_BORDER
| WS_GROUP | WS_TABSTOP | 0x0000808D, 14, 44, 224, 80
+ PUSHBUTTON "&Add...", IDC_ADD_BUTTON, 35, 129, 65, 14
+ PUSHBUTTON "&Remove", IDC_REMOVE_BUTTON, 104, 129, 65, 14, WS_DISABLED
+ PUSHBUTTON "&Properties", IDC_PROPERTIES_BUTTON, 173, 129, 65, 14,
WS_DISABLED
+ PUSHBUTTON "A&dvanced...", IDC_ADVANCED_BUTTON, 111, 157, 65, 14
+ PUSHBUTTON "&Troubleshoot...", IDC_TROUBLESHOOT_BUTTON, 180, 157, 65,
14
+ PUSHBUTTON "OK", IDOK, 195, 185, 50, 14
+END
IDD_ADD DIALOGEX 0, 0, 265, 200
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUPWINDOW |
WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Add Game Controller"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 8, 7, 20, 20
- LTEXT "Select a game controller from the list below, and then click OK. If your
game controller does not appear in the list, click Custom.", -1, 35, 7, 210, 33
- LTEXT "&Game controllers:", -1, 8, 45, 126, 8
- LISTBOX IDC_GAME_CONTROLLERS_LIST, 7, 55, 251, 57, LBS_STANDARD | LBS_NOINTEGRALHEIGHT |
LBS_WANTKEYBOARDINPUT | WS_HSCROLL | WS_TABSTOP
- AUTOCHECKBOX "&Enable rudders and pedals", IDC_ENABLE_RUDDERS_CHECKBOX, 7,
114, 100, 10, WS_GROUP
- LTEXT "&Game Port:", -1, 7, 134, 38, 8, NOT WS_VISIBLE
- COMBOBOX IDC_GAME_PORT_COMBO, 7, 147, 140, 50, CBS_DROPDOWNLIST | CBS_SORT | NOT
WS_VISIBLE | WS_VSCROLL
- PUSHBUTTON "&Custom...", IDC_CUSTOM_BUTTON, 208, 147, 50, 14
- CONTROL "", -25525, "STATIC", SS_ETCHEDHORZ, 7, 170, 251, 1
- DEFPUSHBUTTON "OK", IDOK, 155, 179, 50, 14
- PUSHBUTTON "Cancel", IDCANCEL, 208, 179, 50, 14
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 8, 7, 20, 20
+ LTEXT "Select a game controller from the list below, and then click OK. If your
game controller does not appear in the list, click Custom.", -1, 35, 7, 210, 33
+ LTEXT "&Game controllers:", -1, 8, 45, 126, 8
+ LISTBOX IDC_GAME_CONTROLLERS_LIST, 7, 55, 251, 57, LBS_STANDARD |
LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT | WS_HSCROLL | WS_TABSTOP
+ AUTOCHECKBOX "&Enable rudders and pedals", IDC_ENABLE_RUDDERS_CHECKBOX,
7, 114, 100, 10, WS_GROUP
+ LTEXT "&Game Port:", -1, 7, 134, 38, 8, NOT WS_VISIBLE
+ COMBOBOX IDC_GAME_PORT_COMBO, 7, 147, 140, 50, CBS_DROPDOWNLIST | CBS_SORT | NOT
WS_VISIBLE | WS_VSCROLL
+ PUSHBUTTON "&Custom...", IDC_CUSTOM_BUTTON, 208, 147, 50, 14
+ CONTROL "", -25525, "STATIC", SS_ETCHEDHORZ, 7, 170, 251, 1
+ DEFPUSHBUTTON "OK", IDOK, 155, 179, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, 208, 179, 50, 14
+END
IDD_CUSTOM DIALOGEX 0, 0, 265, 183, 0
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUPWINDOW |
WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Custom Game Controller"
FONT 8, "MS Shell Dlg"
-{
- GROUPBOX "Special characteristics", -1, 7, 7, 245, 52
- AUTORADIOBUTTON "&Joystick", IDC_JOYSTICK_RADIO, 17, 23, 55, 10
- AUTORADIOBUTTON "&Flight yoke or flight stick", IDC_FLIGHT_YOKE_RADIO,
147, 23, 89, 10
- AUTORADIOBUTTON "&Game pad", IDC_GAME_PAD_RADIO, 17, 40, 65, 10
- AUTORADIOBUTTON "&Race car controller", IDC_RACE_CAR_RADIO, 147, 40, 93,
10
- GROUPBOX "&Axes", -1, 7, 67, 116, 44, WS_GROUP
- COMBOBOX IDC_AXES_COMBO, 37, 79, 48, 50, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL
- AUTORADIOBUTTON "Rudder/Pedals", IDC_RUDDER_PEDALS_RADIO, 14, 97, 63, 10, NOT
WS_VISIBLE
- AUTORADIOBUTTON "Z Axis", IDC_Z_AXIS_RADIO, 81, 97, 35, 10, NOT WS_VISIBLE
- GROUPBOX "&Buttons", -1, 137, 67, 116, 44
- COMBOBOX IDC_BUTTONS_COMBO, 178, 79, 48, 50, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
CBS_SORT | WS_VSCROLL, WS_EX_CLIENTEDGE
- AUTOCHECKBOX "Includes a &point of view control", IDC_INC_POINT_CHECKBOX,
7, 123, 115, 10
- LTEXT "C&ontroller name:", -1, 7, 139, 200, 9
- EDITTEXT IDC_CONTROLLER_NAME_EDIT, 7, 150, 116, 15, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE |
WS_EX_STATICEDGE
- DEFPUSHBUTTON "OK", IDOK, 137, 150, 50, 14
- PUSHBUTTON "Cancel", IDCANCEL, 203, 150, 50, 14
-}
+BEGIN
+ GROUPBOX "Special characteristics", -1, 7, 7, 245, 52
+ AUTORADIOBUTTON "&Joystick", IDC_JOYSTICK_RADIO, 17, 23, 55, 10
+ AUTORADIOBUTTON "&Flight yoke or flight stick", IDC_FLIGHT_YOKE_RADIO,
147, 23, 89, 10
+ AUTORADIOBUTTON "&Game pad", IDC_GAME_PAD_RADIO, 17, 40, 65, 10
+ AUTORADIOBUTTON "&Race car controller", IDC_RACE_CAR_RADIO, 147, 40,
93, 10
+ GROUPBOX "&Axes", -1, 7, 67, 116, 44, WS_GROUP
+ COMBOBOX IDC_AXES_COMBO, 37, 79, 48, 50, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL
+ AUTORADIOBUTTON "Rudder/Pedals", IDC_RUDDER_PEDALS_RADIO, 14, 97, 63, 10,
NOT WS_VISIBLE
+ AUTORADIOBUTTON "Z Axis", IDC_Z_AXIS_RADIO, 81, 97, 35, 10, NOT WS_VISIBLE
+ GROUPBOX "&Buttons", -1, 137, 67, 116, 44
+ COMBOBOX IDC_BUTTONS_COMBO, 178, 79, 48, 50, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
CBS_SORT | WS_VSCROLL, WS_EX_CLIENTEDGE
+ AUTOCHECKBOX "Includes a &point of view control",
IDC_INC_POINT_CHECKBOX, 7, 123, 115, 10
+ LTEXT "C&ontroller name:", -1, 7, 139, 200, 9
+ EDITTEXT IDC_CONTROLLER_NAME_EDIT, 7, 150, 116, 15, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
| WS_EX_STATICEDGE
+ DEFPUSHBUTTON "OK", IDOK, 137, 150, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, 203, 150, 50, 14
+END
IDD_ADVANCED DIALOGEX 0, 0, 220, 86
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Advanced Settings"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 7, 24, 20, 20
- DEFPUSHBUTTON "OK", IDOK, 106, 65, 50, 14
- PUSHBUTTON "Cancel", IDCANCEL, 163, 65, 50, 14
- LTEXT "Select the device you want to use with older programs.", -1, 7, 7, 208,
10
- LTEXT "&Preferred device:", -1, 34, 24, 70, 10
- COMBOBOX IDC_PREFERRED_DEV_COMBO, 34, 38, 179, 75, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 7, 24, 20, 20
+ DEFPUSHBUTTON "OK", IDOK, 106, 65, 50, 14
+ PUSHBUTTON "Cancel", IDCANCEL, 163, 65, 50, 14
+ LTEXT "Select the device you want to use with older programs.", -1, 7, 7,
208, 10
+ LTEXT "&Preferred device:", -1, 34, 24, 70, 10
+ COMBOBOX IDC_PREFERRED_DEV_COMBO, 34, 38, 179, 75, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL
+END
-STRINGTABLE
+STRINGTABLE
BEGIN
- IDS_CPLSYSTEMNAME "Game Controllers"
- IDS_CPLSYSTEMDESCRIPTION "Add, remove, and configure game controller hardware such
as joysticks and gamepads."
- IDS_CONTROLLER "Controller"
- IDS_STATUS "Status"
+ IDS_CPLSYSTEMNAME "Game Controllers"
+ IDS_CPLSYSTEMDESCRIPTION "Add, remove, and configure game controller hardware
such as joysticks and gamepads."
+ IDS_CONTROLLER "Controller"
+ IDS_STATUS "Status"
END
Modified: trunk/reactos/dll/cpl/joy/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/joy/lang/ru-RU.rc?…
==============================================================================
--- trunk/reactos/dll/cpl/joy/lang/ru-RU.rc (original)
+++ trunk/reactos/dll/cpl/joy/lang/ru-RU.rc Sun Oct 21 16:58:35 2007
@@ -5,80 +5,80 @@
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Èãðîâûå óñòðîéñòâà"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 7, 7, 20, 20
- LTEXT "Ýòè ïàðàìåòðû ïîçâîëÿþò íàñòðîèòü èãðîâûå óñòðîéñòâà, óñòàíîâëåííûå íà
êîìïüþòåðå.", -1, 33, 7, 214, 20, NOT WS_GROUP
- GROUPBOX "Óñòàíîâëåííûå &èãðîâûå óñòðîéñòâà", -1, 7, 34, 238, 117
- CONTROL "List1", IDC_CONTROLLER_LIST, "SysListView32", WS_BORDER |
WS_GROUP | WS_TABSTOP | 0x0000808D, 14, 44, 224, 80
- PUSHBUTTON "Äî&áàâèòü...", IDC_ADD_BUTTON, 35, 129, 65, 14
- PUSHBUTTON "&Óäàëèòü", IDC_REMOVE_BUTTON, 104, 129, 65, 14, WS_DISABLED
- PUSHBUTTON "Ñâî&éñòâà", IDC_PROPERTIES_BUTTON, 173, 129, 65, 14,
WS_DISABLED
- PUSHBUTTON "Ä&îïîëíèòåëüíî...", IDC_ADVANCED_BUTTON, 101, 157, 70, 14
- PUSHBUTTON "Äèà&ãíîñòèêà...", IDC_TROUBLESHOOT_BUTTON, 175, 157, 70, 14
- PUSHBUTTON "OK", IDOK, 195, 185, 50, 14
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 7, 7, 20, 20
+ LTEXT "Ýòè ïàðàìåòðû ïîçâîëÿþò íàñòðîèòü èãðîâûå óñòðîéñòâà, óñòàíîâëåííûå íà
êîìïüþòåðå.", -1, 33, 7, 214, 20, NOT WS_GROUP
+ GROUPBOX "Óñòàíîâëåííûå &èãðîâûå óñòðîéñòâà", -1, 7, 34, 238, 117
+ CONTROL "List1", IDC_CONTROLLER_LIST, "SysListView32", WS_BORDER
| WS_GROUP | WS_TABSTOP | 0x0000808D, 14, 44, 224, 80
+ PUSHBUTTON "Äî&áàâèòü...", IDC_ADD_BUTTON, 35, 129, 65, 14
+ PUSHBUTTON "&Óäàëèòü", IDC_REMOVE_BUTTON, 104, 129, 65, 14,
WS_DISABLED
+ PUSHBUTTON "Ñâî&éñòâà", IDC_PROPERTIES_BUTTON, 173, 129, 65, 14,
WS_DISABLED
+ PUSHBUTTON "Ä&îïîëíèòåëüíî...", IDC_ADVANCED_BUTTON, 101, 157, 70, 14
+ PUSHBUTTON "Äèà&ãíîñòèêà...", IDC_TROUBLESHOOT_BUTTON, 175, 157, 70,
14
+ PUSHBUTTON "OK", IDOK, 195, 185, 50, 14
+END
IDD_ADD DIALOGEX 0, 0, 265, 200
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUPWINDOW |
WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Äîáàâëåíèå èãðîâîãî óñòðîéñòâà"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 8, 7, 20, 20
- LTEXT "Âûáåðèòå èãðîâîé êîíòðîëëåð â ðàñïîëîæåííîì íèæå ñïèñêå è íàæìèòå êíîïêó ÎÊ.
Åñëè âàø èãðîâîé êîíòðîëëåð îòñóòñòâóåò â ñïèñêå, íàæìèòå êíîïêó
""Äðóãîé"".", -1, 35, 7, 210, 33
- LTEXT "&Èãðîâûå óñòðîéñòâà:", -1, 8, 45, 126, 8
- LISTBOX IDC_GAME_CONTROLLERS_LIST, 7, 55, 251, 57, LBS_STANDARD | LBS_NOINTEGRALHEIGHT |
LBS_WANTKEYBOARDINPUT | WS_HSCROLL | WS_TABSTOP
- AUTOCHECKBOX "&Ïîäêëþ÷èòü ðóëü èëè ïåäàëè", IDC_ENABLE_RUDDERS_CHECKBOX,
7, 114, 120, 10, WS_GROUP
- LTEXT "&Èãðîâîé ïîðò:", -1, 7, 134, 38, 8, NOT WS_VISIBLE
- COMBOBOX IDC_GAME_PORT_COMBO, 7, 147, 140, 50, CBS_DROPDOWNLIST | CBS_SORT | NOT
WS_VISIBLE | WS_VSCROLL
- PUSHBUTTON "&Äðóãîé...", IDC_CUSTOM_BUTTON, 208, 147, 50, 14
- CONTROL "", -25525, "STATIC", SS_ETCHEDHORZ, 7, 170, 251, 1
- DEFPUSHBUTTON "OK", IDOK, 155, 179, 50, 14
- PUSHBUTTON "Îòìåíà", IDCANCEL, 208, 179, 50, 14
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 8, 7, 20, 20
+ LTEXT "Âûáåðèòå èãðîâîé êîíòðîëëåð â ðàñïîëîæåííîì íèæå ñïèñêå è íàæìèòå êíîïêó
ÎÊ. Åñëè âàø èãðîâîé êîíòðîëëåð îòñóòñòâóåò â ñïèñêå, íàæìèòå êíîïêó
""Äðóãîé"".", -1, 35, 7, 210, 33
+ LTEXT "&Èãðîâûå óñòðîéñòâà:", -1, 8, 45, 126, 8
+ LISTBOX IDC_GAME_CONTROLLERS_LIST, 7, 55, 251, 57, LBS_STANDARD |
LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT | WS_HSCROLL | WS_TABSTOP
+ AUTOCHECKBOX "&Ïîäêëþ÷èòü ðóëü èëè ïåäàëè",
IDC_ENABLE_RUDDERS_CHECKBOX, 7, 114, 120, 10, WS_GROUP
+ LTEXT "&Èãðîâîé ïîðò:", -1, 7, 134, 38, 8, NOT WS_VISIBLE
+ COMBOBOX IDC_GAME_PORT_COMBO, 7, 147, 140, 50, CBS_DROPDOWNLIST | CBS_SORT | NOT
WS_VISIBLE | WS_VSCROLL
+ PUSHBUTTON "&Äðóãîé...", IDC_CUSTOM_BUTTON, 208, 147, 50, 14
+ CONTROL "", -25525, "STATIC", SS_ETCHEDHORZ, 7, 170, 251, 1
+ DEFPUSHBUTTON "OK", IDOK, 155, 179, 50, 14
+ PUSHBUTTON "Îòìåíà", IDCANCEL, 208, 179, 50, 14
+END
IDD_CUSTOM DIALOGEX 0, 0, 265, 183, 0
STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | WS_POPUPWINDOW |
WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Îñîáîå èãðîâîå óñòðîéñòâî"
FONT 8, "MS Shell Dlg"
-{
- GROUPBOX "Îñîáåííîñòè", -1, 7, 7, 245, 52
- AUTORADIOBUTTON "&Äæîéñòèê", IDC_JOYSTICK_RADIO, 17, 23, 55, 10
- AUTORADIOBUTTON "&Øòóðâàë èëè ðóêîÿòêà óïðàâëåíèÿ", IDC_FLIGHT_YOKE_RADIO,
100, 23, 143, 10
- AUTORADIOBUTTON "&Èãðîâîé ïëàíøåò", IDC_GAME_PAD_RADIO, 17, 40, 75, 10
- AUTORADIOBUTTON "Óïðàâëåíèå ãîíî÷íîé &àâòîìàøèíîé", IDC_RACE_CAR_RADIO,
100, 40, 143, 10
- GROUPBOX "&Ñòåïåíü ñâîáîäû", -1, 7, 67, 116, 44, WS_GROUP
- COMBOBOX IDC_AXES_COMBO, 37, 79, 48, 50, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL
- AUTORADIOBUTTON "Ðóëü óïðàâëåíèÿ èëè ïåäàëè", IDC_RUDDER_PEDALS_RADIO, 14, 97,
63, 10, NOT WS_VISIBLE
- AUTORADIOBUTTON "Îñü Z", IDC_Z_AXIS_RADIO, 81, 97, 35, 10, NOT WS_VISIBLE
- GROUPBOX "Ê&íîïêè", -1, 137, 67, 116, 44
- COMBOBOX IDC_BUTTONS_COMBO, 178, 79, 48, 50, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
CBS_SORT | WS_VSCROLL, WS_EX_CLIENTEDGE
- AUTOCHECKBOX "Èìååòñÿ &ïåðåêëþ÷àòåëü POV", IDC_INC_POINT_CHECKBOX, 7, 123,
115, 10
- LTEXT "&Êîíòðîëåð:", -1, 7, 139, 200, 9
- EDITTEXT IDC_CONTROLLER_NAME_EDIT, 7, 150, 116, 15, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE |
WS_EX_STATICEDGE
- DEFPUSHBUTTON "OK", IDOK, 137, 150, 50, 14
- PUSHBUTTON "Îòìåíà", IDCANCEL, 203, 150, 50, 14
-}
+BEGIN
+ GROUPBOX "Îñîáåííîñòè", -1, 7, 7, 245, 52
+ AUTORADIOBUTTON "&Äæîéñòèê", IDC_JOYSTICK_RADIO, 17, 23, 55, 10
+ AUTORADIOBUTTON "&Øòóðâàë èëè ðóêîÿòêà óïðàâëåíèÿ",
IDC_FLIGHT_YOKE_RADIO, 100, 23, 143, 10
+ AUTORADIOBUTTON "&Èãðîâîé ïëàíøåò", IDC_GAME_PAD_RADIO, 17, 40, 75, 10
+ AUTORADIOBUTTON "Óïðàâëåíèå ãîíî÷íîé &àâòîìàøèíîé", IDC_RACE_CAR_RADIO,
100, 40, 143, 10
+ GROUPBOX "&Ñòåïåíü ñâîáîäû", -1, 7, 67, 116, 44, WS_GROUP
+ COMBOBOX IDC_AXES_COMBO, 37, 79, 48, 50, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL
+ AUTORADIOBUTTON "Ðóëü óïðàâëåíèÿ èëè ïåäàëè", IDC_RUDDER_PEDALS_RADIO, 14,
97, 63, 10, NOT WS_VISIBLE
+ AUTORADIOBUTTON "Îñü Z", IDC_Z_AXIS_RADIO, 81, 97, 35, 10, NOT WS_VISIBLE
+ GROUPBOX "Ê&íîïêè", -1, 137, 67, 116, 44
+ COMBOBOX IDC_BUTTONS_COMBO, 178, 79, 48, 50, CBS_DROPDOWNLIST | CBS_AUTOHSCROLL |
CBS_SORT | WS_VSCROLL, WS_EX_CLIENTEDGE
+ AUTOCHECKBOX "Èìååòñÿ &ïåðåêëþ÷àòåëü POV", IDC_INC_POINT_CHECKBOX, 7,
123, 115, 10
+ LTEXT "&Êîíòðîëåð:", -1, 7, 139, 200, 9
+ EDITTEXT IDC_CONTROLLER_NAME_EDIT, 7, 150, 116, 15, ES_AUTOHSCROLL, WS_EX_CLIENTEDGE
| WS_EX_STATICEDGE
+ DEFPUSHBUTTON "OK", IDOK, 137, 150, 50, 14
+ PUSHBUTTON "Îòìåíà", IDCANCEL, 203, 150, 50, 14
+END
IDD_ADVANCED DIALOGEX 0, 0, 220, 86
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "Äîïîëíèòåëüíûå ïàðàìåòðû"
FONT 8, "MS Shell Dlg"
-{
- ICON IDI_CPLSYSTEM, -1, 7, 24, 20, 20
- LTEXT "Âûáåðèòå óñòðîéñòâî, êîòîðîå ñëåäóåò èñïîëüçîâàòü ñî ñòàðûìè
ïðîãðàììàìè.", -1, 7, 5, 208, 17
- LTEXT "&Ïðåäïî÷èòàåìîå óñòðîéñòâî:", -1, 34, 24, 180, 10
- COMBOBOX IDC_PREFERRED_DEV_COMBO, 34, 38, 179, 75, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL
- DEFPUSHBUTTON "OK", IDOK, 106, 65, 50, 14
- PUSHBUTTON "Îòìåíà", IDCANCEL, 163, 65, 50, 14
-}
+BEGIN
+ ICON IDI_CPLSYSTEM, -1, 7, 24, 20, 20
+ LTEXT "Âûáåðèòå óñòðîéñòâî, êîòîðîå ñëåäóåò èñïîëüçîâàòü ñî ñòàðûìè
ïðîãðàììàìè.", -1, 7, 5, 208, 17
+ LTEXT "&Ïðåäïî÷èòàåìîå óñòðîéñòâî:", -1, 34, 24, 180, 10
+ COMBOBOX IDC_PREFERRED_DEV_COMBO, 34, 38, 179, 75, CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL
+ DEFPUSHBUTTON "OK", IDOK, 106, 65, 50, 14
+ PUSHBUTTON "Îòìåíà", IDCANCEL, 163, 65, 50, 14
+END
STRINGTABLE
BEGIN
- IDS_CPLSYSTEMNAME "Èãðîâûå óñòðîéñòâà"
- IDS_CPLSYSTEMDESCRIPTION "Äîáàâëåíèå, óäàëåíèå è íàñòðîéêà ïàðàìåòðîâ èãðîâûõ
óñòðîéñòâ, íàïðèìåð, äæîéñòèêîâ èëè èãðîâûõ ïëàíøåòîâ."
- IDS_CONTROLLER "Óñòðîéñòâî"
- IDS_STATUS "Ñîñòîÿíèå"
+ IDS_CPLSYSTEMNAME "Èãðîâûå óñòðîéñòâà"
+ IDS_CPLSYSTEMDESCRIPTION "Äîáàâëåíèå, óäàëåíèå è íàñòðîéêà ïàðàìåòðîâ èãðîâûõ
óñòðîéñòâ, íàïðèìåð, äæîéñòèêîâ èëè èãðîâûõ ïëàíøåòîâ."
+ IDS_CONTROLLER "Óñòðîéñòâî"
+ IDS_STATUS "Ñîñòîÿíèå"
END