Implemented a hard kill to avoid hanging in a terminal on a Ctrl-C.
[xcircuit.git] / resources.rc
blob868755c2c968efa8e77f5c7bf9c4112ca171c594
1 #include <windows.h>
2 #include "resource.h"
4 /////////////////////////////////////////////////////////////////////////////
5 //
6 // Icons
7 //
9 xcircuit        ICON    DISCARDABLE     "lib\\pixmaps\\xcircuit.ico"
11 /////////////////////////////////////////////////////////////////////////////
13 // Dialog
16 IDD_INPUTDIALOG DIALOG DISCARDABLE  0, 0, 186, 63
17 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
18 CAPTION "XCircuit"
19 FONT 8, "MS Sans Serif"
20 BEGIN
21     DEFPUSHBUTTON   "OK",IDOK,7,42,50,14
22     PUSHBUTTON      "Cancel",IDCANCEL,129,42,50,14
23     LTEXT           "Static",IDC_INFOTEXT,7,7,172,8
24     EDITTEXT        IDC_EDIT1,7,20,172,12,ES_AUTOHSCROLL
25 END
27 IDD_HELPDLG DIALOG DISCARDABLE  0, 0, 186, 332
28 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
29 CAPTION "Help"
30 FONT 8, "MS Sans Serif"
31 BEGIN
32     DEFPUSHBUTTON   "OK",IDOK,67,311,50,14
33     CONTROL         "",IDC_HELPPIX,"XcHelp",WS_VSCROLL,7,7,160,297
34 END
36 IDD_OUTPUTDLG DIALOG DISCARDABLE  0, 0, 272, 193
37 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
38 CAPTION "Output"
39 FONT 8, "MS Sans Serif"
40 BEGIN
41     DEFPUSHBUTTON   "Write File",IDOK,206,172,59,14
42     PUSHBUTTON      "Cancel",IDCANCEL,7,172,50,14
43     LTEXT           "Postscript output properties:",IDC_PSINFO,7,7,127,12,
44                     SS_CENTERIMAGE
45     CONTROL         "Pages",IDC_PAGENUM,"Button",BS_AUTOCHECKBOX | NOT 
46                     WS_VISIBLE | WS_TABSTOP,144,7,74,12
47     EDITTEXT        IDC_FILENAME,49,27,146,12,ES_AUTOHSCROLL
48     LTEXT           "Filename:",IDC_STATIC1,7,29,41,8
49     PUSHBUTTON      "Apply",IDC_APPLY1,215,26,50,14
50     EDITTEXT        IDC_PAGELABEL,49,47,158,12,ES_AUTOHSCROLL
51     LTEXT           "Page label:",IDC_STATIC2,7,49,41,8
52     PUSHBUTTON      "Apply",IDC_APPLY2,215,46,50,14
53     EDITTEXT        IDC_SCALE,49,67,158,12,ES_AUTOHSCROLL
54     LTEXT           "Scale:",IDC_STATIC3,7,69,40,8
55     PUSHBUTTON      "Apply",IDC_APPLY3,215,66,50,14
56     EDITTEXT        IDC_WIDTH,49,87,158,12,ES_AUTOHSCROLL
57     LTEXT           "Width:",IDC_STATIC4,7,89,40,8
58     PUSHBUTTON      "Apply",IDC_APPLY4,215,86,50,14
59     EDITTEXT        IDC_HEIGHT,49,107,158,12,ES_AUTOHSCROLL
60     LTEXT           "Height:",IDC_STATIC5,7,109,40,8
61     PUSHBUTTON      "Apply",IDC_APPLY5,215,106,50,14
62     LTEXT           "Orientation:",IDC_STATIC6,7,130,42,8
63     COMBOBOX        IDC_ORIENTATION,49,128,77,52,CBS_DROPDOWNLIST | CBS_SORT | 
64                     WS_TABSTOP
65     CONTROL         "Auto-fit",IDC_AUTOFIT,"Button",BS_AUTOCHECKBOX | NOT 
66                     WS_VISIBLE | WS_TABSTOP,135,129,38,10
67     LTEXT           "Mode:",IDC_STATIC7,7,149,41,8
68     COMBOBOX        IDC_MODE,49,147,77,52,CBS_DROPDOWNLIST | CBS_SORT | 
69                     WS_TABSTOP
70     PUSHBUTTON      "Apply",IDC_APPLY6,215,146,50,14,NOT WS_VISIBLE
71     EDITTEXT        IDC_FPEDIT,135,147,72,12,ES_AUTOHSCROLL | NOT WS_VISIBLE
72     PUSHBUTTON      "...",IDC_FILEOPEN,195,27,12,12,NOT WS_TABSTOP
73 END
75 /////////////////////////////////////////////////////////////////////////////
77 // REGISTRY
80 #ifdef USE_WIN32_COM
81 1 TYPELIB "XCCom.tlb"
82 #endif