mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
084fae1eb4
- Add IDC_ROT_CWSAVE and IDC_ROT_CCWSAVE buttons. - Add Preview_pSaveImage helper function. - Use it in IDC_ROT_CWSAVE and IDC_ROT_CCWSAVE command handling. CORE-19358, CORE-19387
128 lines
3.2 KiB
Text
128 lines
3.2 KiB
Text
#include <windef.h>
|
|
#include <winuser.h>
|
|
|
|
#include "resource.h"
|
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|
|
|
#define REACTOS_VERSION_DLL
|
|
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Picture and Fax Viewer"
|
|
#define REACTOS_STR_INTERNAL_NAME "shimgvw"
|
|
#define REACTOS_STR_ORIGINAL_FILENAME "shimgvw.dll"
|
|
#include <reactos/version.rc>
|
|
|
|
#include <reactos/manifest_hosted.rc>
|
|
|
|
IDI_APP_ICON ICON "res/main.ico"
|
|
IDI_BMP_ICON ICON "res/bmp.ico"
|
|
IDI_PNG_ICON ICON "res/png.ico"
|
|
|
|
IDC_HANDDRAG CURSOR "res/handdrag.cur"
|
|
|
|
IDB_PREV_PIC BITMAP "res/prev.bmp"
|
|
IDB_NEXT_PIC BITMAP "res/next.bmp"
|
|
IDB_BEST_FIT BITMAP "res/best_fit.bmp"
|
|
IDB_REAL_SIZE BITMAP "res/real_size.bmp"
|
|
IDB_SLIDE_SHOW BITMAP "res/slide_show.bmp"
|
|
IDB_ZOOM_IN BITMAP "res/zoomp.bmp"
|
|
IDB_ZOOM_OUT BITMAP "res/zoomm.bmp"
|
|
IDB_ROT_CLOCKW BITMAP "res/rot1.bmp"
|
|
IDB_ROT_COUNCW BITMAP "res/rot2.bmp"
|
|
IDB_ROT_CWSAVE BITMAP "res/rot1save.bmp"
|
|
IDB_ROT_CCWSAVE BITMAP "res/rot2save.bmp"
|
|
IDB_DELETE BITMAP "res/delete.bmp"
|
|
IDB_PRINT BITMAP "res/print.bmp"
|
|
IDB_SAVEAS BITMAP "res/save.bmp"
|
|
IDB_MODIFY BITMAP "res/modify.bmp"
|
|
IDB_HELP_TOC BITMAP "res/help_toc.bmp"
|
|
|
|
IDR_ACCELERATOR ACCELERATORS
|
|
BEGIN
|
|
VK_LEFT, IDC_PREV_PIC, VIRTKEY
|
|
VK_RIGHT, IDC_NEXT_PIC, VIRTKEY
|
|
"B", IDC_BEST_FIT, VIRTKEY, CONTROL
|
|
"A", IDC_REAL_SIZE, VIRTKEY, CONTROL
|
|
VK_F11, IDC_SLIDE_SHOW, VIRTKEY
|
|
VK_ADD, IDC_ZOOM_IN, VIRTKEY
|
|
VK_SUBTRACT, IDC_ZOOM_OUT, VIRTKEY
|
|
VK_OEM_PLUS, IDC_ZOOM_IN, VIRTKEY, SHIFT
|
|
VK_OEM_MINUS,IDC_ZOOM_OUT, VIRTKEY
|
|
"K", IDC_ROT_CLOCKW, VIRTKEY, CONTROL
|
|
"L", IDC_ROT_COUNCW, VIRTKEY, CONTROL
|
|
VK_DELETE, IDC_DELETE, VIRTKEY
|
|
"P", IDC_PRINT, VIRTKEY, CONTROL
|
|
"S", IDC_SAVEAS, VIRTKEY, CONTROL
|
|
"E", IDC_MODIFY, VIRTKEY, CONTROL
|
|
VK_F1, IDC_HELP_TOC, VIRTKEY
|
|
VK_ESCAPE, IDC_ENDSLIDESHOW, VIRTKEY
|
|
END
|
|
|
|
/* 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_US
|
|
#include "lang/en-US.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ES_ES
|
|
#include "lang/es-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_IT_IT
|
|
#include "lang/it-IT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_JA_JP
|
|
#include "lang/ja-JP.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NB_NO
|
|
#include "lang/no-NO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_LT_LT
|
|
#include "lang/lt-LT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PL_PL
|
|
#include "lang/pl-PL.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_TR_TR
|
|
#include "lang/tr-TR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_UK_UA
|
|
#include "lang/uk-UA.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
|