aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/ximtool/gui.bak/save.res
blob: 81c45acecd304b947e63f68f57babaff7126a93e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143

set Resources(save_panel) { \

    !=====================================
    !  Save Setup Panel	resources.	!
    !=====================================
    *save_panel*TextToggle.alignment:		left
    *save_panel*TextToggle.frameWidth:		0
    *save_panel*TextToggle.height:		20
    *save_panel*Label.borderWidth:		0
    *save_panel*Label.shadowWidth:		0
    *save_panel*TextButton.width:		80

    *saveLayout.borderWidth:			0
    *saveLayout.layout:	vertical { \
	saveNameGroup < +inf *	> \
	saveOptGroup <	+inf -inf * > -3 \
	saveCmdGroup <	+inf * > \
    }

    ! Save Name	Group resources.
    !----------------------------------
    *saveNameGroup.borderWidth:			0
    *saveNameGroup.outerOffset:			5
    *saveNameGroup.label:
    *saveNameGroup.location:			0 0 400 50
    *saveNameGroup*offIcon:			diamond0s
    *saveNameGroup*onIcon:			diamond1s
    *saveNameGroup*highlightColor:		cyan
    *saveNameGroup*Frame.frameType:		sunken
    *saveNameGroup*Frame.frameWidth:		1
    *saveNameGroup*Label.justify:		right
    *saveNameGroup*Text*editType:		edit
    *saveNameGroup*shadowWidth:			0
    *saveNameGroup*borderWidth:			0
    *saveNameLayout.borderWidth:		0
    *saveNameLayout.layout: vertical { \
	2 \
	horizontal { 5 saveLabel 5 fnameFrame < +inf -inf * > 5 } \
	2 \
    }
    *saveLabel.label:				File Name:
    *saveFile.height:				22

    !  Main options groups layout resources.
    !---------------------------------------
    *saveOptGroup.frameWidth:			2
    *saveOptGroup.frameType:			chiseled
    *saveOptGroup.label:
    *saveOptGroup.location:			0 0 400 140
    *saveOptGroup.outerOffset:			5
    *saveOptGroup.innerOffset:			0
    *saveOptLayout*borderWidth:			0
    *saveOptLayout.layout: horizontal {	\
	-1 \
	vertical { 5 <	-5 > fmtGroup <	+inf * +inf > -1 } \
	-1 \
	vertical { \
	    10	< -10 >	\
	    saveDataBox < +inff -inff * +inff -inff > \
	    5 < -5 > \
	} \
	-1 \
	vertical { 5 <	-5 > saveColorGroup < +inf * +inf > -1 } \
	-1 \
    }

    ! Output color box resources.
    ! ------------------------------
    *saveColorGroup.location:			0 0 140	120
    *saveColorGroup.outerOffset:		7
    *saveColorGroup.frameWidth:			2
    *saveColorGroup*offIcon:			diamond0s
    *saveColorGroup*onIcon:			diamond1s
    *saveColorGroup*highlightColor:		cyan
    *saveColorGroup.innerOffset:		5
    *saveColorGroup.label:			Output Color
    *saveColorGroup*TextToggle.width:		110
    *saveColor.frameWidth:			2
    *saveColor.layout: horizontal { \
	3 \
	vertical { 5 svGrayButton 2 svPseudoButton 2 svRGBButton -1 } \
	-1 \
    }
    *svGrayButton.label:			Grayscale
    *svPseudoButton.label:			PseudoColor
    *svRGBButton.label:				RGB

    *saveDataBox.frameType:			sunken
    *saveDataBox.frameWidth:			1


    ! Output format box	resources.
    ! -----------------------------------
    *fmtGroup.location:				0 0 140 120
    *fmtGroup.outerOffset:			7
    *fmtGroup.frameWidth:			2
    *fmtGroup*offIcon:				diamond0s
    *fmtGroup*onIcon:				diamond1s
    *fmtGroup*TextToggle.width:			55
    *fmtGroup*highlightColor:			cyan
    *fmtGroup.label:				File Format
    *formats.layout: horizontal	{ \
	3 \
	vertical { 5 fitsButton 2 gifButton 2 tiffButton 2 rawButton  1 } \
	2 < -2	> \
	vertical { 5 epsButton	2 rasButton 2 x11Button  2 jpegButton 1 } \
	-1 \
    }
    *rasButton.label:				RAS
    *gifButton.label:				GIF
    *jpegButton.label:				JPEG
    *tiffButton.label:				TIFF
    *fitsButton.label:				FITS
    *x11Button.label:				X11
    *epsButton.label:				EPS
    *rawButton.label:				Raw

    ! Change the sensitivity once these	formats	are implemented. !
    !-------------------------------------------------------------
    *jpegButton.sensitive:			False
    *x11Button.sensitive:			False
    *rawButton.sensitive:			False


    ! Panel command resources.
    ! ------------------------------
    *saveCmdLayout.borderWidth:			0
    *saveCmdGroup.frameType:			chiseled
    *saveCmdGroup.frameWidth:			2
    *saveCmdGroup.outerOffset:			5
    *saveCmdGroup.innerOffset:			5
    *saveCmdGroup.label:
    *saveCmdGroup.location:			0 0 400 50
    *saveCmdLayout*Command.internalWidth:	12
    *saveCmdLayout.layout: horizontal {	\
	2 \
	okaySave 1 < +inf -1 >	saveStatus < +inf -inf * > \
	2 \
    }
    *okaySave.label:				Save
}