mirror of
https://github.com/reactos/reactos.git
synced 2025-06-30 17:51:21 +00:00
[SOLITAIRE]
Change "Ok/Cancel" to "Yes/No". Lee Schroeder (=spaceseel=AT=gmail=DOT=com=), bug #6606. [CPL][WIN32K] Fix indentation, comments, debug messages. Lioncash (=mathew1800=AT=gmail=DOT=com=), bug #6562, bug #6621. svn path=/trunk/; revision=54535
This commit is contained in:
parent
62e97bd800
commit
267dcf71eb
138 changed files with 724 additions and 733 deletions
|
@ -567,8 +567,8 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
int ret;
|
||||
|
||||
ret = MessageBox(hwnd, MsgQuit, szAppName, MB_OKCANCEL|MB_ICONQUESTION);
|
||||
if (ret == IDOK)
|
||||
ret = MessageBox(hwnd, MsgQuit, szAppName, MB_YESNO|MB_ICONQUESTION);
|
||||
if (ret == IDYES)
|
||||
{
|
||||
WinHelp(hwnd, szHelpPath, HELP_QUIT, 0);
|
||||
DestroyWindow(hwnd);
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "lang/ro-RO.rc"
|
||||
#include "lang/ru-RU.rc"
|
||||
#include "lang/sk-SK.rc"
|
||||
#include "lang/sv-SE.rc"
|
||||
#include "lang/uk-UA.rc"
|
||||
#include "lang/zh-CN.rc"
|
||||
#include "lang/zh-TW.rc"
|
||||
|
|
|
@ -76,7 +76,7 @@ ReadSettings(PGLOBAL_DATA pGlobalData)
|
|||
|
||||
pGlobalData->uCaretBlinkTime = GetCaretBlinkTime();
|
||||
|
||||
/* get sound settings */
|
||||
/* Get sound settings */
|
||||
pGlobalData->ssSoundSentry.cbSize = sizeof(SOUNDSENTRY);
|
||||
SystemParametersInfo(SPI_GETSOUNDSENTRY,
|
||||
sizeof(SOUNDSENTRY),
|
||||
|
|
|
@ -21,7 +21,7 @@ typedef struct _APPLET
|
|||
|
||||
typedef struct _GLOBAL_DATA
|
||||
{
|
||||
/* keyboard page */
|
||||
/* Keyboard page */
|
||||
STICKYKEYS stickyKeys;
|
||||
STICKYKEYS oldStickyKeys;
|
||||
FILTERKEYS filterKeys;
|
||||
|
@ -30,11 +30,11 @@ typedef struct _GLOBAL_DATA
|
|||
TOGGLEKEYS oldToggleKeys;
|
||||
BOOL bKeyboardPref;
|
||||
|
||||
/* sound page */
|
||||
/* Sound page */
|
||||
SOUNDSENTRY ssSoundSentry;
|
||||
BOOL bShowSounds;
|
||||
|
||||
/* display page */
|
||||
/* Display page */
|
||||
HIGHCONTRAST highContrast;
|
||||
UINT uCaretBlinkTime;
|
||||
UINT uCaretWidth;
|
||||
|
@ -42,10 +42,10 @@ typedef struct _GLOBAL_DATA
|
|||
RECT rcCaret;
|
||||
RECT rcOldCaret;
|
||||
|
||||
/* mouse page */
|
||||
/* Mouse page */
|
||||
MOUSEKEYS mouseKeys;
|
||||
|
||||
/* general page */
|
||||
/* General page */
|
||||
ACCESSTIMEOUT accessTimeout;
|
||||
SERIALKEYS serialKeys;
|
||||
TCHAR szActivePort[MAX_PATH];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//vertaald door Lionel Lowie
|
||||
//major update jansssens
|
||||
// Vertaald door Lionel Lowie
|
||||
// Major update jansssens
|
||||
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.05 - Fulea Ștefan: minor changes
|
||||
// 2011.11.05 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEKEYBOARD DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: dll/cpl/access/lang/uk-UA.rc
|
||||
* PURPOSE: Ukraianian Language File for Accessibility Control Panel Applet
|
||||
* TRANSLATORS: Rostislav Zabolotny, Igor Paliychuk
|
||||
* TRANSLATORS: Rostislav Zabolotny, Igor Paliychuk
|
||||
*/
|
||||
|
||||
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
|
||||
* UPDATED: 2010-03-14
|
||||
*/
|
||||
|
||||
|
||||
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_FIRSTPAGE DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
/* metrics */
|
||||
/* Metrics */
|
||||
#define PROPSHEETWIDTH 380
|
||||
#define PROPSHEETHEIGHT 228
|
||||
#define PROPSHEETPADDING 6
|
||||
|
||||
/* icons */
|
||||
/* Icons */
|
||||
#define IDI_CPLSYSTEM 1500
|
||||
#define IDI_APPICO 1501
|
||||
#define IDI_INSTICO 1502
|
||||
|
@ -13,20 +13,20 @@
|
|||
#define IDI_DOWNLOADICO 1504
|
||||
#define IDI_APPINETICO 1505
|
||||
|
||||
/* dialogs */
|
||||
/* Dialogs */
|
||||
#define IDD_SHORTCUT_LOCATION 203
|
||||
#define IDD_SHORTCUT_FINISH 204
|
||||
|
||||
/* bitmaps */
|
||||
/* Bitmaps */
|
||||
#define IDB_WATERMARK 5001
|
||||
|
||||
/* strings */
|
||||
/* Strings */
|
||||
#define IDS_CPLSYSTEMNAME 1001
|
||||
#define IDS_CPLSYSTEMDESCRIPTION 2001
|
||||
#define IDS_CREATE_SHORTCUT 2021
|
||||
#define IDS_ERROR_NOT_FOUND 2022
|
||||
|
||||
/* controls */
|
||||
/* Controls */
|
||||
#define IDC_SHORTCUT_LOCATION 107
|
||||
#define IDC_SHORTCUT_BROWSE 108
|
||||
#define IDC_SHORTCUT_NAME 109
|
||||
|
|
|
@ -92,7 +92,7 @@ ColorsProc(
|
|||
}
|
||||
else
|
||||
{
|
||||
/* options have already been applied */
|
||||
/* Options have already been applied */
|
||||
SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ ColorsProc(
|
|||
red = SendMessage(GetDlgItem(hwndDlg, IDC_UPDOWN_COLOR_RED), UDM_GETPOS, 0, 0);
|
||||
if (HIWORD(red))
|
||||
{
|
||||
//TODO: handle error
|
||||
// TODO: Handle error
|
||||
break;
|
||||
}
|
||||
red = LOBYTE(red);
|
||||
|
@ -132,7 +132,7 @@ ColorsProc(
|
|||
green = SendMessage(GetDlgItem(hwndDlg, IDC_UPDOWN_COLOR_GREEN), UDM_GETPOS, 0, 0);
|
||||
if (HIWORD(green))
|
||||
{
|
||||
//TODO: handle error
|
||||
// TODO: Handle error
|
||||
break;
|
||||
}
|
||||
green = LOBYTE(green);
|
||||
|
@ -143,7 +143,7 @@ ColorsProc(
|
|||
blue = SendMessage(GetDlgItem(hwndDlg, IDC_UPDOWN_COLOR_BLUE), UDM_GETPOS, 0, 0);
|
||||
if (HIWORD(blue))
|
||||
{
|
||||
//TODO: handle error
|
||||
// TODO: Handle error
|
||||
break;
|
||||
}
|
||||
blue = LOBYTE(blue);
|
||||
|
@ -201,7 +201,7 @@ ColorsProc(
|
|||
|
||||
if (index == pConInfo->ActiveStaticControl)
|
||||
{
|
||||
/* same static control was re-clicked */
|
||||
/* Same static control was re-clicked */
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -209,7 +209,7 @@ ColorsProc(
|
|||
SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_GREEN, GetGValue(pConInfo->Colors[index]), FALSE);
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_COLOR_BLUE, GetBValue(pConInfo->Colors[index]), FALSE);
|
||||
|
||||
/* update global struct */
|
||||
/* Update global struct */
|
||||
if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_SCREEN_TEXT))
|
||||
{
|
||||
pConInfo->ScreenText = pConInfo->Colors[index];
|
||||
|
@ -236,7 +236,6 @@ ColorsProc(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ AllocConsoleInfo()
|
|||
void
|
||||
InitConsoleDefaults(PConsoleInfo pConInfo)
|
||||
{
|
||||
/* initialize struct */
|
||||
/* Initialize struct */
|
||||
pConInfo->InsertMode = TRUE;
|
||||
pConInfo->HistoryBufferSize = 50;
|
||||
pConInfo->NumberOfHistoryBuffers = 5;
|
||||
|
@ -142,7 +142,7 @@ ApplyConsoleInfo(HWND hwndDlg, PConsoleInfo pConInfo)
|
|||
|
||||
if (res == IDCANCEL)
|
||||
{
|
||||
/* dont destroy when user presses cancel */
|
||||
/* Don't destroy when user presses cancel */
|
||||
SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
|
||||
}
|
||||
else if ( res == IDC_RADIO_APPLY_ALL )
|
||||
|
@ -175,8 +175,8 @@ InitApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
|
|||
/*
|
||||
* console.dll shares information with win32csr with wParam, lParam
|
||||
*
|
||||
* wParam is a pointer to an ConsoleInfo struct
|
||||
* lParam is a boolean parameter which specifies wheter defaults should be shown
|
||||
* wParam is a pointer to a ConsoleInfo struct
|
||||
* lParam is a boolean parameter which specifies whether defaults should be shown
|
||||
*/
|
||||
|
||||
pConInfo = AllocConsoleInfo();
|
||||
|
@ -187,14 +187,14 @@ InitApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
|
|||
|
||||
if (lParam)
|
||||
{
|
||||
/* use defaults */
|
||||
/* Use defaults */
|
||||
InitConsoleDefaults(pConInfo);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (IsBadReadPtr((const void *)pSharedInfo, sizeof(ConsoleInfo)))
|
||||
{
|
||||
/* use defaults */
|
||||
/* Use defaults */
|
||||
InitConsoleDefaults(pConInfo);
|
||||
}
|
||||
else
|
||||
|
@ -306,4 +306,3 @@ DllMain(
|
|||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ void PaintText(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo);
|
|||
#define PM_APPLY_CONSOLE_INFO (WM_APP + 100)
|
||||
|
||||
|
||||
//globals
|
||||
// Globals
|
||||
extern HINSTANCE hApplet;
|
||||
|
||||
#endif /* CONSOLE_H__ */
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "console.h"
|
||||
|
||||
|
||||
|
||||
void PaintConsole(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
|
||||
{
|
||||
HBRUSH hBrush;
|
||||
|
@ -30,46 +29,46 @@ void PaintConsole(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
|
|||
}
|
||||
else
|
||||
{
|
||||
//TODO
|
||||
// calculate pos correctly when console centered
|
||||
// TODO:
|
||||
// Calculate pos correctly when console centered
|
||||
startx = sizex / 3;
|
||||
starty = sizey / 3;
|
||||
}
|
||||
|
||||
//TODO
|
||||
// strech console when bold fonts are selected
|
||||
// TODO:
|
||||
// Strech console when bold fonts are selected
|
||||
endx = drawItem->rcItem.right - startx + 15;
|
||||
endy = starty + sizey / 3;
|
||||
|
||||
/* draw console size */
|
||||
/* Draw console size */
|
||||
SetRect(&cRect, startx, starty, endx, endy);
|
||||
FillRect(drawItem->hDC, &cRect, GetSysColorBrush(COLOR_WINDOWFRAME));
|
||||
|
||||
/* draw console border */
|
||||
/* Draw console border */
|
||||
SetRect(&fRect, startx + 1, starty + 1, cRect.right - 1, cRect.bottom - 1);
|
||||
FrameRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
|
||||
|
||||
/* draw left box */
|
||||
/* Draw left box */
|
||||
SetRect(&fRect, startx + 3, starty + 3, startx + 5, starty + 5);
|
||||
FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
|
||||
|
||||
/* draw window title */
|
||||
/* Draw window title */
|
||||
SetRect(&fRect, startx + 7, starty + 3, cRect.right - 9, starty + 5);
|
||||
FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVECAPTION));
|
||||
|
||||
/* draw first right box */
|
||||
/* Draw first right box */
|
||||
SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
|
||||
FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
|
||||
|
||||
/* draw second right box */
|
||||
/* Draw second right box */
|
||||
SetRect(&fRect, fRect.right + 1, starty + 3, fRect.right + 3, starty + 5);
|
||||
FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_ACTIVEBORDER));
|
||||
|
||||
/* draw scrollbar */
|
||||
/* Draw scrollbar */
|
||||
SetRect(&fRect, cRect.right - 5, fRect.bottom + 1, cRect.right - 3, cRect.bottom - 3);
|
||||
FillRect(drawItem->hDC, &fRect, GetSysColorBrush(COLOR_SCROLLBAR));
|
||||
|
||||
/* draw console background */
|
||||
/* Draw console background */
|
||||
hBrush = CreateSolidBrush(pConInfo->ScreenBackground);
|
||||
SetRect(&fRect, startx + 3, starty + 6, cRect.right - 6, cRect.bottom - 3);
|
||||
FillRect(drawItem->hDC, &fRect, hBrush);
|
||||
|
@ -107,7 +106,7 @@ void PaintText(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
|
|||
FillRect(drawItem->hDC, &drawItem->rcItem, hBrush);
|
||||
if (ntColor == nbkColor)
|
||||
{
|
||||
/* text has same color -> invisible */
|
||||
/* Text has same color -> invisible */
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -120,7 +119,6 @@ void PaintText(LPDRAWITEMSTRUCT drawItem, PConsoleInfo pConInfo)
|
|||
}
|
||||
|
||||
|
||||
|
||||
INT_PTR
|
||||
CALLBACK
|
||||
LayoutProc(
|
||||
|
@ -167,7 +165,7 @@ LayoutProc(
|
|||
}
|
||||
else
|
||||
{
|
||||
//FIXME calculate window pos from xres, yres
|
||||
// FIXME: Calculate window pos from xres, yres
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT, 88, FALSE);
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_POS_TOP, 88, FALSE);
|
||||
EnableWindow(GetDlgItem(hwndDlg, IDC_EDIT_WINDOW_POS_LEFT), FALSE);
|
||||
|
@ -251,7 +249,7 @@ LayoutProc(
|
|||
|
||||
if (lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_WINDOW_SIZE_HEIGHT)
|
||||
{
|
||||
/* automatically adjust screen buffer size when window size enlarges */
|
||||
/* Automatically adjust screen buffer size when window size enlarges */
|
||||
if (wwidth >= swidth)
|
||||
{
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_SCREEN_BUFFER_WIDTH, wwidth, TRUE);
|
||||
|
@ -269,7 +267,7 @@ LayoutProc(
|
|||
|
||||
if (lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_WIDTH || lppsn->hdr.idFrom == IDC_UPDOWN_SCREEN_BUFFER_HEIGHT)
|
||||
{
|
||||
/* automatically adjust window size when screen buffer decreases */
|
||||
/* Automatically adjust window size when screen buffer decreases */
|
||||
if (wwidth > swidth)
|
||||
{
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
|
||||
|
@ -317,7 +315,7 @@ LayoutProc(
|
|||
swidth = max(swidth, 1);
|
||||
sheight = max(sheight, 1);
|
||||
|
||||
/* automatically adjust window size when screen buffer decreases */
|
||||
/* Automatically adjust window size when screen buffer decreases */
|
||||
if (wwidth > swidth)
|
||||
{
|
||||
SetDlgItemInt(hwndDlg, IDC_EDIT_WINDOW_SIZE_WIDTH, swidth, TRUE);
|
||||
|
|
|
@ -61,7 +61,7 @@ OptionsProc(
|
|||
}
|
||||
else
|
||||
{
|
||||
/* options have already been applied */
|
||||
/* Options have already been applied */
|
||||
SetWindowLongPtr(hwndDlg, DWL_MSGRESULT, PSNRET_NOERROR);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -174,10 +174,10 @@ UpdateDialogElements(HWND hwndDlg, PConsoleInfo pConInfo)
|
|||
HWND hDlgCtrl;
|
||||
TCHAR szBuffer[MAX_PATH];
|
||||
|
||||
/* update cursor size */
|
||||
/* Update cursor size */
|
||||
if ( pConInfo->CursorSize == 0)
|
||||
{
|
||||
/* small cursor */
|
||||
/* Small cursor */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_SMALL_CURSOR);
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
|
||||
|
||||
|
@ -207,14 +207,14 @@ UpdateDialogElements(HWND hwndDlg, PConsoleInfo pConInfo)
|
|||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_UNCHECKED, 0);
|
||||
}
|
||||
|
||||
/* update num buffers */
|
||||
/* Update num buffers */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_NUM_BUFFER);
|
||||
SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_NUM_BUFFER);
|
||||
_stprintf(szBuffer, _T("%d"), pConInfo->NumberOfHistoryBuffers);
|
||||
SendMessage(hDlgCtrl, WM_SETTEXT, 0, (LPARAM)szBuffer);
|
||||
|
||||
/* update buffer size */
|
||||
/* Update buffer size */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_UPDOWN_BUFFER_SIZE);
|
||||
SendMessage(hDlgCtrl, UDM_SETRANGE, 0, MAKELONG((short)999, (short)1));
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_EDIT_BUFFER_SIZE);
|
||||
|
@ -223,14 +223,14 @@ UpdateDialogElements(HWND hwndDlg, PConsoleInfo pConInfo)
|
|||
|
||||
|
||||
|
||||
/* update discard duplicates */
|
||||
/* Update discard duplicates */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_DISCARD_DUPLICATES);
|
||||
if ( pConInfo->HistoryNoDup )
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
|
||||
else
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
|
||||
|
||||
/* update full/window screen */
|
||||
/* Update full/window screen */
|
||||
if ( pConInfo->FullScreen )
|
||||
{
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_RADIO_DISPLAY_FULL);
|
||||
|
@ -248,19 +248,17 @@ UpdateDialogElements(HWND hwndDlg, PConsoleInfo pConInfo)
|
|||
SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
|
||||
}
|
||||
|
||||
/* update quick edit */
|
||||
/* Update quick edit */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_QUICK_EDIT);
|
||||
if ( pConInfo->QuickEdit )
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
|
||||
else
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
|
||||
|
||||
/* update insert mode */
|
||||
/* Update insert mode */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_CHECK_INSERT_MODE);
|
||||
if ( pConInfo->InsertMode )
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, 0);
|
||||
else
|
||||
SendMessage(hDlgCtrl, BM_SETCHECK, (LPARAM)BST_UNCHECKED, 0);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define IDD_PROPPAGECOLORS 103
|
||||
#define IDD_APPLYOPTIONS 104
|
||||
|
||||
//options dialog
|
||||
// Options dialog
|
||||
#define IDC_CHECK_QUICK_EDIT 200
|
||||
#define IDC_CHECK_INSERT_MODE 201
|
||||
#define IDC_CHECK_DISCARD_DUPLICATES 202
|
||||
|
@ -25,11 +25,11 @@
|
|||
#define IDC_RADIO_DISPLAY_WINDOW 210
|
||||
#define IDC_RADIO_DISPLAY_FULL 211
|
||||
|
||||
// apply dialog
|
||||
// Apply dialog
|
||||
#define IDC_RADIO_APPLY_ALL 300
|
||||
#define IDC_RADIO_APPLY_CURRENT 301
|
||||
|
||||
//font dialog
|
||||
// Font dialog
|
||||
#define IDC_CHECK_BOLD_FONTS 400
|
||||
#define IDC_STATIC_SELECT_FONT_PREVIEW 401
|
||||
#define IDC_FONT_SIZE_X 402
|
||||
|
@ -39,8 +39,7 @@
|
|||
#define IDC_LBOX_TYPE 406
|
||||
#define IDC_GROUPBOX_FONT_NAME 407
|
||||
|
||||
//layout dialog
|
||||
|
||||
// Layout dialog
|
||||
#define IDC_UPDOWN_SCREEN_BUFFER_WIDTH 500
|
||||
#define IDC_EDIT_SCREEN_BUFFER_WIDTH 501
|
||||
#define IDC_EDIT_SCREEN_BUFFER_HEIGHT 502
|
||||
|
@ -56,8 +55,7 @@
|
|||
#define IDC_CHECK_SYSTEM_POS_WINDOW 512
|
||||
#define IDC_STATIC_LAYOUT_WINDOW_PREVIEW 513
|
||||
|
||||
//color dialog
|
||||
|
||||
// Color dialog
|
||||
#define IDC_RADIO_SCREEN_TEXT 600
|
||||
#define IDC_RADIO_SCREEN_BACKGROUND 601
|
||||
#define IDC_RADIO_POPUP_TEXT 602
|
||||
|
@ -87,7 +85,6 @@
|
|||
#define IDC_STATIC_COLOR15 626
|
||||
#define IDC_STATIC_COLOR16 627
|
||||
|
||||
|
||||
//string ids
|
||||
// String IDs
|
||||
#define IDS_SCREEN_TEXT 700
|
||||
#define IDS_RASTERFONTS 701
|
||||
|
|
|
@ -356,7 +356,7 @@ AdvAppearanceDlg_Init(HWND hwndDlg, GLOBALS *g)
|
|||
g->SchemeAdv = g->Scheme;
|
||||
|
||||
SendDlgItemMessage(hwndDlg, IDC_APPEARANCE_PREVIEW, PVM_UPDATETHEME, 0, (LPARAM)&g->SchemeAdv);
|
||||
|
||||
|
||||
|
||||
/* Add the elements to the combo */
|
||||
for (iElement = 0; iElement < NUM_ELEMENTS; iElement++)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/appearance.c
|
||||
* FILE: dll/cpl/desk/appearance.c
|
||||
* PURPOSE: Appearance property page
|
||||
*
|
||||
* PROGRAMMERS: Trevor McCort (lycan359@gmail.com)
|
||||
|
@ -18,7 +18,7 @@ AppearancePage_ShowColorScemes(GLOBALS *g, HWND hwndColor, INT ThemeId)
|
|||
int i, iListIndex;
|
||||
|
||||
SendMessage(hwndColor, CB_RESETCONTENT , 0, 0);
|
||||
|
||||
|
||||
if(g->bThemeActive == FALSE)
|
||||
{
|
||||
for(i = 0; i < g_TemplateCount; i++)
|
||||
|
@ -183,7 +183,7 @@ AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
if(g->bThemeActive == FALSE)
|
||||
{
|
||||
COLOR_SCHEME Scheme;
|
||||
|
||||
|
||||
g->bSchemeChanged = TRUE;
|
||||
if (SchemeId != -1 && LoadSchemeFromReg(&Scheme, SchemeId))
|
||||
{
|
||||
|
@ -233,7 +233,7 @@ AppearancePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
PTHEME pTheme = (PTHEME)DSA_GetItemPtr(g->Themes, g->ThemeId);
|
||||
ActivateTheme(pTheme, g->SchemeId, 0);
|
||||
}
|
||||
|
||||
|
||||
SendDlgItemMessage(hwndDlg, IDC_APPEARANCE_PREVIEW, PVM_UPDATETHEME, 0, (LPARAM)&g->Scheme);
|
||||
g->bThemeChanged = FALSE;
|
||||
g->bSchemeChanged = FALSE;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/background.c
|
||||
* FILE: dll/cpl/desk/background.c
|
||||
* PURPOSE: Background property page
|
||||
*
|
||||
* PROGRAMMERS: Trevor McCort (lycan359@gmail.com)
|
||||
|
@ -134,7 +134,7 @@ AddListViewItems(HWND hwndDlg, PDATA pData)
|
|||
{
|
||||
_tcscpy(wallpaperFilename, buffer);
|
||||
}
|
||||
|
||||
|
||||
himl = (HIMAGELIST)SHGetFileInfo(wallpaperFilename,
|
||||
0,
|
||||
&sfi,
|
||||
|
@ -280,7 +280,7 @@ InitBackgroundDialog(HWND hwndDlg, PDATA pData)
|
|||
DWORD dwDisposition = 0;
|
||||
result = RegCreateKeyEx( HKEY_CURRENT_USER, TEXT("Control Panel\\Desktop"), 0, NULL, 0, KEY_ALL_ACCESS, NULL,
|
||||
®Key, &dwDisposition );
|
||||
/* now the key must be created & opened and regKey points to opened key */
|
||||
/* Now the key must be created & opened and regKey points to opened key */
|
||||
/* On error result will not contain ERROR_SUCCESS. I don't know how to handle */
|
||||
/* this case :( */
|
||||
}
|
||||
|
@ -401,10 +401,10 @@ CheckListViewFilenameExists(HWND hwndList, LPCTSTR tszFileName)
|
|||
LVFINDINFO lvfi;
|
||||
int retVal;
|
||||
|
||||
lvfi.flags = LVFI_STRING; /* search item by EXACT string */
|
||||
lvfi.psz = tszFileName; /* string to search */
|
||||
lvfi.flags = LVFI_STRING; /* Search item by EXACT string */
|
||||
lvfi.psz = tszFileName; /* String to search */
|
||||
|
||||
/* other items of this structure are not valid, besacuse flags are not set. */
|
||||
/* Other items of this structure are not valid, besacuse flags are not set. */
|
||||
retVal = ListView_FindItem(hwndList, -1, &lvfi);
|
||||
if (retVal != -1)
|
||||
return TRUE; /* item found! */
|
||||
|
@ -552,7 +552,7 @@ DrawBackgroundPreview(LPDRAWITEMSTRUCT draw, PDATA pData)
|
|||
|
||||
if (pData->backgroundItems[pData->backgroundSelection].bWallpaper == FALSE)
|
||||
{
|
||||
/* update desktop background color image */
|
||||
/* Update desktop background color image */
|
||||
hBrush = CreateSolidBrush(g_GlobalData.desktop_color);
|
||||
FillRect(hDC, &rcItem, hBrush);
|
||||
DeleteObject(hBrush);
|
||||
|
@ -732,7 +732,7 @@ SetDesktopBackColor(HWND hwndDlg, DATA *pData)
|
|||
red = GetRValue(g_GlobalData.desktop_color);
|
||||
green = GetGValue(g_GlobalData.desktop_color);
|
||||
blue = GetBValue(g_GlobalData.desktop_color);
|
||||
/* format string to be set to registry */
|
||||
/* Format string to be set to registry */
|
||||
wsprintf(clText, TEXT("%d %d %d"), red, green, blue);
|
||||
RegSetValueEx(hKey, TEXT("Background"), 0, REG_SZ, (BYTE *)clText,
|
||||
(lstrlen(clText) + 1) * sizeof(TCHAR));
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/classinst.c
|
||||
* FILE: dll/cpl/desk/classinst.c
|
||||
* PURPOSE: Display class installer
|
||||
*
|
||||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/desk.c
|
||||
* FILE: dll/cpl/desk/desk.c
|
||||
* PURPOSE: ReactOS Display Control Panel
|
||||
*
|
||||
* PROGRAMMERS: Trevor McCort (lycan359@gmail.com)
|
||||
|
|
|
@ -83,7 +83,7 @@ typedef struct _DISPLAY_DEVICE_ENTRY
|
|||
LPTSTR DeviceKey;
|
||||
LPTSTR DeviceID;
|
||||
DWORD DeviceStateFlags;
|
||||
PSETTINGS_ENTRY Settings; /* sorted by increasing dmPelsHeight, BPP */
|
||||
PSETTINGS_ENTRY Settings; /* Sorted by increasing dmPelsHeight, BPP */
|
||||
DWORD SettingsCount;
|
||||
PRESOLUTION_INFO Resolutions;
|
||||
DWORD ResolutionsCount;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/devsett.c
|
||||
* FILE: dll/cpl/desk/devsett.c
|
||||
* PURPOSE: ReactOS Display Control Panel Shell Extension Support
|
||||
*/
|
||||
|
||||
|
@ -17,15 +17,15 @@ typedef struct _CDevSettings
|
|||
const struct IDataObjectVtbl *lpIDataObjectVtbl;
|
||||
DWORD ref;
|
||||
|
||||
CLIPFORMAT cfExtInterface; /* "Desk.cpl extension interface" */
|
||||
CLIPFORMAT cfDisplayDevice; /* "Display Device" */
|
||||
CLIPFORMAT cfDisplayName; /* "Display Name" */
|
||||
CLIPFORMAT cfDisplayId; /* "Display ID" */
|
||||
CLIPFORMAT cfMonitorName; /* "Monitor Name" */
|
||||
CLIPFORMAT cfMonitorDevice; /* "Monitor Device" */
|
||||
CLIPFORMAT cfDisplayKey; /* "Display Key" */
|
||||
CLIPFORMAT cfExtInterface; /* "Desk.cpl extension interface" */
|
||||
CLIPFORMAT cfDisplayDevice; /* "Display Device" */
|
||||
CLIPFORMAT cfDisplayName; /* "Display Name" */
|
||||
CLIPFORMAT cfDisplayId; /* "Display ID" */
|
||||
CLIPFORMAT cfMonitorName; /* "Monitor Name" */
|
||||
CLIPFORMAT cfMonitorDevice; /* "Monitor Device" */
|
||||
CLIPFORMAT cfDisplayKey; /* "Display Key" */
|
||||
CLIPFORMAT cfDisplayStateFlags; /* "Display State Flags" */
|
||||
CLIPFORMAT cfPruningMode; /* "Pruning Mode" */
|
||||
CLIPFORMAT cfPruningMode; /* "Pruning Mode" */
|
||||
|
||||
PWSTR pDisplayDevice;
|
||||
PWSTR pDisplayName;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/dibitmap.c
|
||||
* FILE: dll/cpl/desk/dibitmap.c
|
||||
* PURPOSE: DIB loading
|
||||
*
|
||||
* PROGRAMMERS: Trevor McCort (lycan359@gmail.com)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/draw.c
|
||||
* FILE: dll/cpl/desk/draw.c
|
||||
* PURPOSE: Providing drawing functions
|
||||
*
|
||||
* PROGRAMMERS: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
||||
|
@ -257,22 +257,22 @@ MyDrawFrameCaption(HDC dc, LPRECT r, UINT uFlags, COLOR_SCHEME *scheme)
|
|||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
lstrcpy(lf.lfFaceName, TEXT("Marlett"));
|
||||
hFont = CreateFontIndirect(&lf);
|
||||
/* save font and text color */
|
||||
/* Save font and text color */
|
||||
hOldFont = SelectObject(dc, hFont);
|
||||
clrsave = GetTextColor(dc);
|
||||
bkmode = GetBkMode(dc);
|
||||
/* set color and drawing mode */
|
||||
/* Set color and drawing mode */
|
||||
SetBkMode(dc, TRANSPARENT);
|
||||
if(uFlags & DFCS_INACTIVE)
|
||||
{
|
||||
/* draw shadow */
|
||||
/* Draw shadow */
|
||||
SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
|
||||
TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
|
||||
}
|
||||
SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
|
||||
/* draw selected symbol */
|
||||
/* Draw selected symbol */
|
||||
TextOut(dc, myr.left, myr.top, &Symbol, 1);
|
||||
/* restore previous settings */
|
||||
/* Restore previous settings */
|
||||
SetTextColor(dc, clrsave);
|
||||
SelectObject(dc, hOldFont);
|
||||
SetBkMode(dc, bkmode);
|
||||
|
@ -325,20 +325,20 @@ MyDrawFrameScroll(HDC dc, LPRECT r, UINT uFlags, COLOR_SCHEME *scheme)
|
|||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
lstrcpy(lf.lfFaceName, TEXT("Marlett"));
|
||||
hFont = CreateFontIndirect(&lf);
|
||||
/* save font and text color */
|
||||
/* Save font and text color */
|
||||
hOldFont = SelectObject(dc, hFont);
|
||||
clrsave = GetTextColor(dc);
|
||||
bkmode = GetBkMode(dc);
|
||||
/* set color and drawing mode */
|
||||
/* Set color and drawing mode */
|
||||
SetBkMode(dc, TRANSPARENT);
|
||||
if(uFlags & DFCS_INACTIVE)
|
||||
{
|
||||
/* draw shadow */
|
||||
/* Draw shadow */
|
||||
SetTextColor(dc, scheme->crColor[COLOR_BTNHIGHLIGHT]);
|
||||
TextOut(dc, myr.left + 1, myr.top + 1, &Symbol, 1);
|
||||
}
|
||||
SetTextColor(dc, scheme->crColor[(uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_BTNTEXT]);
|
||||
/* draw selected symbol */
|
||||
/* Draw selected symbol */
|
||||
TextOut(dc, myr.left, myr.top, &Symbol, 1);
|
||||
/* restore previous settings */
|
||||
SetTextColor(dc, clrsave);
|
||||
|
|
|
@ -17,9 +17,9 @@ UpdateControls(HWND hwndDlg, GLOBALS *g)
|
|||
WPARAM state;
|
||||
state = SendDlgItemMessage(hwndDlg, IDC_EFFAPPEARANCE_ANIMATION, BM_GETCHECK, 0, 0);
|
||||
g->SchemeAdv.Effects.bMenuAnimation = (state == BST_CHECKED) ? TRUE : FALSE;
|
||||
EnableWindow(GetDlgItem(hwndDlg, IDC_EFFAPPEARANCE_ANIMATIONTYPE), g->SchemeAdv.Effects.bMenuAnimation);
|
||||
EnableWindow(GetDlgItem(hwndDlg, IDC_EFFAPPEARANCE_ANIMATIONTYPE), g->SchemeAdv.Effects.bMenuAnimation);
|
||||
|
||||
//A boolean as an index for a 2-value list:
|
||||
// A boolean as an index for a 2-value list:
|
||||
SendDlgItemMessage(hwndDlg, IDC_EFFAPPEARANCE_ANIMATIONTYPE, CB_SETCURSEL, (WPARAM)g->SchemeAdv.Effects.bMenuFade, 0);
|
||||
|
||||
state = SendDlgItemMessage(hwndDlg, IDC_EFFAPPEARANCE_KEYBOARDCUES, BM_GETCHECK, 0, 0);
|
||||
|
@ -38,15 +38,15 @@ SaveCurrentValues(HWND hwndDlg, GLOBALS *g)
|
|||
static VOID
|
||||
AddToCombo(HWND hwndDlg, INT From, INT To, INT Combo)
|
||||
{
|
||||
INT iElement, iListIndex, i=0;
|
||||
TCHAR tstrText[80];
|
||||
INT iElement, iListIndex, i=0;
|
||||
TCHAR tstrText[80];
|
||||
|
||||
for (iElement = From; iElement<=To; iElement++)
|
||||
{
|
||||
LoadString(hApplet, iElement, (LPTSTR)tstrText, 80);
|
||||
iListIndex = SendDlgItemMessage(hwndDlg, Combo, CB_ADDSTRING, 0, (LPARAM)tstrText);
|
||||
SendDlgItemMessage(hwndDlg, Combo, CB_SETITEMDATA, (WPARAM)iListIndex, (LPARAM)i++ );
|
||||
}
|
||||
{
|
||||
LoadString(hApplet, iElement, (LPTSTR)tstrText, 80);
|
||||
iListIndex = SendDlgItemMessage(hwndDlg, Combo, CB_ADDSTRING, 0, (LPARAM)tstrText);
|
||||
SendDlgItemMessage(hwndDlg, Combo, CB_SETITEMDATA, (WPARAM)iListIndex, (LPARAM)i++ );
|
||||
}
|
||||
}
|
||||
|
||||
/* Initialize the effects appearance dialog */
|
||||
|
|
|
@ -31,7 +31,7 @@ InitFontSizeList(HWND hWnd)
|
|||
for (;;)
|
||||
{
|
||||
TCHAR Desc[LINE_LEN];
|
||||
|
||||
|
||||
if (SetupGetStringField(&Context, 0, Desc, sizeof(Desc), NULL) &&
|
||||
SetupGetIntField(&Context, 1, &ci))
|
||||
{
|
||||
|
|
|
@ -45,7 +45,7 @@ BEGIN
|
|||
WS_BORDER | WS_GROUP, 61, 123, 12, 13
|
||||
LTEXT "minutos", IDC_MINTEXT, 70, 125, 26, 9
|
||||
CONTROL "Pr&oteger con contraseña al reanudar",IDC_SCREENS_USEPASSCHK,"button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP, 108, 120, 117, 19 //104
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP, 108, 120, 117, 19 // 104
|
||||
GROUPBOX "Energía del monitor ", IDC_SCREENS_DUMMY2, 6, 155, 232, 41
|
||||
LTEXT "Para ajustar la configuración de energía del monitor y ahorrar energía, haga clic en Energía.",
|
||||
IDC_STATIC, 14, 166, 146, 24
|
||||
|
@ -61,7 +61,7 @@ BEGIN
|
|||
WS_VISIBLE | WS_BORDER, 7, 7, 232, 120
|
||||
LTEXT "Visual Style", IDC_STATIC, 7, 130, 64, 7
|
||||
COMBOBOX IDC_APPEARANCE_VISUAL_STYLE, 7, 140, 134, 90, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||||
LTEXT "Com&binación de colores", IDC_STATIC, 7, 160, 90, 7 //64
|
||||
LTEXT "Com&binación de colores", IDC_STATIC, 7, 160, 90, 7 // 64
|
||||
COMBOBOX IDC_APPEARANCE_COLORSCHEME, 7, 170, 134, 90, CBS_DROPDOWNLIST | CBS_HASSTRINGS | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
||||
PUSHBUTTON "&Efectos...", IDC_APPEARANCE_EFFECTS, 182, 150, 56, 15
|
||||
PUSHBUTTON "Opciones &avanzadas", IDC_APPEARANCE_ADVANCED, 182, 170, 56, 15
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.07 - Fulea Ștefan: minor changes
|
||||
// 2011.11.07 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_BACKGROUND DIALOGEX DISCARDABLE 0, 0, 246, 204
|
||||
|
|
|
@ -156,7 +156,7 @@ STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
|||
CAPTION "Všeobecné"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
GROUPBOX "Zobrazenie", -1, 7, 6, 237, 56, WS_GROUP //Display=viac významov
|
||||
GROUPBOX "Zobrazenie", -1, 7, 6, 237, 56, WS_GROUP // Display=viac významov
|
||||
LTEXT "Ve¾kos<6F> písma", -1, 14, 20, 222, 8
|
||||
COMBOBOX IDC_FONTSIZE_COMBO, 14, 30, 223, 80, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
||||
LTEXT "", IDC_FONTSIZE_COSTOM, 14, 46, 223, 12
|
||||
|
@ -188,8 +188,8 @@ END
|
|||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_SLIDEEFFECT "Posúvanie" //Slide effect
|
||||
IDS_FADEEFFECT "Vytrácanie" //Fade effect
|
||||
IDS_SLIDEEFFECT "Posúvanie" // Slide effect
|
||||
IDS_FADEEFFECT "Vytrácanie" // Fade effect
|
||||
END
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
|
@ -207,7 +207,7 @@ END
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_CPLNAME "Obrazovka" //Display
|
||||
IDS_CPLNAME "Obrazovka" // Display
|
||||
IDS_CPLDESCRIPTION "Umožòuje prispôsobi<62> vzh¾ad, pozadie a šetriè obrazovky."
|
||||
IDS_NONE "(Nie je)"
|
||||
IDS_CENTER "V strede"
|
||||
|
@ -255,7 +255,7 @@ BEGIN
|
|||
IDS_ELEMENT_10 "Priestorové objekty"
|
||||
IDS_ELEMENT_11 "Názov palety"
|
||||
IDS_ELEMENT_12 "Názov tlaèidla"
|
||||
IDS_ELEMENT_13 "Ovládacie tlačidlá" //old=Lišta značiek
|
||||
IDS_ELEMENT_13 "Ovládacie tlačidlá" // old=Lišta značiek
|
||||
IDS_ELEMENT_14 "Nedostupné položky ponuky"
|
||||
IDS_ELEMENT_15 "Políèko s hlásením"
|
||||
IDS_ELEMENT_16 "Ovládanie posúvaèa"
|
||||
|
|
|
@ -24,7 +24,7 @@ LengthOfStrResource(IN HINSTANCE hInst,
|
|||
UINT x;
|
||||
|
||||
/* Find the string we're looking for */
|
||||
uID &= 0xF; /* position in the block, same as % 16 */
|
||||
uID &= 0xF; /* Position in the block, same as % 16 */
|
||||
for (x = 0; x < uID; x++)
|
||||
{
|
||||
lpStr += (*lpStr) + 1;
|
||||
|
|
|
@ -750,7 +750,7 @@ MonSelDrawDisabledRect(IN OUT PMONITORSELWND infoPtr,
|
|||
|
||||
if (infoPtr->hbrDisabled != NULL)
|
||||
{
|
||||
/* FIXME - implement */
|
||||
/* FIXME: Implement */
|
||||
}
|
||||
|
||||
return Ret;
|
||||
|
@ -1242,7 +1242,7 @@ MonitorSelWndProc(IN HWND hwnd,
|
|||
if (!(infoPtr->ControlExStyle & MSLM_EX_SELECTONRIGHTCLICK))
|
||||
break;
|
||||
|
||||
/* fall through */
|
||||
/* Fall through */
|
||||
}
|
||||
|
||||
case WM_LBUTTONDBLCLK:
|
||||
|
@ -1274,7 +1274,7 @@ MonitorSelWndProc(IN HWND hwnd,
|
|||
&pt);
|
||||
}
|
||||
|
||||
/* fall through */
|
||||
/* Fall through */
|
||||
}
|
||||
|
||||
case WM_MBUTTONDOWN:
|
||||
|
@ -1308,7 +1308,7 @@ MonitorSelWndProc(IN HWND hwnd,
|
|||
{
|
||||
case VK_TAB:
|
||||
{
|
||||
/* change the UI status */
|
||||
/* Change the UI status */
|
||||
SendMessage(GetAncestor(hwnd,
|
||||
GA_PARENT),
|
||||
WM_CHANGEUISTATE,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Desktop Control Panel
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: lib/cpl/desk/preview.c
|
||||
* FILE: dll/cpl/desk/preview.c
|
||||
* PURPOSE: Draws the preview control
|
||||
* COPYRIGHT: Copyright 2006, 2007 Eric Kohl
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Desktop Control Panel
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: lib/cpl/desk/preview.h
|
||||
* FILE: dll/cpl/desk/preview.h
|
||||
* PURPOSE: Definitions used by the preview control
|
||||
* COPYRIGHT: Copyright 2006, 2007 Eric Kohl
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
/* metrics */
|
||||
/* Metrics */
|
||||
#define PROPSHEETWIDTH 246
|
||||
#define PROPSHEETHEIGHT 228
|
||||
#define PROPSHEETPADDING 6
|
||||
|
|
|
@ -108,7 +108,7 @@ SetScreenSaverPreviewBox(HWND hwndDlg, PDATA pData)
|
|||
STARTUPINFO si;
|
||||
TCHAR szCmdline[2048];
|
||||
|
||||
/* kill off the previous preview process*/
|
||||
/* Kill off the previous preview process */
|
||||
if (pData->PrevWindowPi.hProcess)
|
||||
{
|
||||
TerminateProcess(pData->PrevWindowPi.hProcess, 0);
|
||||
|
@ -214,7 +214,7 @@ ScreensaverConfig(HWND hwndDlg, PDATA pData)
|
|||
&si,
|
||||
&pi))
|
||||
{
|
||||
/* kill off the previous preview process */
|
||||
/* Kill off the previous preview process */
|
||||
if (pData->PrevWindowPi.hProcess)
|
||||
{
|
||||
TerminateProcess(pData->PrevWindowPi.hProcess, 0);
|
||||
|
@ -243,7 +243,7 @@ ScreensaverPreview(HWND hwndDlg, PDATA pData)
|
|||
if (pData->Selection < 1)
|
||||
return;
|
||||
|
||||
/* kill off the previous preview process*/
|
||||
/* Kill off the previous preview process */
|
||||
if (pData->PrevWindowPi.hProcess)
|
||||
{
|
||||
TerminateProcess(pData->PrevWindowPi.hProcess, 0);
|
||||
|
@ -476,7 +476,7 @@ SetScreenSaver(HWND hwndDlg, PDATA pData)
|
|||
TCHAR szTime[256], Sec;
|
||||
UINT Ret;
|
||||
|
||||
/* set the screensaver */
|
||||
/* Set the screensaver */
|
||||
if (pData->ScreenSaverItems[pData->Selection].bIsScreenSaver)
|
||||
{
|
||||
RegSetValueEx(regKey,
|
||||
|
@ -515,7 +515,7 @@ SetScreenSaver(HWND hwndDlg, PDATA pData)
|
|||
|
||||
SystemParametersInfoW(SPI_SETSCREENSAVETIMEOUT, Time, 0, SPIF_SENDCHANGE);
|
||||
|
||||
/* set the secure value */
|
||||
/* Set the secure value */
|
||||
Ret = SendDlgItemMessage(hwndDlg,
|
||||
IDC_SCREENS_USEPASSCHK,
|
||||
BM_GETCHECK,
|
||||
|
@ -568,7 +568,7 @@ OnInitDialog(HWND hwndDlg, PDATA pData)
|
|||
|
||||
CheckRegScreenSaverIsSecure(hwndDlg);
|
||||
|
||||
/* set the current screensaver in the combo box */
|
||||
/* Set the current screensaver in the combo box */
|
||||
lpCurSs = GetCurrentScreenSaverValue(_T("SCRNSAVE.EXE"));
|
||||
if (lpCurSs)
|
||||
{
|
||||
|
@ -610,14 +610,14 @@ OnInitDialog(HWND hwndDlg, PDATA pData)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* set screensaver to (none) */
|
||||
/* Set screensaver to (none) */
|
||||
SendMessage(hwndSSCombo,
|
||||
CB_SETCURSEL,
|
||||
0,
|
||||
0);
|
||||
}
|
||||
|
||||
/* set the current timeout */
|
||||
/* Set the current timeout */
|
||||
lpCurSs = GetCurrentScreenSaverValue(_T("ScreenSaveTimeOut"));
|
||||
if (lpCurSs)
|
||||
{
|
||||
|
@ -758,7 +758,7 @@ ScreenSaverPageProc(HWND hwndDlg,
|
|||
|
||||
case PSN_SETACTIVE:
|
||||
{
|
||||
/* activate screen saver support */
|
||||
/* Activate screen saver support */
|
||||
SystemParametersInfoW(SPI_SETSCREENSAVEACTIVE, TRUE, 0, SPIF_SENDCHANGE);
|
||||
SetScreenSaverPreviewBox(hwndDlg, pData);
|
||||
break;
|
||||
|
|
|
@ -336,7 +336,7 @@ OnInitDialog(IN HWND hwndDlg)
|
|||
1,
|
||||
(LPARAM)&monitors);
|
||||
}
|
||||
else /* FIXME: incomplete! */
|
||||
else /* FIXME: Incomplete! */
|
||||
{
|
||||
PMONSL_MONINFO pMonitors;
|
||||
DWORD i;
|
||||
|
@ -424,7 +424,7 @@ ShowColorSpectrum(IN HDC hDC, IN LPRECT client, IN DWORD BitsPerPel, IN PDATA pD
|
|||
static VOID
|
||||
OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
|
||||
{
|
||||
/* if new BPP is not compatible with resolution:
|
||||
/* If new BPP is not compatible with resolution:
|
||||
* 1) try to find the nearest smaller matching resolution
|
||||
* 2) otherwise, get the nearest bigger resolution
|
||||
*/
|
||||
|
@ -444,11 +444,11 @@ OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
|
|||
GetClientRect(hSpectrumControl, &client);
|
||||
ShowColorSpectrum(hSpectrumDC, &client, dmNewBitsPerPel, pData);
|
||||
|
||||
/* find if new parameters are valid */
|
||||
/* Find if new parameters are valid */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings;
|
||||
if (dmNewBitsPerPel == Current->dmBitsPerPel)
|
||||
{
|
||||
/* no change */
|
||||
/* No change */
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -487,7 +487,7 @@ OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
|
|||
}
|
||||
}
|
||||
|
||||
/* search smaller resolution compatible with current color depth */
|
||||
/* Search smaller resolution compatible with current color depth */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
|
||||
while (Current != NULL)
|
||||
{
|
||||
|
@ -500,7 +500,7 @@ OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
|
|||
Current = Current->Blink;
|
||||
}
|
||||
|
||||
/* search bigger resolution compatible with current color depth */
|
||||
/* Search bigger resolution compatible with current color depth */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
|
||||
while (Current != NULL)
|
||||
{
|
||||
|
@ -513,14 +513,14 @@ OnBPPChanged(IN HWND hwndDlg, IN PDATA pData)
|
|||
Current = Current->Flink;
|
||||
}
|
||||
|
||||
/* we shouldn't go there */
|
||||
/* We shouldn't go there */
|
||||
}
|
||||
|
||||
static VOID
|
||||
OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
|
||||
IN BOOL bUpdateThumb)
|
||||
{
|
||||
/* if new resolution is not compatible with color depth:
|
||||
/* If new resolution is not compatible with color depth:
|
||||
* 1) try to find the nearest bigger matching color depth
|
||||
* 2) otherwise, get the nearest smaller color depth
|
||||
*/
|
||||
|
@ -528,11 +528,11 @@ OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
|
|||
DWORD dmNewPelsHeight = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsHeight;
|
||||
DWORD dmNewPelsWidth = pData->CurrentDisplayDevice->Resolutions[NewPosition].dmPelsWidth;
|
||||
|
||||
/* find if new parameters are valid */
|
||||
/* Find if new parameters are valid */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings;
|
||||
if (dmNewPelsHeight == Current->dmPelsHeight && dmNewPelsWidth == Current->dmPelsWidth)
|
||||
{
|
||||
/* no change */
|
||||
/* No change */
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -571,7 +571,7 @@ OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
|
|||
}
|
||||
}
|
||||
|
||||
/* search bigger color depth compatible with current resolution */
|
||||
/* Search bigger color depth compatible with current resolution */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings->Flink;
|
||||
while (Current != NULL)
|
||||
{
|
||||
|
@ -584,7 +584,7 @@ OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
|
|||
Current = Current->Flink;
|
||||
}
|
||||
|
||||
/* search smaller color depth compatible with current resolution */
|
||||
/* Search smaller color depth compatible with current resolution */
|
||||
Current = pData->CurrentDisplayDevice->CurrentSettings->Blink;
|
||||
while (Current != NULL)
|
||||
{
|
||||
|
@ -597,7 +597,7 @@ OnResolutionChanged(IN HWND hwndDlg, IN PDATA pData, IN DWORD NewPosition,
|
|||
Current = Current->Blink;
|
||||
}
|
||||
|
||||
/* we shouldn't go there */
|
||||
/* We shouldn't go there */
|
||||
}
|
||||
|
||||
/* Property sheet page callback */
|
||||
|
@ -764,7 +764,7 @@ SettingsPageProc(IN HWND hwndDlg, IN UINT uMsg, IN WPARAM wParam, IN LPARAM lPar
|
|||
}
|
||||
else
|
||||
pt.x = pt.y = 0;
|
||||
|
||||
|
||||
MapWindowPoints(hwndMonSel,
|
||||
NULL,
|
||||
&pt,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS Display Control Panel
|
||||
* FILE: lib/cpl/desk/theme.c
|
||||
* FILE: dll/cpl/desk/theme.c
|
||||
* PURPOSE: Handling themes
|
||||
*
|
||||
* PROGRAMMERS: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
||||
|
@ -122,7 +122,7 @@ VOID LoadCurrentScheme(COLOR_SCHEME* scheme)
|
|||
scheme->Effects.bTooltipAnimation = scheme->Effects.bMenuAnimation;
|
||||
scheme->Effects.bTooltipFade = scheme->Effects.bMenuFade;
|
||||
|
||||
/* show content of windows during dragging */
|
||||
/* Show content of windows during dragging */
|
||||
SystemParametersInfo(SPI_GETDRAGFULLWINDOWS, 0, &scheme->Effects.bDragFullWindows, 0);
|
||||
|
||||
/* "Hide underlined letters for keyboard navigation until I press the Alt key" */
|
||||
|
@ -306,7 +306,7 @@ VOID ApplyScheme(COLOR_SCHEME* scheme, INT SchemeId)
|
|||
|
||||
BOOL SaveScheme(COLOR_SCHEME* scheme, LPCTSTR strLegacyName)
|
||||
{
|
||||
/* FIXME: implement */
|
||||
/* FIXME: Implement */
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -341,7 +341,7 @@ INT LoadSchemePresetEntries(LPTSTR pszSelectedStyle)
|
|||
while((RegEnumKeyEx(hkNewSchemes, iStyle, g_ColorSchemes[iTemplateIndex].strKeyName, &dwLength,
|
||||
NULL, NULL, NULL, &ftLastWriteTime) == ERROR_SUCCESS) && (iTemplateIndex < MAX_TEMPLATES))
|
||||
{
|
||||
/* is it really a template or one of the other entries */
|
||||
/* Is it really a template or one of the other entries */
|
||||
if (dwLength <= 4)
|
||||
{
|
||||
if (RegOpenKeyEx(hkNewSchemes, g_ColorSchemes[iTemplateIndex].strKeyName, 0, KEY_READ, &hkScheme) == ERROR_SUCCESS)
|
||||
|
@ -535,4 +535,4 @@ void CleanupThemes(GLOBALS *g)
|
|||
free(g->pszSizeName);
|
||||
|
||||
DSA_DestroyCallback(g->Themes, CleanUpThemeCallback, NULL);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -319,7 +319,7 @@ InitProbeListPage(HWND hwndDlg)
|
|||
|
||||
if (hDevInfo == INVALID_HANDLE_VALUE) return;
|
||||
|
||||
/* get the device image List */
|
||||
/* Get the device image List */
|
||||
ImageListData.cbSize = sizeof(ImageListData);
|
||||
SetupDiGetClassImageList(&ImageListData);
|
||||
|
||||
|
@ -335,7 +335,7 @@ InitProbeListPage(HWND hwndDlg)
|
|||
if (ulStatus & DN_NO_SHOW_IN_DM) continue;
|
||||
}
|
||||
|
||||
/* get the device's friendly name */
|
||||
/* Get the device's friendly name */
|
||||
if (!SetupDiGetDeviceRegistryProperty(hDevInfo,
|
||||
&DevInfoData,
|
||||
SPDRP_FRIENDLYNAME,
|
||||
|
@ -344,7 +344,7 @@ InitProbeListPage(HWND hwndDlg)
|
|||
MAX_STR_SIZE,
|
||||
NULL))
|
||||
{
|
||||
/* if the friendly name fails, try the description instead */
|
||||
/* If the friendly name fails, try the description instead */
|
||||
SetupDiGetDeviceRegistryProperty(hDevInfo,
|
||||
&DevInfoData,
|
||||
SPDRP_DEVICEDESC,
|
||||
|
@ -574,7 +574,7 @@ EnumDeviceClasses(INT ClassIndex,
|
|||
0);
|
||||
if (Ret != CR_SUCCESS)
|
||||
{
|
||||
/* all classes enumerated */
|
||||
/* All classes enumerated */
|
||||
if(Ret == CR_NO_SUCH_VALUE)
|
||||
{
|
||||
hDevInfoTypes = NULL;
|
||||
|
@ -583,10 +583,10 @@ EnumDeviceClasses(INT ClassIndex,
|
|||
|
||||
if (Ret == CR_INVALID_DATA)
|
||||
{
|
||||
; /*FIXME: what should we do here? */
|
||||
; /* FIXME: What should we do here? */
|
||||
}
|
||||
|
||||
/* handle other errors... */
|
||||
/* Handle other errors... */
|
||||
}
|
||||
|
||||
if (SetupDiClassNameFromGuid(&ClassGuid,
|
||||
|
@ -601,9 +601,9 @@ EnumDeviceClasses(INT ClassIndex,
|
|||
&ClassGuid,
|
||||
ClassImage))
|
||||
{
|
||||
/* FIXME: can we do this?
|
||||
/* FIXME: Can we do this?
|
||||
* Set the blank icon: IDI_SETUPAPI_BLANK = 41
|
||||
* it'll be image 24 in the imagelist */
|
||||
* It'll be image 24 in the imagelist */
|
||||
*ClassImage = 24;
|
||||
}
|
||||
|
||||
|
@ -696,7 +696,7 @@ InitHardWareTypesPage(HWND hwndDlg)
|
|||
|
||||
(VOID) ListView_InsertItem(hList, &Item);
|
||||
|
||||
/* kill InfoList initialized in EnumDeviceClasses */
|
||||
/* Kill InfoList initialized in EnumDeviceClasses */
|
||||
if (hDevInfoTypes)
|
||||
{
|
||||
SetupDiDestroyDeviceInfoList(hDevInfoTypes);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.08 - Fulea Ștefan: minor changes
|
||||
// 2011.11.08 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_STARTPAGE DIALOG DISCARDABLE 0, 0, 317, 186
|
||||
|
|
|
@ -16,7 +16,7 @@ BEGIN
|
|||
LTEXT "2) Vyrieši<C5A1> problémy, ktoré môžete ma<6D> s Vaším hardvérom.", -1, 121, 78, 185, 16
|
||||
ICON IDI_WARNINGICON, IDC_WARNINGICON, 124, 109, 20, 20
|
||||
LTEXT "Ak bolo spolu s Vaším hardvérom dodané aj inštalaèné CD, odporúèa sa, aby ste klikli na tlaèidlo Zruši<C5A1> pre zatvorenie tohto sprievodcu a použili CD od výrobcu pre nainštalovanie tohto hardvéru.", 503, 150, 106, 155, 50
|
||||
LTEXT "Pre pokračovanie kliknite na tlačidlo Ďalej.", -1, 114, 166, 193, 8 //Pokračujte stlačením tlačidla Ďalej.
|
||||
LTEXT "Pre pokračovanie kliknite na tlačidlo Ďalej.", -1, 114, 166, 193, 8 // Pokračujte stlačením tlačidla Ďalej.
|
||||
END
|
||||
|
||||
IDD_SEARCHPAGE DIALOG DISCARDABLE 0, 0, 317, 143
|
||||
|
@ -33,7 +33,7 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYS
|
|||
CAPTION "Sprievodca pridaním hardvéru"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
LTEXT "Pripojili ste už tento hardvér k Vášmu počítaču?", -1, 20, 11, 275, 8 //tento = daný
|
||||
LTEXT "Pripojili ste už tento hardvér k Vášmu počítaču?", -1, 20, 11, 275, 8 // tento = daný
|
||||
AUTORADIOBUTTON "Án&o, už som pripojil hardvér", IDC_CONNECTED, 29, 23, 266, 8, WS_GROUP
|
||||
AUTORADIOBUTTON "&Nie, zatia¾ som nepridal hardvér", IDC_NOTCONNECTED, 29, 35, 266, 8
|
||||
END
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* PROJECT: Add Hardware Control Panel Applet
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: dll/cpl/hdwwiz/Uk.rc
|
||||
* FILE: dll/cpl/hdwwiz/lang/uk-UA.rc
|
||||
* PURPOSE: Ukraianian Language File for Add Hardware Control Panel Applet
|
||||
* TRANSLATORS: Artem Reznikov, Igor Paliychuk
|
||||
*/
|
||||
|
|
|
@ -183,7 +183,7 @@ ChangeKeySeqDlgProc(HWND hDlg,
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case IDC_SWITCH_KBLAYOUTS_CB:
|
||||
if (HIWORD(wParam) == BN_CLICKED)
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.10.30 - Fulea Ștefan: minor changes
|
||||
// 2011.10.30 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGESETTINGS DIALOGEX 0, 0, 254, 228
|
||||
|
|
|
@ -26,7 +26,7 @@ CAPTION "Roz
|
|||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
GROUPBOX "Vypnutie funkcie Caps Lock", -1, 7, 7, 258, 26
|
||||
AUTORADIOBUTTON "Stlaèením klávesu CAPS &LOCK", IDC_PRESS_CL_KEY_RB, 14, 17, 120, 11, WS_GROUP //ten kláves, nie tá klávesa
|
||||
AUTORADIOBUTTON "Stlaèením klávesu CAPS &LOCK", IDC_PRESS_CL_KEY_RB, 14, 17, 120, 11, WS_GROUP // Ten kláves, nie tá klávesa
|
||||
AUTORADIOBUTTON " Stlaèením klávesu SHI&FT", IDC_PRESS_SHIFT_KEY_RB, 144, 17, 120, 11, NOT WS_TABSTOP
|
||||
GROUPBOX "Klávesové skratky pre vstupné jazyky", -1, 7, 37, 258, 95
|
||||
LTEXT "Akcia", -1, 14, 47, 60, 9
|
||||
|
@ -95,7 +95,7 @@ BEGIN
|
|||
IDS_LANGUAGE "Jazyk"
|
||||
IDS_LAYOUT "Rozloženie klávesnice"
|
||||
IDS_REM_QUESTION "Chcete odstráni<6E> vybrané rozloženie klávesnice?"
|
||||
IDS_CONFIRMATION "Potvrdenie" //Confirmation
|
||||
IDS_CONFIRMATION "Potvrdenie" // Confirmation
|
||||
IDS_LAYOUT_EXISTS "Toto rozloženie už existuje."
|
||||
IDS_LAYOUT_EXISTS2 "Toto rozloženie už existuje a nemôže by<62> pridané."
|
||||
IDS_CTRL_SHIFT "Ctrl+Shift"
|
||||
|
@ -114,7 +114,7 @@ BEGIN
|
|||
IDS_ARMENIAN_WESTERN_LAYOUT, "Arménske Western"
|
||||
IDS_ASSAMESE_LAYOUT, "Assamese"
|
||||
IDS_AZERI_CYRILLIC_LAYOUT, "Azeri Cyrillic"
|
||||
IDS_AZERI_LATIN_LAYOUT, "Azeri Latin" //latinka ?
|
||||
IDS_AZERI_LATIN_LAYOUT, "Azeri Latin" // Latinka?
|
||||
IDS_BELGIAN_COMMA_LAYOUT, "Belgian (Comma)"
|
||||
IDS_BELGIAN_FRENCH_LAYOUT, "Belgické French"
|
||||
IDS_BELGIAN_LAYOUT, "Belgické (Period)"
|
||||
|
@ -240,7 +240,7 @@ BEGIN
|
|||
IDS_UNITED_STATES_DVORAK_FOR_RIGHT_HAND_LAYOUT, "United States-Dvorak for right hand"
|
||||
IDS_UNITED_STATES_INTERNATIONAL_LAYOUT, "United States-International"
|
||||
IDS_URDU_LAYOUT, "Urdu"
|
||||
IDS_USENG_TABLE_IBM_ARABIC238L_LAYOUT, "US English Table for IBM Arabic 238_L" //Arabské
|
||||
IDS_USENG_TABLE_IBM_ARABIC238L_LAYOUT, "US English Table for IBM Arabic 238_L" // Arabské
|
||||
IDS_UZBEK_CYRILLIC_LAYOUT, "Uzbek Cyrillic"
|
||||
IDS_VIETNAMESE_LAYOUT, "Vietnamese"
|
||||
END
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
*Simplified Chinese resource for input (dll/cpl/input/lang/zh-CN.rc)
|
||||
* Simplified Chinese resource for input (dll/cpl/input/lang/zh-CN.rc)
|
||||
*
|
||||
* TRANSLATOR: Jingjing Fu (jingjingf AT 188.com)
|
||||
* CREATED: 2009-04-26
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
/* metrics */
|
||||
/* Metrics */
|
||||
#define PROPSHEETWIDTH 252
|
||||
#define PROPSHEETHEIGHT 228
|
||||
#define PROPSHEETPADDING 6
|
||||
|
|
|
@ -545,7 +545,7 @@ SaveInputLang(HWND hDlg)
|
|||
_ultot(OldLayoutNum, szLayoutNum, 10);
|
||||
if (!GetLayoutID(szLayoutNum, szLayoutID)) return;
|
||||
|
||||
// if old layout = selected layout
|
||||
// If old layout = selected layout
|
||||
if (_tcscmp(szLayoutID, pts) == 0) return;
|
||||
|
||||
if (RegOpenKeyEx(HKEY_CURRENT_USER, _T("Keyboard Layout\\Preload"), 0,
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
#include "intl.h"
|
||||
|
||||
typedef struct CPStruct
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/currency.c
|
||||
* FILE: dll/cpl/intl/currency.c
|
||||
* PURPOSE: Currency property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
@ -36,14 +36,14 @@ UpdateExamples(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
{
|
||||
TCHAR szBuffer[MAX_FMT_SIZE];
|
||||
|
||||
/* positive example */
|
||||
/* Positive example */
|
||||
GetCurrencyFormat(pGlobalData->lcid, 0,
|
||||
POSITIVE_EXAMPLE,
|
||||
NULL, szBuffer, MAX_FMT_SIZE);
|
||||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYPOSSAMPLE), WM_SETTEXT, 0, (LPARAM)szBuffer);
|
||||
|
||||
/* negative example */
|
||||
/* Negative example */
|
||||
GetCurrencyFormat(pGlobalData->lcid, 0,
|
||||
NEGATIVE_EXAMPLE,
|
||||
NULL, szBuffer, MAX_FMT_SIZE);
|
||||
|
@ -75,7 +75,7 @@ InitCurrencySymbols(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYSYMBOL),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
}
|
||||
|
||||
|
@ -251,7 +251,7 @@ InitCurrencyDecimalSeparators(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
LOCALE_SMONDECIMALSEP,
|
||||
szBuffer, MAX_FMT_SIZE);
|
||||
|
||||
/* decimal separator */
|
||||
/* Decimal separator */
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
|
||||
CB_ADDSTRING,
|
||||
0,
|
||||
|
@ -259,7 +259,7 @@ InitCurrencyDecimalSeparators(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYDECSEP),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
}
|
||||
|
||||
|
@ -321,7 +321,7 @@ InitCurrencyGroupSeparators(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
LOCALE_SMONTHOUSANDSEP,
|
||||
szBuffer, MAX_FMT_SIZE);
|
||||
|
||||
/* digit group separator */
|
||||
/* Digit group separator */
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
|
||||
CB_ADDSTRING,
|
||||
0,
|
||||
|
@ -329,7 +329,7 @@ InitCurrencyGroupSeparators(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPSEP),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
}
|
||||
|
||||
|
@ -353,7 +353,7 @@ InitDigitGroupCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
LOCALE_SMONGROUPING,
|
||||
szGrouping, MAX_FMT_SIZE);
|
||||
|
||||
/* digit grouping */
|
||||
/* Digit grouping */
|
||||
cyFmt.NumDigits = 0;
|
||||
cyFmt.LeadingZero = 0;
|
||||
cyFmt.lpDecimalSep = _T("");
|
||||
|
@ -400,7 +400,7 @@ InitDigitGroupCB(HWND hwndDlg, PGLOBALDATA pGlobalData)
|
|||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_CURRENCYGRPNUM),
|
||||
CB_SETCURSEL,
|
||||
i, /* index */
|
||||
i, /* Index */
|
||||
0);
|
||||
}
|
||||
|
||||
|
@ -462,7 +462,7 @@ SetCurrencyFracSymNum(HWND hwndDlg, LCID lcid)
|
|||
(WPARAM)0,
|
||||
(LPARAM)0);
|
||||
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCurrSel, szCurrencyFracSymNum, DECIMAL_RADIX);
|
||||
|
||||
/* Save number of fractional symbols */
|
||||
|
@ -504,7 +504,7 @@ SetNegCurrencySumFmt(HWND hwndDlg, LCID lcid)
|
|||
(WPARAM)0,
|
||||
(LPARAM)0);
|
||||
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCurrSel, szNegCurrencySumFmt, DECIMAL_RADIX);
|
||||
|
||||
/* Save currency sum format */
|
||||
|
@ -526,7 +526,7 @@ SetPosCurrencySumFmt(HWND hwndDlg, LCID lcid)
|
|||
(WPARAM)0,
|
||||
(LPARAM)0);
|
||||
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCurrSel, szPosCurrencySumFmt, DECIMAL_RADIX);
|
||||
|
||||
/* Save currency sum format */
|
||||
|
@ -630,7 +630,6 @@ CurrencyPageProc(HWND hwndDlg,
|
|||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/date.c
|
||||
* FILE: dll/cpl/intl/date.c
|
||||
* PURPOSE: Date property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ static HWND hwndEnum = NULL;
|
|||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
/* if char is 'y' or 'M' or 'd' return TRUE, else FALSE */
|
||||
/* If char is 'y' or 'M' or 'd' return TRUE, else FALSE */
|
||||
BOOL
|
||||
isDateCompAl(TCHAR alpha)
|
||||
{
|
||||
|
@ -173,7 +173,7 @@ SetShortDateFormat(HWND hwndDlg, LCID lcid)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* substring replacement of separator */
|
||||
/* Substring replacement of separator */
|
||||
_tcscpy(szFindedDateSep, FindDateSep(szShortDateFmt));
|
||||
pszResultStr = ReplaceSubStr(szShortDateFmt, szShortDateSep, szFindedDateSep);
|
||||
_tcscpy(szShortDateFmt, pszResultStr);
|
||||
|
@ -278,7 +278,7 @@ InitShortDateSepSamples(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)szShortDateSep);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new value to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATESEP_COMBO),
|
||||
|
@ -342,7 +342,7 @@ InitShortDateCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)szShortDateFmt);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new value to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_SHRTDATEFMT_COMBO),
|
||||
|
@ -391,7 +391,7 @@ InitLongDateCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)szLongDateFmt);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new value to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_LONGDATEFMT_COMBO),
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/generalp.c
|
||||
* FILE: dll/cpl/intl/generalp.c
|
||||
* PURPOSE: General property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
* Klemens Friedl
|
||||
|
@ -176,7 +176,7 @@ SetNewLocale(LCID lcid)
|
|||
ret = RegOpenKey(HKEY_CURRENT_USER, _T("Control Panel\\International"), &localeKey);
|
||||
if (ret != ERROR_SUCCESS)
|
||||
{
|
||||
// some serious error
|
||||
// Some serious error
|
||||
MessageBox(NULL, _T("Problem opening HKCU\\Control Panel\\International key"),
|
||||
_T("Big Problem"), MB_OK);
|
||||
return;
|
||||
|
@ -191,7 +191,7 @@ SetNewLocale(LCID lcid)
|
|||
ret = RegOpenKey(HKEY_USERS, _T(".DEFAULT\\Control Panel\\International"), &localeKey);
|
||||
if (ret != ERROR_SUCCESS)
|
||||
{
|
||||
// some serious error
|
||||
// Some serious error
|
||||
MessageBox(NULL, _T("Problem opening HKU\\.DEFAULT\\Control Panel\\International key"),
|
||||
_T("Big Problem"), MB_OK);
|
||||
return;
|
||||
|
@ -451,5 +451,4 @@ GeneralPageProc(HWND hwndDlg,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/inplocale.c
|
||||
* FILE: dll/cpl/intl/inplocale.c
|
||||
* PURPOSE: Input Locale property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/intl.c
|
||||
* FILE: dll/cpl/intl/intl.c
|
||||
* PURPOSE: Property sheet code
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
@ -207,4 +207,3 @@ DllMain(HINSTANCE hinstDLL,
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#define DECIMAL_RADIX 10
|
||||
|
||||
/* limits */
|
||||
/* Limits */
|
||||
#define MAX_FMT_SIZE 30
|
||||
#define MAX_STR_SIZE 128
|
||||
#define MAX_SAMPLES_STR_SIZE 70
|
||||
|
|
|
@ -238,6 +238,5 @@ AddNewKbLayoutsByLcid(LCID Lcid)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
SetupCloseInfFile(hIntlInf);
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* IRC: irc.freenode.net #reactos-pl;
|
||||
* UTF-8 conversion by Caemyr (May, 2011)
|
||||
*/
|
||||
|
||||
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_GENERALPAGE DIALOGEX 0, 0, 246, 230
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.14 - Fulea Ștefan: minor changes
|
||||
// 2011.11.14 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_GENERALPAGE DIALOGEX 0, 0, 246, 230
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
#include "intl.h"
|
||||
|
||||
/* Property page dialog callback */
|
||||
|
@ -40,7 +39,6 @@ LanguagesPageProc(HWND hwndDlg,
|
|||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
#include "intl.h"
|
||||
|
||||
#define NUM_SHEETS 4
|
||||
|
@ -52,7 +51,7 @@ InsSpacesFmt(LPCTSTR szSourceStr, LPCTSTR szFmtStr)
|
|||
|
||||
_tcscpy(pszDestStr, szSourceStr);
|
||||
|
||||
/* if format is clean return source string */
|
||||
/* If format is clean return source string */
|
||||
if (!*szFmtStr)
|
||||
return pszDestStr;
|
||||
|
||||
|
@ -80,12 +79,12 @@ InsSpacesFmt(LPCTSTR szSourceStr, LPCTSTR szFmtStr)
|
|||
szFmtVal[nValCount] = _T('\0');
|
||||
nValCount=0;
|
||||
|
||||
/* insert space to finded position plus all pos before */
|
||||
/* Insert space to finded position plus all pos before */
|
||||
pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
|
||||
_tcscpy(pszDestStr,pszTempStr);
|
||||
free(pszTempStr);
|
||||
|
||||
/* num of spaces total increment */
|
||||
/* Num of spaces total increment */
|
||||
if (!wasNul)
|
||||
{
|
||||
nSpaceOffset++;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/numbers.c
|
||||
* FILE: dll/cpl/intl/numbers.c
|
||||
* PURPOSE: Numbers property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
@ -95,7 +95,7 @@ InitNumDecimalSepCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)(LPCSTR)szNumSep);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new values to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERDSYMBOL),
|
||||
|
@ -132,7 +132,7 @@ InitNumOfFracSymbCB(HWND hwndDlg, LCID lcid)
|
|||
/* Create standard list of fractional symbols */
|
||||
for (nCBIndex = 0; nCBIndex < MAX_FRAC_NUM_SAMPLES; nCBIndex++)
|
||||
{
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCBIndex, szFracCount, DECIMAL_RADIX);
|
||||
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNDIGDEC),
|
||||
|
@ -189,7 +189,7 @@ InitNumFieldSepCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)szFieldSep);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not success, add new values to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDIGITGRSYM),
|
||||
|
@ -243,7 +243,7 @@ InitFieldDigNumCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)pszFieldDigNumSmpl);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new values to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSDGROUPING),
|
||||
|
@ -300,7 +300,7 @@ InitNegSignCB(HWND hwndDlg, LCID lcid)
|
|||
-1,
|
||||
(LPARAM)szNegSign);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new values to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSNSIGNSYM),
|
||||
|
@ -464,7 +464,7 @@ InitListSepCB(HWND hwndDlg,
|
|||
-1,
|
||||
(LPARAM)szListSep);
|
||||
|
||||
/* if is not success, add new value to list and select them */
|
||||
/* If it is not successful, add new values to list and select them */
|
||||
if (nRetCode == CB_ERR)
|
||||
{
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_NUMBERSLSEP),
|
||||
|
@ -584,7 +584,7 @@ SetFracSymNum(HWND hwndDlg,
|
|||
(WPARAM)0,
|
||||
(LPARAM)0);
|
||||
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCurrSel, szFracSymNum, DECIMAL_RADIX);
|
||||
|
||||
/* Save number of fractional symbols */
|
||||
|
@ -687,7 +687,7 @@ SetNumLeadZero(HWND hwndDlg,
|
|||
(WPARAM)0,
|
||||
(LPARAM)0);
|
||||
|
||||
/* convert to wide char */
|
||||
/* Convert to wide char */
|
||||
_itot(nCurrSel, szLeadZero, DECIMAL_RADIX);
|
||||
|
||||
/* Save leading zero format */
|
||||
|
|
|
@ -65,7 +65,7 @@ InsSpacesFmt(const TCHAR *szSourceStr, const TCHAR *szFmtStr)
|
|||
|
||||
_tcscpy(pszDestStr, szSourceStr);
|
||||
|
||||
/* if format is clean return source string */
|
||||
/* If format is clean return source string */
|
||||
if (!*szFmtStr)
|
||||
return pszDestStr;
|
||||
|
||||
|
@ -93,12 +93,12 @@ InsSpacesFmt(const TCHAR *szSourceStr, const TCHAR *szFmtStr)
|
|||
szFmtVal[nValCount] = _T('\0');
|
||||
nValCount=0;
|
||||
|
||||
/* insert space to finded position plus all pos before */
|
||||
/* Insert space to finded position plus all pos before */
|
||||
pszTempStr = InsSpacePos(pszDestStr, nSpaceOffset);
|
||||
_tcscpy(pszDestStr, pszTempStr);
|
||||
free(pszTempStr);
|
||||
|
||||
/* num of spaces total increment */
|
||||
/* Num of spaces total increment */
|
||||
if (!wasNul)
|
||||
{
|
||||
nSpaceOffset++;
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
/*
|
||||
* PROJECT: ReactOS International Control Panel
|
||||
* FILE: lib/cpl/intl/time.c
|
||||
* FILE: dll/cpl/intl/time.c
|
||||
* PURPOSE: Time property page
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
@ -54,26 +54,26 @@ GetSelectedComboEntry(HWND hwndDlg, DWORD dwIdc, TCHAR *Buffer, UINT uSize)
|
|||
int nIndex;
|
||||
HWND hChildWnd;
|
||||
|
||||
/* get handle to time format control */
|
||||
/* Get handle to time format control */
|
||||
hChildWnd = GetDlgItem(hwndDlg, dwIdc);
|
||||
/* Get index to selected time format */
|
||||
nIndex = SendMessage(hChildWnd, CB_GETCURSEL, 0, 0);
|
||||
if (nIndex == CB_ERR)
|
||||
/* no selection? get content of the edit control */
|
||||
/* No selection? Get content of the edit control */
|
||||
SendMessage(hChildWnd, WM_GETTEXT, uSize, (LPARAM)Buffer);
|
||||
else {
|
||||
LPTSTR tmp;
|
||||
UINT uReqSize;
|
||||
|
||||
/* get requested size, including the null terminator;
|
||||
/* Get requested size, including the null terminator;
|
||||
* it shouldn't be required because the previous CB_LIMITTEXT,
|
||||
* but it would be better to check it anyways */
|
||||
uReqSize = SendMessage(hChildWnd, CB_GETLBTEXTLEN, (WPARAM)nIndex, 0) + 1;
|
||||
/* allocate enough space to be more safe */
|
||||
/* Allocate enough space to be more safe */
|
||||
tmp = (LPTSTR)_alloca(uReqSize*sizeof(TCHAR));
|
||||
/* get selected time format text */
|
||||
/* Get selected time format text */
|
||||
SendMessage(hChildWnd, CB_GETLBTEXT, (WPARAM)nIndex, (LPARAM)tmp);
|
||||
/* finally, copy the result into the output */
|
||||
/* Finally, copy the result into the output */
|
||||
_tcsncpy(Buffer, tmp, uSize);
|
||||
}
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ TimePageProc(HWND hwndDlg,
|
|||
(LPARAM)Buffer);
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_TIMESEPARATOR),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
|
||||
/* Get the AM symbol */
|
||||
|
@ -146,7 +146,7 @@ TimePageProc(HWND hwndDlg,
|
|||
}
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_TIMEAMSYMBOL),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
|
||||
/* Get the PM symbol */
|
||||
|
@ -166,7 +166,7 @@ TimePageProc(HWND hwndDlg,
|
|||
}
|
||||
SendMessage(GetDlgItem(hwndDlg, IDC_TIMEPMSYMBOL),
|
||||
CB_SETCURSEL,
|
||||
0, /* index */
|
||||
0, /* Index */
|
||||
0);
|
||||
}
|
||||
break;
|
||||
|
@ -195,25 +195,25 @@ TimePageProc(HWND hwndDlg,
|
|||
{
|
||||
TCHAR Buffer[80];
|
||||
|
||||
/* get selected/typed time format text */
|
||||
/* Get selected/typed time format text */
|
||||
GetSelectedComboEntry(hwndDlg, IDC_TIMEFORMAT, Buffer, sizeof(Buffer)/sizeof(TCHAR));
|
||||
|
||||
/* Set time format */
|
||||
SetLocaleInfo(pGlobalData->lcid, LOCALE_STIMEFORMAT, Buffer);
|
||||
|
||||
/* get selected/typed time separator text */
|
||||
/* Get selected/typed time separator text */
|
||||
GetSelectedComboEntry(hwndDlg, IDC_TIMESEPARATOR, Buffer, sizeof(Buffer)/sizeof(TCHAR));
|
||||
|
||||
/* Set time separator */
|
||||
SetLocaleInfo(pGlobalData->lcid, LOCALE_STIME, Buffer);
|
||||
|
||||
/* get selected/typed AM symbol text */
|
||||
/* Get selected/typed AM symbol text */
|
||||
GetSelectedComboEntry(hwndDlg, IDC_TIMEAMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
|
||||
|
||||
/* Set the AM symbol */
|
||||
SetLocaleInfo(pGlobalData->lcid, LOCALE_S1159, Buffer);
|
||||
|
||||
/* get selected/typed PM symbol text */
|
||||
/* Get selected/typed PM symbol text */
|
||||
GetSelectedComboEntry(hwndDlg, IDC_TIMEPMSYMBOL, Buffer, sizeof(Buffer)/sizeof(TCHAR));
|
||||
|
||||
/* Set the PM symbol */
|
||||
|
|
|
@ -103,7 +103,7 @@ AdvancedPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
switch (LOWORD(wParam))
|
||||
{
|
||||
case SC_CONTEXTHELP:
|
||||
// not implemented
|
||||
// Not implemented yet
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -141,7 +141,7 @@ CustomPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
switch (LOWORD(wParam))
|
||||
{
|
||||
case SC_CONTEXTHELP:
|
||||
// not implemented
|
||||
// Not implemented yet
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -186,7 +186,7 @@ AddPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
switch (LOWORD(wParam))
|
||||
{
|
||||
case SC_CONTEXTHELP:
|
||||
// not implemented
|
||||
// Not implemented yet
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
@ -240,7 +240,7 @@ MainPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
|
||||
case SC_CONTEXTHELP:
|
||||
// not implemented
|
||||
// Not implemented yet
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* TRANSLATOR: Radek Liska aka Black_Fox (radekliska at gmail dot com)
|
||||
* UPDATED: 2009-01-10
|
||||
*/
|
||||
|
||||
|
||||
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEMAIN DIALOGEX 0, 0, 252, 205
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.20 - Fulea Ștefan: minor changes
|
||||
// 2011.11.20 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEMAIN DIALOGEX 0, 0, 252, 205
|
||||
|
|
|
@ -7,7 +7,7 @@ LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
|
|||
IDD_PROPPAGEMAIN DIALOGEX 0, 0, 252, 205
|
||||
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
|
||||
EXSTYLE WS_EX_CONTEXTHELP
|
||||
CAPTION "Hracie zariadenia" //Game Controllers
|
||||
CAPTION "Hracie zariadenia" // Game Controllers
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
ICON IDI_CPLSYSTEM, -1, 7, 7, 20, 20
|
||||
|
@ -18,7 +18,7 @@ BEGIN
|
|||
PUSHBUTTON "O&dstráni<6E>", IDC_REMOVE_BUTTON, 104, 129, 65, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Vlastnosti", IDC_PROPERTIES_BUTTON, 173, 129, 65, 14, WS_DISABLED
|
||||
PUSHBUTTON "&Spresni<6E>...", IDC_ADVANCED_BUTTON, 96, 157, 65, 14
|
||||
PUSHBUTTON "&Riešenie problémov...", IDC_TROUBLESHOOT_BUTTON, 165, 157, 80, 14 //Troubleshoot = Riešenie problémov
|
||||
PUSHBUTTON "&Riešenie problémov...", IDC_TROUBLESHOOT_BUTTON, 165, 157, 80, 14 // Troubleshoot = Riešenie problémov
|
||||
PUSHBUTTON "OK", IDOK, 195, 185, 50, 14
|
||||
END
|
||||
|
||||
|
@ -47,7 +47,7 @@ EXSTYLE WS_EX_CONTEXTHELP
|
|||
CAPTION "Vlastné hracie zariadenie"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
BEGIN
|
||||
GROUPBOX "Charakter zariadenia", -1, 7, 7, 245, 52 //Special characteristics
|
||||
GROUPBOX "Charakter zariadenia", -1, 7, 7, 245, 52 // Special characteristics
|
||||
AUTORADIOBUTTON "&Pákový ovládaè", IDC_JOYSTICK_RADIO, 17, 23, 80, 10
|
||||
AUTORADIOBUTTON "O&vládacia páka lietadla", IDC_FLIGHT_YOKE_RADIO, 147, 23, 89, 10
|
||||
AUTORADIOBUTTON "&Gamepad", IDC_GAME_PAD_RADIO, 17, 40, 65, 10
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
/* icons */
|
||||
/* Icons */
|
||||
#define IDI_CPLSYSTEM 102
|
||||
|
||||
/* dialogs */
|
||||
/* Dialogs */
|
||||
#define IDD_PROPPAGEMAIN 101
|
||||
#define IDD_ADD 119
|
||||
#define IDD_CUSTOM 4099
|
||||
#define IDD_ADVANCED 8188
|
||||
|
||||
/* strings */
|
||||
/* Strings */
|
||||
#define IDS_CPLSYSTEMNAME 1076
|
||||
#define IDS_CPLSYSTEMDESCRIPTION 1099
|
||||
#define IDS_CONTROLLER 1151
|
||||
#define IDS_STATUS 1152
|
||||
|
||||
/* controls */
|
||||
/* Controls */
|
||||
#define IDC_CONTROLLER_LIST 1020
|
||||
#define IDC_ADD_BUTTON 1011
|
||||
#define IDC_REMOVE_BUTTON 1028
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS Main Control Panel
|
||||
* FILE: lib/cpl/main/keyboard.c
|
||||
* FILE: dll/cpl/main/keyboard.c
|
||||
* PURPOSE: Keyboard Control Panel
|
||||
* PROGRAMMER: Eric Kohl
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Location: \dll\cpl\main\lang
|
||||
// Location: dll/cpl/main/lang/bg-BG.rc
|
||||
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_KEYBSPEED DIALOGEX 0, 0, 246, 228
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* https://sourceforge.net/projects/reactospl
|
||||
* UTF-8 conversion by Caemyr (May, 2011)
|
||||
*/
|
||||
|
||||
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_KEYBSPEED DIALOGEX 0, 0, 246, 228
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//2011.11.20 - Fulea Ștefan: minor changes
|
||||
// 2011.11.20 - Fulea Ștefan: minor changes
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_KEYBSPEED DIALOGEX 0, 0, 246, 228
|
||||
|
|
|
@ -20,8 +20,8 @@ BEGIN
|
|||
CONTROL "",IDC_SLIDER_REPEAT_DELAY, "msctls_trackbar32", TBS_AUTOTICKS | WS_TABSTOP, 65, 30, 130, 17
|
||||
ICON IDI_REPEAT_RATE, IDC_ICON_REPEAT_RATE, 15, 70, 15, 15
|
||||
LTEXT "&Rýchlos<6F> opakovania:", -1, 40, 70, 50, 10
|
||||
LTEXT "malá", -1, 40, 85, 20, 10 //pomaly
|
||||
LTEXT "ve¾ká", -1, 200, 85, 20, 10 //rıchlo
|
||||
LTEXT "malá", -1, 40, 85, 20, 10 // pomaly
|
||||
LTEXT "ve¾ká", -1, 200, 85, 20, 10 // rıchlo
|
||||
CONTROL "",IDC_SLIDER_REPEAT_RATE, "msctls_trackbar32", TBS_AUTOTICKS | WS_TABSTOP, 65, 85, 130, 17
|
||||
LTEXT "Kliknite sem a podržte kláves k o&testovaniu rýchlosti opakovania:", -1, 15, 105, 150, 10
|
||||
EDITTEXT IDC_EDIT_REPEAT_RATE, 15, 115, 200, 15, WS_CHILD | WS_VISIBLE | WS_GROUP
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS Sample Control Panel
|
||||
* FILE: lib/cpl/main/main.c
|
||||
* FILE: dll/cpl/main/main.c
|
||||
* PURPOSE: ReactOS Main Control Panel
|
||||
* PROGRAMMER: Eric Kohl
|
||||
* UPDATE HISTORY:
|
||||
|
@ -141,4 +141,3 @@ DllMain(HINSTANCE hinstDLL,
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,14 +19,14 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS Main Control Panel
|
||||
* FILE: lib/cpl/main/mouse.c
|
||||
* FILE: dll/cpl/main/mouse.c
|
||||
* PURPOSE: Mouse Control Panel
|
||||
* PROGRAMMER: Eric Kohl
|
||||
* Johannes Anderwald
|
||||
*/
|
||||
|
||||
//TODO:
|
||||
// add missing icons
|
||||
// TODO:
|
||||
// Add missing icons
|
||||
|
||||
#include "main.h"
|
||||
|
||||
|
@ -46,8 +46,8 @@ typedef struct _BUTTON_DATA
|
|||
ULONG g_OrigSwapMouseButtons;
|
||||
ULONG g_DoubleClickSpeed; // = DEFAULT_DOUBLE_CLICK_SPEED;
|
||||
ULONG g_OrigDoubleClickSpeed;
|
||||
BOOL g_ClickLockEnabled; // = 0;
|
||||
DWORD g_ClickLockTime; // = DEFAULT_CLICK_LOCK_TIME;
|
||||
BOOL g_ClickLockEnabled; // = 0;
|
||||
DWORD g_ClickLockTime; // = DEFAULT_CLICK_LOCK_TIME;
|
||||
|
||||
HICON hButtonLeft;
|
||||
HICON hButtonRight;
|
||||
|
@ -363,7 +363,7 @@ ButtonProc(IN HWND hwndDlg,
|
|||
{
|
||||
pButtonData->g_OrigSwapMouseButtons = pButtonData->g_SwapMouseButtons;
|
||||
SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP, pButtonData->g_OrigSwapMouseButtons, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
|
||||
|
||||
}
|
||||
SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
//SetDoubleClickTime(pButtonData->g_DoubleClickSpeed);
|
||||
|
@ -399,7 +399,7 @@ ButtonProc(IN HWND hwndDlg,
|
|||
case TB_ENDTRACK:
|
||||
lResult = SendDlgItemMessage(hwndDlg, IDC_SLIDER_DOUBLE_CLICK_SPEED, TBM_GETPOS, 0, 0);
|
||||
pButtonData->g_DoubleClickSpeed = (14 - (INT)lResult) * 50 + 200;
|
||||
//SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
//SystemParametersInfo(SPI_SETDOUBLECLICKTIME, pButtonData->g_DoubleClickSpeed, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
SetDoubleClickTime(pButtonData->g_DoubleClickSpeed);
|
||||
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
|
||||
break;
|
||||
|
@ -1001,12 +1001,12 @@ LoadNewCursorScheme(HWND hwndDlg)
|
|||
SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_GETLBTEXT, nSel, (LPARAM)buffer);
|
||||
|
||||
LoadString(hApplet, IDS_SYSTEM_SCHEME, szSystemScheme, MAX_PATH);
|
||||
if (_tcsstr(buffer, szSystemScheme) || nSel == 0) //avoid the default scheme can be deleted
|
||||
if (_tcsstr(buffer, szSystemScheme) || nSel == 0) // Avoid the default scheme - Can be deleted
|
||||
bEnable = FALSE;
|
||||
else
|
||||
bEnable = TRUE;
|
||||
|
||||
/* delete button */
|
||||
/* Delete button */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_BUTTON_DELETE_SCHEME);
|
||||
EnableWindow(hDlgCtrl, bEnable);
|
||||
|
||||
|
@ -1397,19 +1397,19 @@ OptionProc(IN HWND hwndDlg,
|
|||
pOptionData->OrigMouseAccel.nThreshold1 = pOptionData->MouseAccel.nThreshold1;
|
||||
pOptionData->OrigMouseAccel.nThreshold2 = pOptionData->MouseAccel.nThreshold2;
|
||||
|
||||
/* snap to default button */
|
||||
/* Snap to default button */
|
||||
SystemParametersInfo(SPI_GETSNAPTODEFBUTTON, 0, &pOptionData->bSnapToDefaultButton, 0);
|
||||
pOptionData->bOrigSnapToDefaultButton = pOptionData->bSnapToDefaultButton;
|
||||
|
||||
/* mouse trails */
|
||||
/* Mouse trails */
|
||||
SystemParametersInfo(SPI_GETMOUSETRAILS, 0, &pOptionData->uMouseTrails, 0);
|
||||
pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
|
||||
|
||||
/* hide pointer while typing */
|
||||
/* Hide pointer while typing */
|
||||
SystemParametersInfo(SPI_GETMOUSEVANISH, 0, &pOptionData->bMouseVanish, 0);
|
||||
pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
|
||||
|
||||
/* show pointer with Ctrl-Key */
|
||||
/* Show pointer with Ctrl-Key */
|
||||
SystemParametersInfo(SPI_GETMOUSESONAR, 0, &pOptionData->bMouseSonar, 0);
|
||||
pOptionData->bOrigMouseSonar = pOptionData->bMouseSonar;
|
||||
|
||||
|
@ -1430,7 +1430,7 @@ OptionProc(IN HWND hwndDlg,
|
|||
SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
|
||||
}
|
||||
|
||||
/* set mouse trail */
|
||||
/* Set mouse trail */
|
||||
hDlgCtrl = GetDlgItem(hwndDlg, IDC_SLIDER_POINTER_TRAIL);
|
||||
SendMessage(hDlgCtrl, TBM_SETRANGE, (WPARAM)TRUE, (LPARAM)MAKELONG(0, 5));
|
||||
if (pOptionData->uMouseTrails < 2)
|
||||
|
@ -1572,7 +1572,7 @@ OptionProc(IN HWND hwndDlg,
|
|||
}
|
||||
|
||||
|
||||
/* set snap to default button */
|
||||
/* Set snap to default button */
|
||||
if (pOptionData->bOrigSnapToDefaultButton != pOptionData->bSnapToDefaultButton)
|
||||
{
|
||||
SystemParametersInfo(SPI_SETSNAPTODEFBUTTON, (UINT)pOptionData->bSnapToDefaultButton, 0, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
|
@ -1586,14 +1586,14 @@ OptionProc(IN HWND hwndDlg,
|
|||
pOptionData->uOrigMouseTrails = pOptionData->uMouseTrails;
|
||||
}
|
||||
|
||||
/* hide pointer while typing */
|
||||
/* Hide pointer while typing */
|
||||
if (pOptionData->bOrigMouseVanish != pOptionData->bMouseVanish)
|
||||
{
|
||||
SystemParametersInfo(SPI_SETMOUSEVANISH, 0, IntToPtr(pOptionData->bMouseVanish), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
pOptionData->bOrigMouseVanish = pOptionData->bMouseVanish;
|
||||
}
|
||||
|
||||
/* show pointer with Ctrl-Key */
|
||||
/* Show pointer with Ctrl-Key */
|
||||
if (pOptionData->bOrigMouseSonar != pOptionData->bMouseSonar)
|
||||
{
|
||||
SystemParametersInfo(SPI_SETMOUSESONAR, 0, IntToPtr(pOptionData->bMouseSonar), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*
|
||||
* PROJECT: ReactOS Multimedia Control Panel
|
||||
* FILE: lib/cpl/mmsys/mmsys.c
|
||||
* FILE: dll/cpl/mmsys/mmsys.c
|
||||
* PURPOSE: ReactOS Multimedia Control Panel
|
||||
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||
* Johannes Anderwald <janderwald@reactos.com>
|
||||
|
@ -212,7 +212,7 @@ AudioDlgProc(HWND hwndDlg,
|
|||
|
||||
case IDC_ADV2_BTN:
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -231,7 +231,7 @@ AudioDlgProc(HWND hwndDlg,
|
|||
|
||||
case IDC_ADV1_BTN:
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -250,7 +250,7 @@ AudioDlgProc(HWND hwndDlg,
|
|||
|
||||
case IDC_ADV3_BTN:
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//update jansssens
|
||||
// Update jansssens
|
||||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_VOLUME DIALOGEX 0, 0, 246, 228
|
||||
|
|
|
@ -239,7 +239,7 @@ BEGIN
|
|||
IDS_CPLNAME "Zvuk a zvukové zariadenia"
|
||||
IDS_CPLDESCRIPTION "Changes the sound scheme for your computer, or configure the settings for your speakers and recording devices."
|
||||
IDS_NO_SOUND "(Žiadne)"
|
||||
IDS_NO_DEVICES "Žiadne zariadenia"
|
||||
IDS_NO_DEVICES "Žiadne zariadenia"
|
||||
|
||||
5825 "Chyba programu"
|
||||
5826 "Zavrie<69> program"
|
||||
|
@ -260,15 +260,15 @@ BEGIN
|
|||
5841 "Restore Down"
|
||||
5842 "Restore Up"
|
||||
5843 "Hviezdièka"
|
||||
5844 "Predvolený zvuk" //Default sound
|
||||
5844 "Predvolený zvuk" // Default sound
|
||||
5845 "Výkrik"
|
||||
5846 "Ukonèenie systému ReactOS"
|
||||
5847 "Kritické zastavenie"
|
||||
5848 "Hlásenie systému" //System notif.
|
||||
5848 "Hlásenie systému" // System notif.
|
||||
5849 "Otázka"
|
||||
5850 "Spustenie systému ReactOS"
|
||||
5851 "Ponuka Štart"
|
||||
5852 "Odhlásenie zo systému ReactOS"
|
||||
5853 "Prihlásenie do systému ReactOS"
|
||||
5854 "ReactOS Explorer"
|
||||
5854 "ReactOS Explorer"
|
||||
END
|
||||
|
|
|
@ -310,7 +310,8 @@ InstallSystemSoundScheme()
|
|||
RegCloseKey(hNames);
|
||||
if (dwDisposition & REG_CREATED_NEW_KEY)
|
||||
{
|
||||
RegSetValueExW(hSubKey, NULL, 0, REG_SZ, (LPBYTE)L".Default", (wcslen(L".Default")+1) * sizeof(WCHAR)); //FIXME
|
||||
// FIXME
|
||||
RegSetValueExW(hSubKey, NULL, 0, REG_SZ, (LPBYTE)L".Default", (wcslen(L".Default")+1) * sizeof(WCHAR));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -404,7 +405,7 @@ MMSYS_InstallDevice(HDEVINFO hDevInfo, PSP_DEVINFO_DATA pspDevInfoData)
|
|||
hService = OpenService(hSCManager, L"RosAudioSrv", SERVICE_ALL_ACCESS);
|
||||
if (hService)
|
||||
{
|
||||
/* make RosAudioSrv start automatically */
|
||||
/* Make RosAudioSrv start automatically */
|
||||
ChangeServiceConfig(hService, SERVICE_NO_CHANGE, SERVICE_AUTO_START, SERVICE_NO_CHANGE, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
StartService(hService, 0, NULL);
|
||||
|
@ -439,7 +440,7 @@ MMSYS_InstallDevice(HDEVINFO hDevInfo, PSP_DEVINFO_DATA pspDevInfoData)
|
|||
|
||||
if (!wcsicmp(Buffer, szBuffer))
|
||||
{
|
||||
/* an entry already exists */
|
||||
/* An entry already exists */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -525,7 +526,7 @@ HardwareDlgProc(HWND hwndDlg,
|
|||
Guids[0] = GUID_DEVCLASS_CDROM;
|
||||
Guids[1] = GUID_DEVCLASS_MEDIA;
|
||||
|
||||
/* create the hardware page */
|
||||
/* Create the hardware page */
|
||||
DeviceCreateHardwarePageEx(hwndDlg,
|
||||
Guids,
|
||||
sizeof(Guids) / sizeof(Guids[0]),
|
||||
|
@ -544,7 +545,7 @@ MmSysApplet(HWND hwnd,
|
|||
LPARAM lParam)
|
||||
{
|
||||
PROPSHEETPAGE psp[5];
|
||||
PROPSHEETHEADER psh; //= {0};
|
||||
PROPSHEETHEADER psh; // = { 0 };
|
||||
TCHAR Caption[256];
|
||||
|
||||
UNREFERENCED_PARAMETER(lParam);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* $Id: main.c 12852 2005-01-06 13:58:04Z mf $
|
||||
*
|
||||
* PROJECT: ReactOS Multimedia Control Panel
|
||||
* FILE: lib/cpl/mmsys/mmsys.c
|
||||
* FILE: dll/cpl/mmsys/mmsys.c
|
||||
* PURPOSE: ReactOS Multimedia Control Panel
|
||||
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||
* Johannes Anderwald <janderwald@reactos.com>
|
||||
|
@ -19,7 +19,7 @@ typedef struct __LABEL_MAP__
|
|||
TCHAR * szIcon;
|
||||
struct __APP_MAP__ * AppMap;
|
||||
struct __LABEL_MAP__ * Next;
|
||||
}LABEL_MAP, *PLABEL_MAP;
|
||||
} LABEL_MAP, *PLABEL_MAP;
|
||||
|
||||
typedef struct __APP_MAP__
|
||||
{
|
||||
|
@ -29,7 +29,7 @@ typedef struct __APP_MAP__
|
|||
|
||||
struct __APP_MAP__ *Next;
|
||||
PLABEL_MAP LabelMap;
|
||||
}APP_MAP, *PAPP_MAP;
|
||||
} APP_MAP, *PAPP_MAP;
|
||||
|
||||
typedef struct __LABEL_CONTEXT__
|
||||
{
|
||||
|
@ -37,14 +37,14 @@ typedef struct __LABEL_CONTEXT__
|
|||
PAPP_MAP AppMap;
|
||||
TCHAR szValue[MAX_PATH];
|
||||
struct __LABEL_CONTEXT__ *Next;
|
||||
}LABEL_CONTEXT, *PLABEL_CONTEXT;
|
||||
} LABEL_CONTEXT, *PLABEL_CONTEXT;
|
||||
|
||||
typedef struct __SOUND_SCHEME_CONTEXT__
|
||||
{
|
||||
TCHAR szName[MAX_PATH];
|
||||
TCHAR szDesc[MAX_PATH];
|
||||
PLABEL_CONTEXT LabelContext;
|
||||
}SOUND_SCHEME_CONTEXT, *PSOUND_SCHEME_CONTEXT;
|
||||
} SOUND_SCHEME_CONTEXT, *PSOUND_SCHEME_CONTEXT;
|
||||
|
||||
static PLABEL_MAP s_Map = NULL;
|
||||
static PAPP_MAP s_App = NULL;
|
||||
|
@ -56,7 +56,7 @@ PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
|
|||
{
|
||||
PLABEL_MAP pMap = s_Map;
|
||||
|
||||
while(pMap)
|
||||
while (pMap)
|
||||
{
|
||||
ASSERT(pMap);
|
||||
ASSERT(pMap->szName);
|
||||
|
@ -64,12 +64,11 @@ PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
|
|||
return pMap;
|
||||
|
||||
pMap = pMap->Next;
|
||||
|
||||
}
|
||||
|
||||
pMap = pAppMap->LabelMap;
|
||||
|
||||
while(pMap)
|
||||
while (pMap)
|
||||
{
|
||||
ASSERT(pMap);
|
||||
ASSERT(pMap->szName);
|
||||
|
@ -77,7 +76,6 @@ PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
|
|||
return pMap;
|
||||
|
||||
pMap = pMap->Next;
|
||||
|
||||
}
|
||||
|
||||
pMap = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(LABEL_MAP));
|
||||
|
@ -90,6 +88,7 @@ PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
|
|||
HeapFree(GetProcessHeap(), 0, pMap);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
pMap->AppMap = pAppMap;
|
||||
pMap->Next = s_Map;
|
||||
s_Map = pMap;
|
||||
|
@ -97,6 +96,7 @@ PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
|
|||
return pMap;
|
||||
}
|
||||
|
||||
|
||||
VOID RemoveLabel(PLABEL_MAP pMap)
|
||||
{
|
||||
PLABEL_MAP pCurMap = s_Map;
|
||||
|
@ -107,8 +107,7 @@ VOID RemoveLabel(PLABEL_MAP pMap)
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
while(pCurMap)
|
||||
while (pCurMap)
|
||||
{
|
||||
if (pCurMap->Next == pMap)
|
||||
{
|
||||
|
@ -120,15 +119,11 @@ VOID RemoveLabel(PLABEL_MAP pMap)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PAPP_MAP FindApp(TCHAR * szName)
|
||||
{
|
||||
PAPP_MAP pMap = s_App;
|
||||
|
||||
while(pMap)
|
||||
while (pMap)
|
||||
{
|
||||
if (!_tcscmp(pMap->szName, szName))
|
||||
return pMap;
|
||||
|
@ -139,18 +134,19 @@ PAPP_MAP FindApp(TCHAR * szName)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
PLABEL_CONTEXT FindLabelContext(PSOUND_SCHEME_CONTEXT pSoundScheme, TCHAR * AppName, TCHAR * LabelName)
|
||||
{
|
||||
PLABEL_CONTEXT pLabelContext;
|
||||
|
||||
pLabelContext = pSoundScheme->LabelContext;
|
||||
|
||||
while(pLabelContext)
|
||||
while (pLabelContext)
|
||||
{
|
||||
ASSERT(pLabelContext->AppMap);
|
||||
ASSERT(pLabelContext->LabelMap);
|
||||
|
||||
if(!_tcsicmp(pLabelContext->AppMap->szName, AppName) && !_tcsicmp(pLabelContext->LabelMap->szName, LabelName))
|
||||
if (!_tcsicmp(pLabelContext->AppMap->szName, AppName) && !_tcsicmp(pLabelContext->LabelMap->szName, LabelName))
|
||||
{
|
||||
return pLabelContext;
|
||||
}
|
||||
|
@ -172,6 +168,7 @@ PLABEL_CONTEXT FindLabelContext(PSOUND_SCHEME_CONTEXT pSoundScheme, TCHAR * AppN
|
|||
return pLabelContext;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
LoadEventLabel(HKEY hKey, TCHAR * szSubKey)
|
||||
{
|
||||
|
@ -237,6 +234,7 @@ LoadEventLabel(HKEY hKey, TCHAR * szSubKey)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
LoadEventLabels()
|
||||
{
|
||||
|
@ -278,12 +276,13 @@ LoadEventLabels()
|
|||
}
|
||||
dwCurKey++;
|
||||
|
||||
}while(dwResult == ERROR_SUCCESS);
|
||||
} while (dwResult == ERROR_SUCCESS);
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
return (dwCount != 0);
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
AddSoundProfile(HWND hwndDlg, HKEY hKey, TCHAR * szSubKey, BOOL SetDefault)
|
||||
{
|
||||
|
@ -331,6 +330,7 @@ AddSoundProfile(HWND hwndDlg, HKEY hKey, TCHAR * szSubKey, BOOL SetDefault)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
DWORD
|
||||
EnumerateSoundProfiles(HWND hwndDlg, HKEY hKey)
|
||||
{
|
||||
|
@ -383,12 +383,13 @@ EnumerateSoundProfiles(HWND hwndDlg, HKEY hKey)
|
|||
}
|
||||
|
||||
dwCurKey++;
|
||||
}while(dwResult == ERROR_SUCCESS);
|
||||
} while (dwResult == ERROR_SUCCESS);
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
return dwNumSchemes;
|
||||
}
|
||||
|
||||
|
||||
PSOUND_SCHEME_CONTEXT FindSoundProfile(HWND hwndDlg, TCHAR * szName)
|
||||
{
|
||||
LRESULT lCount, lIndex, lResult;
|
||||
|
@ -416,6 +417,8 @@ PSOUND_SCHEME_CONTEXT FindSoundProfile(HWND hwndDlg, TCHAR * szName)
|
|||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
ImportSoundLabel(HWND hwndDlg, HKEY hKey, TCHAR * szProfile, TCHAR * szLabelName, TCHAR * szAppName, PAPP_MAP AppMap, PLABEL_MAP LabelMap)
|
||||
{
|
||||
|
@ -427,13 +430,11 @@ ImportSoundLabel(HWND hwndDlg, HKEY hKey, TCHAR * szProfile, TCHAR * szLabelName
|
|||
PLABEL_CONTEXT pLabelContext;
|
||||
BOOL bCurrentProfile, bActiveProfile;
|
||||
|
||||
|
||||
//MessageBox(hwndDlg, szProfile, szLabelName, MB_OK);
|
||||
|
||||
bCurrentProfile = !_tcsicmp(szProfile, _T(".Current"));
|
||||
bActiveProfile = !_tcsicmp(szProfile, szDefault);
|
||||
|
||||
|
||||
if (RegOpenKeyEx(hKey,
|
||||
szProfile,
|
||||
0,
|
||||
|
@ -533,7 +534,7 @@ ImportSoundEntry(HWND hwndDlg, HKEY hKey, TCHAR * szLabelName, TCHAR * szAppName
|
|||
}
|
||||
|
||||
dwCurKey++;
|
||||
}while(dwResult == ERROR_SUCCESS);
|
||||
} while (dwResult == ERROR_SUCCESS);
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
|
||||
|
@ -541,7 +542,6 @@ ImportSoundEntry(HWND hwndDlg, HKEY hKey, TCHAR * szLabelName, TCHAR * szAppName
|
|||
}
|
||||
|
||||
|
||||
|
||||
DWORD
|
||||
ImportAppProfile(HWND hwndDlg, HKEY hKey, TCHAR * szAppName)
|
||||
{
|
||||
|
@ -626,11 +626,13 @@ ImportAppProfile(HWND hwndDlg, HKEY hKey, TCHAR * szAppName)
|
|||
}
|
||||
}
|
||||
dwCurKey++;
|
||||
}while(dwResult == ERROR_SUCCESS);
|
||||
} while (dwResult == ERROR_SUCCESS);
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
return dwNumEntry;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
ImportSoundProfiles(HWND hwndDlg, HKEY hKey)
|
||||
{
|
||||
|
@ -666,14 +668,14 @@ ImportSoundProfiles(HWND hwndDlg, HKEY hKey)
|
|||
}
|
||||
}
|
||||
dwCurKey++;
|
||||
}while(dwResult == ERROR_SUCCESS);
|
||||
} while (dwResult == ERROR_SUCCESS);
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
|
||||
return (dwNumApps != 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOL
|
||||
LoadSoundProfiles(HWND hwndDlg)
|
||||
{
|
||||
|
@ -697,9 +699,12 @@ LoadSoundProfiles(HWND hwndDlg)
|
|||
//MessageBox(hwndDlg, _T("importing sound profiles..."), NULL, MB_OK);
|
||||
ImportSoundProfiles(hwndDlg, hSubKey);
|
||||
}
|
||||
|
||||
RegCloseKey(hSubKey);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
LoadSoundFiles(HWND hwndDlg)
|
||||
{
|
||||
|
@ -757,14 +762,13 @@ LoadSoundFiles(HWND hwndDlg)
|
|||
wcscpy(&szPath[length-1], FileData.cFileName);
|
||||
SendDlgItemMessageW(hwndDlg, IDC_SOUND_LIST, CB_SETITEMDATA, (WPARAM)lResult, (LPARAM)_wcsdup(szPath));
|
||||
}
|
||||
}while(FindNextFileW(hFile, &FileData) != 0);
|
||||
} while (FindNextFileW(hFile, &FileData) != 0);
|
||||
|
||||
FindClose(hFile);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOL
|
||||
ShowSoundScheme(HWND hwndDlg)
|
||||
{
|
||||
|
@ -804,10 +808,10 @@ ShowSoundScheme(HWND hwndDlg)
|
|||
ItemIndex = 0;
|
||||
|
||||
pAppMap = s_App;
|
||||
while(pAppMap)
|
||||
while (pAppMap)
|
||||
{
|
||||
PLABEL_MAP pLabelMap = pAppMap->LabelMap;
|
||||
while(pLabelMap)
|
||||
while (pLabelMap)
|
||||
{
|
||||
ZeroMemory(&listItem, sizeof(LV_ITEM));
|
||||
listItem.mask = LVIF_TEXT | LVIF_PARAM | LVIF_IMAGE;
|
||||
|
@ -825,6 +829,7 @@ ShowSoundScheme(HWND hwndDlg)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
BOOL
|
||||
ApplyChanges(HWND hwndDlg)
|
||||
{
|
||||
|
@ -873,7 +878,7 @@ ApplyChanges(HWND hwndDlg)
|
|||
|
||||
pLabelContext = pScheme->LabelContext;
|
||||
|
||||
while(pLabelContext)
|
||||
while (pLabelContext)
|
||||
{
|
||||
_stprintf(Buffer, _T("%s\\%s\\.Current"), pLabelContext->AppMap->szName, pLabelContext->LabelMap->szName);
|
||||
|
||||
|
@ -900,7 +905,7 @@ SoundsDlgProc(HWND hwndDlg,
|
|||
WPARAM wParam,
|
||||
LPARAM lParam)
|
||||
{
|
||||
switch(uMsg)
|
||||
switch (uMsg)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
{
|
||||
|
@ -930,7 +935,7 @@ SoundsDlgProc(HWND hwndDlg,
|
|||
}
|
||||
case WM_COMMAND:
|
||||
{
|
||||
switch(LOWORD(wParam))
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_PLAY_SOUND:
|
||||
{
|
||||
|
@ -1002,7 +1007,7 @@ SoundsDlgProc(HWND hwndDlg,
|
|||
{
|
||||
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
|
||||
///
|
||||
/// should store in current member
|
||||
/// Should store in current member
|
||||
///
|
||||
_tcscpy(pLabelContext->szValue, (TCHAR*)lResult);
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
*
|
||||
* PROJECT: ReactOS Multimedia Control Panel
|
||||
* FILE: lib/cpl/mmsys/mmsys.c
|
||||
* FILE: dll/cpl/mmsys/mmsys.c
|
||||
* PURPOSE: ReactOS Multimedia Control Panel
|
||||
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||
* Johannes Anderwald <janderwald@reactos.com>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* $Id: main.c 12852 2005-01-06 13:58:04Z mf $
|
||||
*
|
||||
* PROJECT: ReactOS Multimedia Control Panel
|
||||
* FILE: lib/cpl/mmsys/mmsys.c
|
||||
* FILE: dll/cpl/mmsys/mmsys.c
|
||||
* PURPOSE: ReactOS Multimedia Control Panel
|
||||
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||
* Johannes Anderwald <janderwald@reactos.com>
|
||||
|
@ -60,6 +60,7 @@ InitImageInfo(PIMGINFO ImgInfo)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
GetMuteControl(PGLOBAL_DATA pGlobalData)
|
||||
{
|
||||
|
@ -89,6 +90,7 @@ GetMuteControl(PGLOBAL_DATA pGlobalData)
|
|||
pGlobalData->muteControlID = mxc.dwControlID;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
GetMuteState(PGLOBAL_DATA pGlobalData)
|
||||
{
|
||||
|
@ -112,6 +114,7 @@ GetMuteState(PGLOBAL_DATA pGlobalData)
|
|||
pGlobalData->muteVal = mxcdMute.fValue;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
SwitchMuteState(PGLOBAL_DATA pGlobalData)
|
||||
{
|
||||
|
@ -133,6 +136,7 @@ SwitchMuteState(PGLOBAL_DATA pGlobalData)
|
|||
pGlobalData->muteVal = mxcdMute.fValue;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
GetVolumeControl(PGLOBAL_DATA pGlobalData)
|
||||
{
|
||||
|
@ -164,6 +168,7 @@ GetVolumeControl(PGLOBAL_DATA pGlobalData)
|
|||
pGlobalData->volumeControlID = mxc.dwControlID;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
GetVolumeValue(PGLOBAL_DATA pGlobalData)
|
||||
{
|
||||
|
@ -187,6 +192,7 @@ GetVolumeValue(PGLOBAL_DATA pGlobalData)
|
|||
pGlobalData->volumeValue = mxcdVolume.dwValue;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
SetVolumeValue(PGLOBAL_DATA pGlobalData){
|
||||
MIXERCONTROLDETAILS_UNSIGNED mxcdVolume;
|
||||
|
@ -269,6 +275,7 @@ InitVolumeControls(HWND hwndDlg, PGLOBAL_DATA pGlobalData)
|
|||
SendDlgItemMessage(hwndDlg, IDC_VOLUME_TRACKBAR, TBM_SETPOS, (WPARAM)TRUE, (LPARAM)pGlobalData->volumeValue/VOLUME_DIVIDER);
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
LaunchSoundControl(HWND hwndDlg)
|
||||
{
|
||||
|
@ -322,10 +329,10 @@ VolumeDlgProc(HWND hwndDlg,
|
|||
{
|
||||
pGlobalData = (GLOBAL_DATA*) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(GLOBAL_DATA));
|
||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)pGlobalData);
|
||||
|
||||
|
||||
pGlobalData->hIconUnMuted = LoadImage(hApplet, MAKEINTRESOURCE(IDI_CPLICON), IMAGE_ICON, 32, 32, LR_DEFAULTCOLOR);
|
||||
pGlobalData->hIconMuted = LoadImage(hApplet, MAKEINTRESOURCE(IDI_MUTED_ICON), IMAGE_ICON, 32, 32, LR_DEFAULTCOLOR);
|
||||
|
||||
|
||||
InitImageInfo(&ImgInfo);
|
||||
InitVolumeControls(hwndDlg, pGlobalData);
|
||||
break;
|
||||
|
@ -340,7 +347,7 @@ VolumeDlgProc(HWND hwndDlg,
|
|||
HDC hdcMem;
|
||||
LONG left;
|
||||
|
||||
/* position image in centre of dialog */
|
||||
/* Position image in centre of dialog */
|
||||
left = (lpDrawItem->rcItem.right - ImgInfo.cxSource) / 2;
|
||||
|
||||
hdcMem = CreateCompatibleDC(lpDrawItem->hDC);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* PROJECT: ReactOS Network Control Panel
|
||||
* FILE: lib/cpl/system/ncpa.c
|
||||
* FILE: dll/cpl/ncpa/ncpa.c
|
||||
* PURPOSE: ReactOS Network Control Panel
|
||||
* PROGRAMMER: Gero Kuehn (reactos.filter@gkware.com)
|
||||
* UPDATE HISTORY:
|
||||
|
@ -19,8 +19,7 @@ LONG CALLBACK
|
|||
DisplayApplet(VOID)
|
||||
{
|
||||
WCHAR szParameters[160];
|
||||
//FIXME
|
||||
// use correct path
|
||||
// FIXME: Use correct path
|
||||
//::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}
|
||||
|
||||
wcscpy(szParameters, L"/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* $Id$
|
||||
*
|
||||
* PROJECT: ReactOS ODBC Control Panel Applet
|
||||
* FILE: lib/cpl/main/main.c
|
||||
* FILE: dll/cpl/main/main.c
|
||||
* PURPOSE: applet initialization
|
||||
* PROGRAMMER: Johannes Anderwald
|
||||
*/
|
||||
|
@ -77,4 +77,3 @@ DllMain(HINSTANCE hinstDLL,
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -180,8 +180,6 @@ SaveCurrentPowerActionPolicy(IN HWND hDlgCtrl,
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
VOID
|
||||
|
@ -394,7 +392,6 @@ Adv_InitDialog(VOID)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
static VOID
|
||||
Adv_SaveData(HWND hwndDlg)
|
||||
{
|
||||
|
|
|
@ -177,8 +177,8 @@ AlarmsDlgProc(HWND hwndDlg,
|
|||
case WM_INITDIALOG:
|
||||
if (!Ala_InitData(hwndDlg))
|
||||
{
|
||||
//TODO
|
||||
//handle initialization error
|
||||
// TODO:
|
||||
// Handle initialization error
|
||||
}
|
||||
return TRUE;
|
||||
default:
|
||||
|
|
|
@ -38,7 +38,7 @@ Hib_InitDialog(HWND hwndDlg)
|
|||
msex.dwLength = sizeof(msex);
|
||||
if (!GlobalMemoryStatusEx(&msex))
|
||||
{
|
||||
return; //FIXME
|
||||
return; // FIXME
|
||||
}
|
||||
|
||||
if (GetWindowsDirectory(szTemp,MAX_PATH))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// English (en) resources by Lohegrim (Lohnegrim at gmx dot net)
|
||||
// Bulgarian resources
|
||||
|
||||
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
||||
|
||||
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Ñëåä 4 ÷àñà"
|
||||
IDS_TIMEOUT15 "Ñëåä 5 ÷àñà"
|
||||
IDS_TIMEOUT16 "Íèêîãà"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "σε 4 ώρες"
|
||||
IDS_TIMEOUT15 "σε 5 ώρες"
|
||||
IDS_TIMEOUT16 "Ποτέ"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Είστε σίγουροι ότι θέλετε να διαγράψετε αυτόν τον συνδιασμό τροφοδοσίας;"
|
||||
IDS_DEL_SCHEME_TITLE "Διαγραφή συνδιασμού"
|
||||
END
|
||||
|
|
|
@ -159,7 +159,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "After 4 hours"
|
||||
IDS_TIMEOUT15 "After 5 hours"
|
||||
IDS_TIMEOUT16 "Never"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
*Spanish Language resource file
|
||||
* Spanish language resource file
|
||||
* Traducido por: Javier Remacha 2007-12-23
|
||||
*/
|
||||
|
||||
|
@ -161,7 +161,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Tras 4 horas"
|
||||
IDS_TIMEOUT15 "Tras 5 horas"
|
||||
IDS_TIMEOUT16 "Nunca"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "¿Está seguro de que desea eliminar la combinación de energía?"
|
||||
IDS_DEL_SCHEME_TITLE "Eliminar combinación"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Après 4 heures"
|
||||
IDS_TIMEOUT15 "Après 5 heures"
|
||||
IDS_TIMEOUT16 "Jamais"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Êtes-vous sûr de vouloir supprimer le profil d'alimentation ?"
|
||||
IDS_DEL_SCHEME_TITLE "Supprimer le profil"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Setelah 4 jam"
|
||||
IDS_TIMEOUT15 "Setelah 5 jam"
|
||||
IDS_TIMEOUT16 "Tidak pernah"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
|
@ -173,7 +173,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Dopo 4 ore"
|
||||
IDS_TIMEOUT15 "Dopo 5 ore"
|
||||
IDS_TIMEOUT16 "Mai"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Siete sicuro di voler cancellare lo schema?"
|
||||
IDS_DEL_SCHEME_TITLE "Cancellazione schema"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Na 4 uur"
|
||||
IDS_TIMEOUT15 "Na 5 uur"
|
||||
IDS_TIMEOUT16 "Nooit"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Etter 4 timer"
|
||||
IDS_TIMEOUT15 "Etter 5 timer"
|
||||
IDS_TIMEOUT16 "Aldri"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Er du sikker på at du vil slette strømplanen?"
|
||||
IDS_DEL_SCHEME_TITLE "Slett planen"
|
||||
END
|
||||
|
|
|
@ -164,7 +164,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Po 4 godzinach"
|
||||
IDS_TIMEOUT15 "Po 5 godzinach"
|
||||
IDS_TIMEOUT16 "Nigdy"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Czy na pewno chcesz skasować schemat oszczędzania energii?"
|
||||
IDS_DEL_SCHEME_TITLE "Skasuj schemat"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "După 4 ore"
|
||||
IDS_TIMEOUT15 "După 5 ore"
|
||||
IDS_TIMEOUT16 "Niciodată"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Sunteți sigur că vreți să eliminați această schemă?"
|
||||
IDS_DEL_SCHEME_TITLE "Eliminare schemă"
|
||||
END
|
||||
|
|
|
@ -158,7 +158,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "через 4 часа"
|
||||
IDS_TIMEOUT15 "через 5 часов"
|
||||
IDS_TIMEOUT16 "никогда"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
|
@ -136,9 +136,9 @@ BEGIN
|
|||
IDS_SIZEBYTS "%i bajtov"
|
||||
IDS_SIZEMB "%i MB"
|
||||
|
||||
IDS_NOACTION "Nerob niè" //Do nothing
|
||||
IDS_NOACTION "Nerob niè" // Do nothing
|
||||
|
||||
IDS_PowerActionNone1 "Bez akcie" //No action
|
||||
IDS_PowerActionNone1 "Bez akcie" // No action
|
||||
IDS_PowerActionUnknown "Neznáme"
|
||||
IDS_PowerActionSleep "Úsporný režim"
|
||||
IDS_PowerActionHibernate "Dlhodobý spánok"
|
||||
|
@ -146,7 +146,7 @@ BEGIN
|
|||
IDS_PowerActionRestart "Reštartova<76>"
|
||||
IDS_PowerActionShutdownOff "Vypnú<6E> a odpoji<6A> zdroj"
|
||||
IDS_PowerActionWarmEject "Zobrazi<7A> výzvu na akciu"
|
||||
IDS_PowerActionNone2 "Niè" //None
|
||||
IDS_PowerActionNone2 "Niè" // None
|
||||
|
||||
IDS_TIMEOUT1 "Po 1 minúte"
|
||||
IDS_TIMEOUT2 "Po 2 minútach"
|
||||
|
@ -164,7 +164,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "Po 4 hodinách"
|
||||
IDS_TIMEOUT15 "Po 5 hodinách"
|
||||
IDS_TIMEOUT16 "Nikdy"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Ste si istý, že chcete vymaza<7A> schému napájania?"
|
||||
IDS_DEL_SCHEME_TITLE "Vymaza<7A> schému"
|
||||
END
|
||||
|
|
|
@ -156,7 +156,7 @@ BEGIN
|
|||
IDS_TIMEOUT14 "ËÅѧ¨Ò¡ 4 ªÑèÇâÁ§"
|
||||
IDS_TIMEOUT15 "ËÅѧ¨Ò¡ 5 ªÑèÇâÁ§"
|
||||
IDS_TIMEOUT16 "äÁèµÑ駤èÒ"
|
||||
|
||||
|
||||
IDS_DEL_SCHEME "Are you sure you want to delete the power scheme?"
|
||||
IDS_DEL_SCHEME_TITLE "Delete Scheme"
|
||||
END
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue