mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:53:02 +00:00
[MSPAINT] Some minor improvements (#4264)
- Fix Japanese IDS_MINIATURETITLE resource string. - Fix Japanese IDM_VIEWSHOWMINIATURE menu item text. - Fix DWORD as COLORREF. - Improve some OnPaint's. CORE-17969
This commit is contained in:
parent
edf92c004d
commit
3456538e3a
8 changed files with 21 additions and 19 deletions
|
@ -15,13 +15,13 @@
|
|||
LRESULT CPaletteWindow::OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
{
|
||||
RECT rc = { 0, 0, 31, 32 };
|
||||
HDC hDC = GetDC();
|
||||
HPEN oldPen;
|
||||
HBRUSH oldBrush;
|
||||
int i, a, b;
|
||||
|
||||
DefWindowProc(WM_PAINT, wParam, lParam);
|
||||
|
||||
HDC hDC = GetDC();
|
||||
for(b = 2; b < 30; b++)
|
||||
for(a = 2; a < 29; a++)
|
||||
if ((a + b) % 2 == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue