Modified: trunk/reactos/lib/cpl/desk/en.rc
Modified: trunk/reactos/lib/cpl/desk/resource.h
Modified: trunk/reactos/lib/cpl/desk/settings.c
Modified: trunk/reactos/lib/cpl/desk/sv.rc
--- trunk/reactos/lib/cpl/desk/en.rc 2005-05-24 22:29:00 UTC (rev 15488)
+++ trunk/reactos/lib/cpl/desk/en.rc 2005-05-25 00:04:12 UTC (rev 15489)
@@ -98,7 +98,7 @@
IDS_COLOR_4BIT "16 Colors"
IDS_COLOR_8BIT "256 Colors"
IDS_COLOR_16BIT "High Color (16 Bit)"
- IDS_COLOR_32BIT "True Color (24 Bit)"
+ IDS_COLOR_24BIT "True Color (24 Bit)"
IDS_COLOR_32BIT "True Color (32 Bit)"
IDS_PIXEL "%lux%lu Pixel"
END
--- trunk/reactos/lib/cpl/desk/resource.h 2005-05-24 22:29:00 UTC (rev 15488)
+++ trunk/reactos/lib/cpl/desk/resource.h 2005-05-25 00:04:12 UTC (rev 15489)
@@ -61,6 +61,7 @@
#define IDS_COLOR_4BIT 2904
#define IDS_COLOR_8BIT 2908
#define IDS_COLOR_16BIT 2916
+#define IDS_COLOR_24BIT 2924
#define IDS_COLOR_32BIT 2932
#endif /* __CPL_DESK_RESOURCE_H__ */
--- trunk/reactos/lib/cpl/desk/settings.c 2005-05-24 22:29:00 UTC (rev 15488)
+++ trunk/reactos/lib/cpl/desk/settings.c 2005-05-25 00:04:12 UTC (rev 15489)
@@ -62,14 +62,18 @@
LoadString(hApplet, IDS_PIXEL, Pixel, sizeof(Pixel) / sizeof(TCHAR));
_stprintf(Buffer, Pixel, CurrentDisplayDevice->CurrentSettings->dmPelsWidth, CurrentDisplayDevice->CurrentSettings->dmPelsHeight, Pixel);
SendDlgItemMessage(hwndDlg, IDC_SETTINGS_RESOLUTION_TEXT, WM_SETTEXT, 0, (LPARAM)Buffer);
-
+
+
for (index = 0; index < CurrentDisplayDevice->ResolutionsCount; index++)
+ {
+
if (CurrentDisplayDevice->Resolutions[index].dmPelsWidth == CurrentDisplayDevice->CurrentSettings->dmPelsWidth &&
CurrentDisplayDevice->Resolutions[index].dmPelsHeight == CurrentDisplayDevice->CurrentSettings->dmPelsHeight)
{
SendDlgItemMessage(hwndDlg, IDC_SETTINGS_RESOLUTION, TBM_SETPOS, TRUE, index);
break;
}
+ }
if (LoadString(hApplet, (2900 + CurrentDisplayDevice->CurrentSettings->dmBitsPerPel), Buffer, sizeof(Buffer) / sizeof(TCHAR)))
SendDlgItemMessage(hwndDlg, IDC_SETTINGS_BPP, CB_SELECTSTRING, -1, (LPARAM)Buffer);
}
--- trunk/reactos/lib/cpl/desk/sv.rc 2005-05-24 22:29:00 UTC (rev 15488)
+++ trunk/reactos/lib/cpl/desk/sv.rc 2005-05-25 00:04:12 UTC (rev 15489)
@@ -76,7 +76,7 @@
IDS_COLOR_4BIT "16 fõrger"
IDS_COLOR_8BIT "256 fõrger"
IDS_COLOR_16BIT "65 536 fõrger (16 Bit)"
- IDS_COLOR_32BIT "16,7 miljoner fõrger (24 Bit)"
+ IDS_COLOR_24BIT "16,7 miljoner fõrger (24 Bit)"
IDS_COLOR_32BIT "16,7 miljoner fõrger (32 Bit)"
IDS_PIXEL "%lux%lu Pixlar"
END