mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +00:00
![Katayama Hirofumi MZ](/assets/img/avatar_default.png)
- Convert icons/*_cur.ico to the cursor files (*.cur). - The hot spot is (16, 16) (default). - Rename icons/ folder as img/. - Use LoadCursorW instead of LoadIconW for cursors. - Use CURSOR statements for cursor files instead of ICON statements in rsrc.rc. - I used GIMP to convert the icon files to the PNG files. - I used RealWorld Cursor Editor to convert the PNG files to the cursor files. CORE-19297
138 lines
2.9 KiB
Plaintext
138 lines
2.9 KiB
Plaintext
/*
|
|
* PROJECT: PAINT for ReactOS
|
|
* LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
|
|
* PURPOSE: Managing the resources
|
|
* COPYRIGHT: Copyright 2009 Benedikt Freisen <b.freisen@gmx.net>
|
|
*/
|
|
|
|
/* INCLUDES *********************************************************/
|
|
|
|
#include <windef.h>
|
|
#include <winuser.rh>
|
|
#include <commctrl.h>
|
|
|
|
#include "resource.h"
|
|
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Paint"
|
|
#define REACTOS_STR_INTERNAL_NAME "mspaint"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "mspaint.exe"
|
|
|
|
#include <reactos/version.rc>
|
|
|
|
/* Icons */
|
|
|
|
IDI_APPICON ICON "img/paint.ico"
|
|
|
|
IDB_TOOLBARICONS BITMAP "img/iconbar.bmp"
|
|
|
|
IDI_TRANSPARENT ICON "img/transparent.ico"
|
|
IDI_NONTRANSPARENT ICON "img/nontransparent.ico"
|
|
|
|
IDC_FILL CURSOR "img/fill.cur"
|
|
IDC_COLOR CURSOR "img/color.cur"
|
|
IDC_ZOOM CURSOR "img/zoom.cur"
|
|
IDC_PEN CURSOR "img/pen.cur"
|
|
IDC_AIRBRUSH CURSOR "img/airbrush.cur"
|
|
IDC_HANDDRAG CURSOR "img/handdrag.cur"
|
|
|
|
IDI_HORZSTRETCH ICON "img/horzstretch.ico"
|
|
IDI_VERTSTRETCH ICON "img/vertstretch.ico"
|
|
IDI_HORZSKEW ICON "img/horzskew.ico"
|
|
IDI_VERTSKEW ICON "img/vertskew.ico"
|
|
|
|
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "mspaint.exe.manifest"
|
|
|
|
/* UTF-8 */
|
|
#pragma code_page(65001)
|
|
|
|
#ifdef LANGUAGE_BG_BG
|
|
#include "lang/bg-BG.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_CS_CZ
|
|
#include "lang/cs-CZ.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_DE_DE
|
|
#include "lang/de-DE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EN_GB
|
|
#include "lang/en-GB.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EN_US
|
|
#include "lang/en-US.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ES_ES
|
|
#include "lang/es-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ET_EE
|
|
#include "lang/et-EE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EU_ES
|
|
#include "lang/eu-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FR_FR
|
|
#include "lang/fr-FR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HE_IL
|
|
#include "lang/he-IL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HU_HU
|
|
#include "lang/hu-HU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ID_ID
|
|
#include "lang/id-ID.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_IT_IT
|
|
#include "lang/it-IT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_JA_JP
|
|
#include "lang/ja-JP.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NL_NL
|
|
#include "lang/nl-NL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NB_NO
|
|
#include "lang/no-NO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PL_PL
|
|
#include "lang/pl-PL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_BR
|
|
#include "lang/pt-BR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_PT
|
|
#include "lang/pt-PT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RO_RO
|
|
#include "lang/ro-RO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RU_RU
|
|
#include "lang/ru-RU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SK_SK
|
|
#include "lang/sk-SK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SQ_AL
|
|
#include "lang/sq-AL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SV_SE
|
|
#include "lang/sv-SE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_TR_TR
|
|
#include "lang/tr-TR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_UK_UA
|
|
#include "lang/uk-UA.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_VI_VN
|
|
#include "lang/vi-VN.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_CN
|
|
#include "lang/zh-CN.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_HK
|
|
#include "lang/zh-HK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_TW
|
|
#include "lang/zh-TW.rc"
|
|
#endif
|