📄 gvcrc.h
字号:
/* Copyright (C) 1993-2002, Ghostgum Software Pty Ltd. All rights reserved.
This file is part of GSview.
This program is distributed with NO WARRANTY OF ANY KIND. No author
or distributor accepts any responsibility for the consequences of using it,
or for whether it serves any particular purpose or works at all, unless he
or she says so in writing. Refer to the GSview Licence (the "Licence")
for full details.
Every copy of GSview must include a copy of the Licence, normally in a
plain ASCII text file named LICENCE. The Licence grants you the right
to copy, modify and redistribute GSview, but only under certain conditions
described in the Licence. Among other things, the Licence requires that
the copyright notice and this notice be preserved on all copies.
*/
/* gvcrc.h */
/* Common Resource header file */
#include "gvcver.h"
#define DEBUG_GENERAL 0x01
#define DEBUG_GDI 0x02 /* GDI printing */
#define DEBUG_MEM 0x04 /* memory allocation */
#define DEBUG_LOG 0x08 /* write gs_addmess() to file c:\gsview.txt */
#define DEBUG_GSINPUT 0x10 /* log all input written to GS */
#define ID_GSVIEW 1
#define ID_GSVIEW2 2
#define ID_GSVIEW3 3
#define ID_GSVIEW_DOC 4
#define ID_LANG 10
#define IDD_ABOUT 50
#define IDD_INPUT 51
#define ID_ANSWER 52
#define ID_PROMPT 53
#define ID_HELP 54
#define ID_DEFAULT 55
#define IDNEXT 56
#define IDPREV 57
#define IDFINISH 58
#define IDM_FILEMENU 100
#define IDM_OPEN 101
#define IDM_SELECT 102
#define IDM_SAVEAS 103
#define IDM_EXTRACT 104
#define IDM_PSTOEPS 105
#define IDM_CLOSE 106
#define IDM_CLOSE_DONE 107
#define IDM_INFO 108
#define IDM_PRINT 110
#define IDM_PRINTTOFILE 111
#define IDM_CONVERTFILE 112
#define IDM_SPOOL 113
#define IDM_GSMESS 114
#define IDM_LASTFILE1 115
#define IDM_LASTFILE2 116
#define IDM_LASTFILE3 117
#define IDM_LASTFILE4 118
#define IDM_EXIT 119
#define IDM_DROP 120
#define IDM_PSTOEDIT 121
#define IDM_ARGS 122
#define IDM_EDITMENU 150
#define IDM_COPYCLIP 151
#define IDM_PASTETO 152
#define IDM_CONVERT 153
#define IDM_ADDEPSMENU 154
#define IDM_MAKEEPSI 155
#define IDM_MAKEEPST4 156
#define IDM_MAKEEPST6U 157
#define IDM_MAKEEPST6P 158
#define IDM_MAKEEPSW 159
#define IDM_MAKEEPSU 160
#define IDM_EXTEPSMENU 161
#define IDM_EXTRACTPS 162
#define IDM_EXTRACTPRE 163
#define IDM_TEXTEXTRACT 164
#define IDM_TEXTEXTRACT_SLOW 165
#define IDM_TEXTFIND 166
#define IDM_TEXTFINDNEXT 167
#define IDM_OPTIONMENU 174
#define IDM_GSCOMMAND 175
#define IDM_CFG 176
#define IDM_SOUNDS 177
#define IDM_SETTINGS 178
#define IDM_SAVESETTINGS 179
#define IDM_SAFER 180
#define IDM_SAVEDIR 181
#define IDM_BUTTONSHOW 182
#define IDM_FITPAGE 183
#define IDM_AUTOREDISPLAY 185
#define IDM_EPSFCLIP 186
#define IDM_EPSFWARN 187
#define IDM_IGNOREDSC 188
#define IDM_SHOWBBOX 189
#define IDM_UNITMENU 190
#define IDM_UNITPT 191
#define IDM_UNITMM 192
#define IDM_UNITINCH 193
#define IDM_UNITCUSTOM 194
#define IDM_UNITFINE 195
#define IDM_VIEWMENU 200
#define IDM_NEXT 201
#define IDM_NEXTHOME 202
#define IDM_NEXTSKIP 203
#define IDM_PREV 204
#define IDM_PREVHOME 205
#define IDM_PREVSKIP 206
#define IDM_GOTO 207
#define IDM_GOBACK 208
#define IDM_GOFWD 209
#define IDM_REDISPLAY 210
#define IDM_SKIP 211
#define IDM_FULLSCREEN 212
#define IDM_FITWIN 213
#define IDM_ORIENTMENU 220
#define IDM_PORTRAIT 221
#define IDM_LANDSCAPE 222
#define IDM_UPSIDEDOWN 223
#define IDM_SEASCAPE 224
#define IDM_SWAPLANDSCAPE 225
#define IDM_AUTOORIENT 226
#define IDM_DISPLAYSETTINGS 250
#define IDM_ZOOM 251
#define IDM_MAGPLUS 252
#define IDM_MAGMINUS 253
/* OS/2 only */
#define IDM_DRAWMENU 260
#define IDM_DRAWDEF 261
#define IDM_DRAWGPI 262
#define IDM_DRAWWIN 263
/* X11 only */ /* must use same values as OS/2 */
#define IDM_DRAWPIXMAP 261 /* draw on pixmap */
#define IDM_DRAWBACKING 262 /* draw on backing pixmap */
#define IDM_DRAWSTORAGE 263 /* draw on window with backing storage */
#define IDM_MEDIAMENU 300
#define IDM_MEDIAFIRST 301
#define IDM_11x17 301
#define IDM_A3 302
#define IDM_A4 303
#define IDM_A5 304
#define IDM_B4 305
#define IDM_B5 306
#define IDM_LEDGER 307
#define IDM_LEGAL 308
#define IDM_LETTER 309
#define IDM_NOTE 310
#define IDM_MEDIALAST 311
#define IDM_USERSIZE 312
#define IDM_USERSIZE1 313
#define IDM_USERSIZE2 314
#define IDM_USERSIZE3 315
#define IDM_USERSIZE4 316
#define IDM_USERSIZE5 317
#define IDM_USERSIZE6 318
#define IDM_USERSIZE7 319
#define IDM_USERSIZE8 320
#define IDM_USERSIZE9 321
#define IDM_USERSIZE10 322
#define IDM_USERSIZE11 323
#define IDM_USERSIZE12 324
#define IDM_USERSIZE13 325
#define MEDIA_USERDEFINED "User Defined"
#define IDM_MEDIAROTATE 330
#define IDM_HELPMENU 340
#define IDM_HELPCONTENT 341
#define IDM_HELPSEARCH 342
#define IDM_HELPKEYS 343
#define IDM_ABOUT 344
#define IDM_MISC 345
#define IDM_REGISTER 346
#define IDD_LANG 350
#define IDM_LANGMENU 350
#define IDM_LANGEN 351
/* These language IDs may be reallocated in GSview */
/* but are needed by the setup program */
#define IDM_LANGDE 352
#define IDM_LANGFR 353
#define IDM_LANGIT 354
#define IDM_LANGES 355
#define IDM_LANGGR 356
#define IDM_LANGNL 357
#define IDM_LANGSE 358
#define IDM_LANGSK 359
#define IDM_LANGCT 360
#define IDM_LANGRU 361
#define IDM_LANGLAST 369
#define IDM_PSTOTEXTMENU 370
#define IDM_PSTOTEXTDIS 371
#define IDM_PSTOTEXTNORM 372
#define IDM_PSTOTEXTCORK 373
/* configuration dialog resource IDs */
#define IDD_CFG0 380 /* parent */
#define IDD_CFG1 381 /* intro */
#define IDD_CFG2 382 /* gsver */
#define IDD_CFG3 383 /* printer.ini */
#define IDD_CFG4 384 /* associate */
#define IDD_CFG5 385 /* progman */
#define IDD_CFG6 386 /* finish */
#define IDD_CFG7 387 /* done */
/* control IDs */
#define IDC_CFG20 390 /* gsver edit field */
#define IDC_CFG21 391 /* gsver scroll bar */
#define IDC_CFG22 392 /* GS dir edit field */
#define IDC_CFG23 393 /* additional fonts edit field */
#define IDC_CFG32 394 /* printer.ini checkbox */
#define IDC_CFG41 395 /* PS associate checkbox */
#define IDC_CFG42 396 /* PDF associate checkbox */
#define IDC_CFG51 397 /* create group checkbox */
#define IDC_CFG52 398 /* group name */
#define IDC_CFG70 399 /* result */
#define IDC_CFG71 400 /* failed reason */
#define IDD_EASYCFG 401
#define IDC_GSVER 402
/* info dialog box */
#define IDD_INFO 410
#define INFO_FILE 411
#define INFO_TYPE 412
#define INFO_TITLE 413
#define INFO_DATE 414
#define INFO_BBOX 415
#define INFO_ORIENT 416
#define INFO_ORDER 417
#define INFO_DEFMEDIA 418
#define INFO_NUMPAGES 419
#define INFO_PAGE 420
#define INFO_BITMAP 421
#define INFO_ICON 422
#define ABOUT_ICON 451
#define ABOUT_VERSION 452
#define IDD_PSTOEPS 470
#define PSTOEPS_AUTOBBOX 471
#define IDD_ADVPS 481
#define ADVPS_PRECTRLD 482
#define ADVPS_POSTCTRLD 483
#define ADVPS_PROLOG 484
#define ADVPS_PROLOGBROWSE 485
#define ADVPS_EPILOG 486
#define ADVPS_EPILOGBROWSE 487
#define IDD_PSTOEDIT 490
#define EDIT_FORMAT 491
#define EDIT_DT 492
#define EDIT_LATIN1 493
#define EDIT_FLAT 494
#define EDIT_FONT 495
#define EDIT_OPTION 496
#define IDD_SOUND 500
#define SOUND_EVENT 501
#define SOUND_FILE 502
#define SOUND_PATH 503
#define SOUND_TEST 504
#define IDD_SPOOL 510
#define IDD_QUEUE 511
#define SPOOL_PORT 512
#define SPOOL_PORTTEXT 513
#define SPOOL_TOFILE 514
#define IDD_CANCEL 515
#define CANCEL_PCDONE 515
#define IDD_PAGE 520
#define IDD_MULTIPAGE 521
#define PAGE_EDIT 522
#define PAGE_LIST 523
#define PAGE_LISTTEXT 524
#define PAGE_ALL 525
#define PAGE_ODD 526
#define PAGE_EVEN 527
#define PAGE_REVERSE 528
#define IDD_CONVERT 530
#define IDD_DEVICE 531
#define IDD_PRINTGS 532
#define IDD_PRINTGDI 534
#define DEVICE_NAME 534
#define DEVICE_NAMETEXT 535
#define DEVICE_RES 536
#define DEVICE_RESTEXT 537
#define DEVICE_PROP 538
#define DEVICE_PSPRINT 539
#define DEVICE_OPTIONS 540
#define DEVICE_OPTIONSTEXT 541
#define DEVICE_UNIPRINT 542
#define DEVICE_ADVPS 543
#define DEVICE_FIXEDMEDIA 544
#define IDD_UNIPRINT 550
#define UPP_LIST 551
#define UPP_NAME 552
#define IDD_PROP 553
#define PROP_NAME 554
#define PROP_VALUE 555
#define PROP_EDIT 556
#define PROP_NEW 557
#define PROP_XOFFSET 558
#define PROP_YOFFSET 559
#define IDD_EDITPROP 560
#define EDITPROP_STRING 561
#define EDITPROP_NUMBER 562
#define EDITPROP_NAME 563
#define EDITPROP_VALUE 564
#define NEWPROP_DEL 565
#define EDITPROP_DEL 566
#define IDD_TEXTWIN 570
#define TEXTWIN_MLE 571
#define TEXTWIN_COPY 572
#define IDD_BBOX 575
#define BB_PROMPT 576
#define BB_CLICK 577
#define IDD_INSTALL 580
#define INSTALL_DLL 581
#define INSTALL_INCLUDE 582
#define INSTALL_OTHER 583
#define IDC_CONFIGADV_PRINTER 584
#define IDC_CONFIGADV_PS 585
#define IDC_CONFIGADV_PDF 586
#define IDC_CONFIGADV_START 587
#define IDD_DSET 590
#define DSET_RES 591
#define DSET_ZOOMRES 592
#define DSET_DEPTH 593
#define DSET_TALPHA 594
#define DSET_GALPHA 595
#define DSET_DRAWMETHOD 596
/* file filters */
#define FILTER_PSALL 0
#define FILTER_PS 1
#define FILTER_EPS 2
#define FILTER_EPI 3
#define FILTER_PDF 4
#define FILTER_ALL 5
#define FILTER_BMP 6
#define FILTER_TIFF 7
#define FILTER_WMF 8
#define FILTER_TXT 9
/* string constants */
#define IDS_SLANGUAGE 601
#define IDS_CODEPAGE 602
#define IDS_HELPFILE 603
#define IDS_HELPTITLE 604
#define IDS_SIGSEGV 605
#define IDS_FILENOTFOUND 606
#define IDS_LANGUAGE 608
#define IDS_ELANGUAGE 609
#define IDS_FILE 610
#define IDS_NOFILE 611
#define IDS_PAGE 612
#define IDS_NOPAGE 613
#define IDS_PAGESPECIAL 614
#define IDS_LANDSCAPE 615
#define IDS_PORTRAIT 616
#define IDS_ASCEND 617
#define IDS_DESCEND 618
#define IDS_SPECIAL 619
#define IDS_PAGEINFO 620
#define IDS_LINKPAGE 621
#define IDS_DEFAULT 622
#define IDS_NOTDEFTAG 623
#define IDS_EPSF 625
#define IDS_EPSI 626
#define IDS_EPST 627
#define IDS_EPSW 628
#define IDS_DSC 629
#define IDS_NOTDSC 630
#define IDS_PDF 631
#define IDS_IGNOREDSC 632
#define IDS_CTRLD 633
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -