mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +00:00
[MSPAINT] Encapsulation: hCurFill, hCurColor etc.
CORE-18867
This commit is contained in:
parent
d40de8f47c
commit
cc3b53fef9
4 changed files with 25 additions and 26 deletions
|
@ -35,12 +35,6 @@ OPENFILENAME sfn;
|
|||
HICON hNontranspIcon;
|
||||
HICON hTranspIcon;
|
||||
|
||||
HCURSOR hCurFill;
|
||||
HCURSOR hCurColor;
|
||||
HCURSOR hCurZoom;
|
||||
HCURSOR hCurPen;
|
||||
HCURSOR hCurAirbrush;
|
||||
|
||||
HINSTANCE hProgInstance;
|
||||
|
||||
TCHAR filepathname[1000];
|
||||
|
@ -204,12 +198,6 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument
|
|||
hTranspIcon =
|
||||
(HICON) LoadImage(hThisInstance, MAKEINTRESOURCE(IDI_TRANSPARENT), IMAGE_ICON, 40, 30, LR_DEFAULTCOLOR);
|
||||
|
||||
hCurFill = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_FILL));
|
||||
hCurColor = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_COLOR));
|
||||
hCurZoom = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_ZOOM));
|
||||
hCurPen = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_PEN));
|
||||
hCurAirbrush = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDC_AIRBRUSH));
|
||||
|
||||
RECT toolBoxContainerPos = {2, 2, 2 + 52, 2 + 350};
|
||||
toolBoxContainer.Create(hwnd, toolBoxContainerPos, NULL, WS_CHILD | WS_VISIBLE);
|
||||
/* creating the tool settings child window */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue