Author: dchapyshev
Date: Mon Dec 10 21:20:02 2007
New Revision: 31128
URL:
http://svn.reactos.org/svn/reactos?rev=31128&view=rev
Log:
- Add icons for buttons on "Hardware Profiles" dialog
Added:
trunk/reactos/dll/cpl/sysdm/resources/down.ico (with props)
trunk/reactos/dll/cpl/sysdm/resources/up.ico (with props)
Modified:
trunk/reactos/dll/cpl/sysdm/hardprof.c
trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
trunk/reactos/dll/cpl/sysdm/resource.h
trunk/reactos/dll/cpl/sysdm/sysdm.rc
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardprof.c (original)
+++ trunk/reactos/dll/cpl/sysdm/hardprof.c Mon Dec 10 21:20:02 2007
@@ -53,8 +53,16 @@
switch (uMsg)
{
case WM_INITDIALOG:
+ {
+ SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFUP),
+ BM_SETIMAGE,(WPARAM)IMAGE_ICON,
+ (LPARAM)(HANDLE)LoadIcon(hApplet, MAKEINTRESOURCE(IDI_UP)));
+ SendMessage(GetDlgItem(hwndDlg, IDC_HRDPROFDWN),
+ BM_SETIMAGE,(WPARAM)IMAGE_ICON,
+ (LPARAM)(HANDLE)LoadIcon(hApplet, MAKEINTRESOURCE(IDI_DOWN)));
MessageBox(hwndDlg, _T("Dialog not yet implemented!"), NULL, 0);
- break;
+ }
+ break;
case WM_COMMAND:
switch (LOWORD(wParam))
Modified: trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/de-DE.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/de-DE.rc Mon Dec 10 21:20:02 2007
@@ -84,8 +84,8 @@
LTEXT "Sie können Hardware-Profile für verschiedene
Hardware-Konfigurationen einrichten. Beim Starten können Sie dann das Profil auswählen,
welches benutzt werden soll.", IDC_STATIC, 46, 11, 200, 25
LTEXT "Verfügbare Hardware-Profile:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&Eigenschaften", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Kopieren", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "&Umbenennen", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/en-US.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/en-US.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/en-US.rc Mon Dec 10 21:20:02 2007
@@ -76,8 +76,8 @@
LTEXT "You can set up hardware profiles for different hardware
configurations. At startup, you can choose the profile you want to use.", IDC_STATIC,
46, 11, 188, 25
LTEXT "Available hardware profiles:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 15
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 15
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&Properties", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Copy", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "&Rename", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/fr-FR.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/fr-FR.rc Mon Dec 10 21:20:02 2007
@@ -79,8 +79,8 @@
LTEXT "Vous pouvez paramétrer des profils matériels pour différentes
configurations matérielles. Au démarrage, vous pouvez choisir le profil désiré.",
IDC_STATIC, 46, 11, 188, 25
LTEXT "Profils Matériels disponibles:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&Propriétés", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Copier", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "&Renommer", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/id-ID.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/id-ID.rc Mon Dec 10 21:20:02 2007
@@ -76,8 +76,8 @@
LTEXT "You can set up hardware profiles for different hardware
configurations. At startup, you can choose the profile you want to use.", IDC_STATIC,
46, 11, 188, 25
LTEXT "Available hardware profiles:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&Properties", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Copy", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "&Rename", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/it-IT.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/it-IT.rc Mon Dec 10 21:20:02 2007
@@ -76,8 +76,8 @@
LTEXT "Profili Hardware mette a disposizione un modo per definire e
memorizzare diverse configurazioni hardware. All'avvio del computer è possibile
scegliere quale usare.", IDC_STATIC, 46, 11, 188, 25
LTEXT "Profili Hardware disponibili:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&Proprietà", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Copia", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "&Rinomina", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/pl-PL.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/pl-PL.rc Mon Dec 10 21:20:02 2007
@@ -80,8 +80,8 @@
LTEXT "Mo¿esz okreliæ profile sprzêtu dla ró¿nych konfiguracji sprzêtu.
Podczas uruchamiania mo¿esz wybraæ profil, którego chcesz u¿yæ.", IDC_STATIC, 46, 11,
188, 25
LTEXT "&Dostêpne profile sprzêtu:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "&W³aciwoci", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Kopiuj", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "Z&mieñ nazwê", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/ru-RU.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/ru-RU.rc Mon Dec 10 21:20:02 2007
@@ -76,8 +76,8 @@
LTEXT "Ìîæíî ñîçäàòü íåñêîëüêî ïðîôèëåé äëÿ ðàçëè÷íûõ êîíôèãóðàöèé
îáîðóäîâàíèÿ è âûáðàòü íóæíûé ïðè çàãðóçêå ñèñòåìû.", IDC_STATIC, 46, 11, 188, 25
LTEXT "Äîñòóïíûå ïðîôèëè îáîðóäîâàíèÿ:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "Ñâîéñòâà", IDC_HRDPROFPROP, 8, 106, 47, 14
PUSHBUTTON "Êîïèðîâàòü", IDC_HRDPROFCOPY, 60, 106, 47, 14
PUSHBUTTON "Ïåðåèìåíîâàòü", IDC_HRDPROFRENAME, 112, 106, 59, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/sk-SK.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/sk-SK.rc Mon Dec 10 21:20:02 2007
@@ -85,8 +85,8 @@
LTEXT "Pre rôzne hardvérové konfigurácie môete nastavi hardvérové
profily. Pri spustení je moné vybra profil, ktorý chcete pouíva.", IDC_STATIC,
46, 11, 188, 25
LTEXT "&Dostupné hardvérové profily:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "Vl&astnosti", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Kopírova", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "Pr&emenova", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/uk-UA.r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/lang/uk-UA.rc Mon Dec 10 21:20:02 2007
@@ -84,8 +84,8 @@
LTEXT "Ìîæíà ñòâîðèòè äåê³ëüêà ïðîô³ë³â äëÿ ð³çíèõ êîíô³ãóðàö³é
óñòàòêóâàííÿ é âèáèðàòè ïîòð³áíèé ïðîô³ëü ï³ä ÷àñ çàâàíòàæåííÿ ñèñòåìè.", IDC_STATIC,
46, 11, 188, 25
LTEXT "Íàÿâí³ ïðîô³ë³ óñòàòêóâàííÿ:", IDC_STATIC, 8, 41, 120, 8
LISTBOX IDC_HRDPROFLSTBOX, 8, 52, 215, 54, LBS_NOTIFY
- PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14
- PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14
+ PUSHBUTTON "", IDC_HRDPROFUP, 232, 59, 15, 14, BS_ICON
+ PUSHBUTTON "", IDC_HRDPROFDWN, 232, 79, 15, 14, BS_ICON
PUSHBUTTON "Â&ëàñòèâîñò³", IDC_HRDPROFPROP, 8, 106, 50, 14
PUSHBUTTON "&Êîï³þâàòè", IDC_HRDPROFCOPY, 63, 106, 50, 14
PUSHBUTTON "Ïåðåé&ìåíóâàòè", IDC_HRDPROFRENAME, 118, 106, 50, 14
Modified: trunk/reactos/dll/cpl/sysdm/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/resource.h?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/resource.h (original)
+++ trunk/reactos/dll/cpl/sysdm/resource.h Mon Dec 10 21:20:02 2007
@@ -7,6 +7,8 @@
#define IDI_DEVMGR 51
#define IDI_HARDPROF 52
#define IDI_USERPROF 53
+#define IDI_UP 2500
+#define IDI_DOWN 2501
#define IDB_ROSBMP 55
Added: trunk/reactos/dll/cpl/sysdm/resources/down.ico
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/resources/do…
==============================================================================
Binary file - no diff available.
Propchange: trunk/reactos/dll/cpl/sysdm/resources/down.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: trunk/reactos/dll/cpl/sysdm/resources/up.ico
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/resources/up…
==============================================================================
Binary file - no diff available.
Propchange: trunk/reactos/dll/cpl/sysdm/resources/up.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: trunk/reactos/dll/cpl/sysdm/sysdm.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/sysdm.rc?rev…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/sysdm.rc (original)
+++ trunk/reactos/dll/cpl/sysdm/sysdm.rc Mon Dec 10 21:20:02 2007
@@ -16,6 +16,8 @@
IDI_USERPROF ICON "resources/devmgr.ico"
IDI_HARDPROF ICON "resources/devmgr.ico"
IDI_DEVMGR ICON "resources/devmgr.ico"
+IDI_UP ICON "resources/up.ico"
+IDI_DOWN ICON "resources/down.ico"
IDB_ROSBMP BITMAP "resources/rosbitmap.bmp"
RC_LICENSE RTDATA "resources/gpl.txt"