reactos/dll/win32/shimgvw/resource.h
Katayama Hirofumi MZ 084fae1eb4
[SHIMGVW] Add 'rotate and save image' buttons (#6186)
- 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
2023-12-19 13:22:53 +09:00

104 lines
2.9 KiB
C

#pragma once
/* Icons */
#define IDI_APP_ICON 1
#define IDI_BMP_ICON 2
#define IDI_GIF_ICON 3
#define IDI_JPG_ICON 4
#define IDI_PNG_ICON 5
/* Cursors */
#define IDC_HANDDRAG 100
/* Toolbar images */
#define IDB_PREV_PIC 50
#define IDB_NEXT_PIC 51
#define IDB_BEST_FIT 52
#define IDB_REAL_SIZE 53
#define IDB_SLIDE_SHOW 54
#define IDB_ZOOM_IN 55
#define IDB_ZOOM_OUT 56
#define IDB_ROT_CLOCKW 57
#define IDB_ROT_COUNCW 58
#define IDB_ROT_CWSAVE 59
#define IDB_ROT_CCWSAVE 60
#define IDB_DELETE 61
#define IDB_PRINT 62
#define IDB_SAVEAS 63
#define IDB_MODIFY 64
#define IDB_HELP_TOC 65
/* ToolBar buttons */
#define IDC_TOOL_BASE 500
#define IDC_PREV_PIC (IDC_TOOL_BASE + 0)
#define IDC_NEXT_PIC (IDC_TOOL_BASE + 1)
#define IDC_BEST_FIT (IDC_TOOL_BASE + 2)
#define IDC_REAL_SIZE (IDC_TOOL_BASE + 3)
#define IDC_SLIDE_SHOW (IDC_TOOL_BASE + 4)
#define IDC_ZOOM_IN (IDC_TOOL_BASE + 5)
#define IDC_ZOOM_OUT (IDC_TOOL_BASE + 6)
#define IDC_ROT_CLOCKW (IDC_TOOL_BASE + 7)
#define IDC_ROT_COUNCW (IDC_TOOL_BASE + 8)
#define IDC_ROT_CWSAVE (IDC_TOOL_BASE + 9)
#define IDC_ROT_CCWSAVE (IDC_TOOL_BASE + 10)
#define IDC_DELETE (IDC_TOOL_BASE + 11)
#define IDC_PRINT (IDC_TOOL_BASE + 12)
#define IDC_SAVEAS (IDC_TOOL_BASE + 13)
#define IDC_MODIFY (IDC_TOOL_BASE + 14)
#define IDC_HELP_TOC (IDC_TOOL_BASE + 15)
#define IDC_ENDSLIDESHOW (IDC_TOOL_BASE + 16)
#define TBICON_PREV_PIC 0
#define TBICON_NEXT_PIC 1
#define TBICON_BEST_FIT 2
#define TBICON_REAL_SIZE 3
#define TBICON_SLIDE_SHOW 4
#define TBICON_ZOOM_IN 5
#define TBICON_ZOOM_OUT 6
#define TBICON_ROT_CLOCKW 7
#define TBICON_ROT_COUNCW 8
#define TBICON_ROT_CWSAVE 9
#define TBICON_ROT_CCWSAVE 10
#define TBICON_DELETE 11
#define TBICON_PRINT 12
#define TBICON_SAVEAS 13
#define TBICON_MODIFY 14
#define TBICON_HELP_TOC 15
/* Strings */
#define IDS_APPTITLE 100
#define IDS_SETASDESKBG 101
#define IDS_NOPREVIEW 102
#define IDS_PREVIEW 550
/* Friendly File Type Names */
#define IDS_EMF_FILE 301
#define IDS_GIF_FILE 302
#define IDS_JPG_FILE 303
#define IDS_BMP_FILE 304
#define IDS_PNG_FILE 305
#define IDS_TIF_FILE 306
#define IDS_WMF_FILE 307
/* Tooltips strings */
#define IDS_TOOLTIP_PREV_PIC 400
#define IDS_TOOLTIP_NEXT_PIC 401
#define IDS_TOOLTIP_BEST_FIT 402
#define IDS_TOOLTIP_REAL_SIZE 403
#define IDS_TOOLTIP_SLIDE_SHOW 404
#define IDS_TOOLTIP_ZOOM_IN 405
#define IDS_TOOLTIP_ZOOM_OUT 406
#define IDS_TOOLTIP_ROT_CLOCKW 407
#define IDS_TOOLTIP_ROT_COUNCW 408
#define IDS_TOOLTIP_DELETE 409
#define IDS_TOOLTIP_PRINT 410
#define IDS_TOOLTIP_SAVEAS 411
#define IDS_TOOLTIP_MODIFY 412
#define IDS_TOOLTIP_HELP_TOC 413
#define IDS_TOOLTIP_ROT_CWSAVE 414
#define IDS_TOOLTIP_ROT_CCWSAVE 415
/* Keyboard accelerators */
#define IDR_ACCELERATOR 600