I've now added the documentation files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,161 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: alignb.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 298 389 314 404
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
298 389 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
16 15 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 9 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 ffff00
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
16 15 8 % dimensions of data
|
||||
[16 0 0 -15 0 15] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
0f01
|
||||
07010700
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
8101000300010181000204020000
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
810100030001010700
|
||||
0f01
|
||||
0f01
|
||||
|
||||
%
|
||||
% Compression made this file 3.12% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,161 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: alignl.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 389 270 404
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 389 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
16 15 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 9 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 ffff00
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
16 15 8 % dimensions of data
|
||||
[16 0 0 -15 0 15] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
0f01
|
||||
020105000601
|
||||
020181000202028100010501
|
||||
020181000202028100010501
|
||||
020181000202028100010501
|
||||
020105000601
|
||||
0f01
|
||||
0f01
|
||||
02010a000101
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
02010a000101
|
||||
0f01
|
||||
|
||||
%
|
||||
% Compression made this file 16.11% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 124 B |
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,161 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: alignr.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 389 270 404
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 389 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
16 15 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 9 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 ffff00
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
16 15 8 % dimensions of data
|
||||
[16 0 0 -15 0 15] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
0f01
|
||||
070105000101
|
||||
070181000202028100010001
|
||||
070181000202028100010001
|
||||
070181000202028100010001
|
||||
070105000101
|
||||
0f01
|
||||
0f01
|
||||
02010a000101
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
020181000207028100010001
|
||||
02010a000101
|
||||
0f01
|
||||
|
||||
%
|
||||
% Compression made this file 16.11% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 126 B |
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,161 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: alignt.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 389 270 404
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 389 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
16 15 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 9 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 ffff00
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
16 15 8 % dimensions of data
|
||||
[16 0 0 -15 0 15] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
0f01
|
||||
810100030001010700
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
8201000201028100018201000204020000
|
||||
8101000300010181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
070181000204020000
|
||||
07010700
|
||||
0f01
|
||||
0f01
|
||||
|
||||
%
|
||||
% Compression made this file 20.28% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: arrow.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
8102001900
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030106018100010c0101020000
|
||||
82000301060101000c0101020000
|
||||
82000301060102000b0101020000
|
||||
82000301060103000a0101020000
|
||||
8200030106010400090101020000
|
||||
8200030106010500080101020000
|
||||
8200030106010600070101020000
|
||||
8200030106010700060101020000
|
||||
8200030106010400090101020000
|
||||
8200030106010100810100810001080101020000
|
||||
82000301060181000101010100080101020000
|
||||
820003010a010100080101020000
|
||||
820003010b010100070101020000
|
||||
820003010b010100070101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
1b00
|
||||
|
||||
%
|
||||
% Compression made this file 13.95% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 225 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: bmpbuttn.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81020018000002
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030103010c00040101020000
|
||||
8200030102018100010b01810001020101020000
|
||||
82000301020181000101018100010201010002010100020101020000
|
||||
8200030102018100010101810001010181000182010001810100810001010101020000
|
||||
82000301020185000100010001010181000182010001810100810001010101020000
|
||||
8200030102018400010001008100010101010002010100020101020000
|
||||
82000301020183000100018201000106010100020101020000
|
||||
82000301020182000100820001000900020101020000
|
||||
820003010201810001010181000107010100020101020000
|
||||
82000301020181000101018100010101010003010100020101020000
|
||||
8200030103010e00020101020000
|
||||
8200030104010c00030101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
81020018000002
|
||||
|
||||
%
|
||||
% Compression made this file 18.45% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 216 B |
@@ -0,0 +1,197 @@
|
||||
\chapter{Introduction}\label{introduction}
|
||||
\pagenumbering{arabic}%
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
The wxWindows Dialog Editor is a tool for creating dialog resource files, in {\tt .wxr} format.
|
||||
It differs from wxBuilder in the following respectes:
|
||||
|
||||
\begin{enumerate}\itemsep=0pt
|
||||
\item Scope. It is written for dialog editing only, and is therefore more convenient than wxBuilder for this purpose.
|
||||
\item File format. Dialog editor reads and writes wxWindows resource files (extension {\tt .wxr}) and has
|
||||
no independent file format.
|
||||
\item Robustness. It is written in a more principled way than wxBuilder, and is less ambitious.
|
||||
\item Ease of use. Windows are edited using the mouse or via consistent {\it property editors}, which
|
||||
provide immediate visual feedback of changed properties.
|
||||
\end{enumerate}
|
||||
|
||||
Dialog Editor should be compiled and used with wxWindows 1.65 or later.
|
||||
|
||||
\section{Current status}
|
||||
|
||||
Dialog Editor currently runs under MS Windows. It has yet to
|
||||
be tested under Motif and XView: see \helpref{Technical notes}{technotes} for a discussion
|
||||
of what needs to be done.
|
||||
|
||||
\section{Future developments}
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item XView and Motif versions.
|
||||
\item It would be nice to have a dialog browser, showing thumbnails of
|
||||
all dialogs in a particular directory.
|
||||
\item Maybe add a menubar editor (from wxBuilder).
|
||||
\item Maybe convert Windows .rc files.
|
||||
\end{itemize}
|
||||
|
||||
\chapter{Commands}\label{commands}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
\section{Dialog editor menu bar}
|
||||
|
||||
\subsection{File menu}
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{New project}{Creates a new project (clears index and resets project name).}
|
||||
\twocolitem{New dialog}{Creates a new dialog resource.}
|
||||
\twocolitem{Open}{Opens an existing resource file.}
|
||||
\twocolitem{Save}{Saves the current resources.}
|
||||
\twocolitem{Save as}{Saves the current resources in a named file.}
|
||||
\twocolitem{Clear}{Clears the current resources.}
|
||||
\twocolitem{Exit}{Exit the program.}
|
||||
\end{twocollist}
|
||||
|
||||
\subsection{Edit menu}
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{Recreate}{Recreates the currently selected panel item from the underlying resource. This may be necessary
|
||||
to regenerate items that cannot be changed dynamically, and which have got out of sync with the displayed
|
||||
item.}
|
||||
\twocolitem{Delete}{Deletes the currently selected resource.}
|
||||
\twocolitem{Toggle edit/test mode}{Toggles from edit to test mode, and vice versa. Edit mode is used for editing
|
||||
dialogs, test mode allows panel items to be manipulated as they will appear to the user.}
|
||||
\end{twocollist}
|
||||
|
||||
\subsection{Help menu}
|
||||
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{Help topics}{Displays on-line help at the contents page.}
|
||||
\twocolitem{About}{Displays an dialog showing the Dialog Editor version and author.}
|
||||
\end{twocollist}
|
||||
|
||||
\latexonly{\newpage}
|
||||
\section{Command toolbar}
|
||||
|
||||
The command toolbar consists of the following tools:
|
||||
|
||||
\begin{twocollist}%\itemsep=0pt
|
||||
\twocolitem{\icon{new.eps}{New}}{Clears the project.}
|
||||
\twocolitem{\icon{open.eps}{Open}}{Opens an existing resource file.}
|
||||
\twocolitem{\icon{save.eps}{Save}}{Saves the current resources.}
|
||||
\twocolitem{\icon{vert.eps}{Horizontal align}}{Aligns the centre of the selected items horizontally.}
|
||||
\twocolitem{\icon{alignt.eps}{Horizontal top-align}}{Aligns the top sides of the selected items horizontally.}
|
||||
\twocolitem{\icon{alignb.eps}{Horizontal bottom-align}}{Aligns the bottom sides of the selected items horizontally.}
|
||||
\twocolitem{\icon{horiz.eps}{Vertical align}}{Aligns the centre of the selected items vertically.}
|
||||
\twocolitem{\icon{alignl.eps}{Vertical left-align}}{Aligns the left sides of the selected items vertically.}
|
||||
\twocolitem{\icon{alignr.eps}{Vertical right-align}}{Aligns the right sides of the selected items vertically.}
|
||||
\twocolitem{\icon{copysize.eps}{Copy size}}{Copies the size of the first selected item to the subsequently selected item(s).}
|
||||
\twocolitem{\icon{tofront.eps}{To front}}{Puts the selected item(s) to the front of the display list.}
|
||||
\twocolitem{\icon{toback.eps}{To back}}{Puts the selected item(s) to the back of the display list.}
|
||||
\twocolitem{\icon{help.eps}{Help}}{Invokes Dialog Editor help.}
|
||||
\end{twocollist}
|
||||
|
||||
\latexonly{\newpage}
|
||||
\section{Tool palette}
|
||||
|
||||
The tool palette is used to select a type of panel item to create on the dialog.
|
||||
To create a new panel item, select a tool with left-click, then left-click on the dialog to
|
||||
window. Select the pointer tool to use left-click for selecting and deselecting
|
||||
items.
|
||||
|
||||
The tool palette consists of the following tools.
|
||||
|
||||
\begin{twocollist}%\itemsep=0pt
|
||||
\twocolitem{\icon{arrow.eps}{Pointer}}{Click this to select/deselect items on a dialog.}
|
||||
\twocolitem{\icon{message.eps}{Message}}{Text message item.}
|
||||
\twocolitem{\icon{picture.eps}{Bitmap message}}{Bitmap message item.}
|
||||
\twocolitem{\icon{button.eps}{Button}}{Text button item.}
|
||||
\twocolitem{\icon{bmpbuttn.eps}{Bitmap button}}{Bitmap button item.}
|
||||
\twocolitem{\icon{check.eps}{Checkbox}}{Checkbox item.}
|
||||
\twocolitem{\icon{radio.eps}{Radiobox}}{Radiobox item.}
|
||||
\twocolitem{\icon{listbox.eps}{Listbox}}{Listbox item.}
|
||||
\twocolitem{\icon{choice.eps}{Choice}}{Choice item.}
|
||||
\twocolitem{\icon{text.eps}{Text}}{Single-line text item.}
|
||||
\twocolitem{\icon{mtext.eps}{Multitext}}{Multi-line text item.}
|
||||
\twocolitem{\icon{slider.eps}{Slider}}{Slider item.}
|
||||
\twocolitem{\icon{group.eps}{Groupbpx}}{Groupbox item.}
|
||||
\twocolitem{\icon{gauge.eps}{Gauge}}{Gauge item.}
|
||||
\twocolitem{\icon{scroll.eps}{Scrollbar}}{Scrollbar item.}
|
||||
\end{twocollist}
|
||||
|
||||
\section{Resource list}
|
||||
|
||||
The resource list shows a list of the dialogs, panel items and bitmaps currently loaded
|
||||
in Dialog Editor. Double-clicking on a dialog item shows the associated dialog box.
|
||||
|
||||
\chapter{Procedures}\label{procedures}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
\section{Running Dialog Editor}
|
||||
|
||||
To run Dialog Editor under Windows, click on the Program Manager or Explorer icon.
|
||||
Under UNIX, run from the command line.
|
||||
|
||||
The main window shows a menu bar, command toolbar, tool palette, resource list, and
|
||||
status line.
|
||||
|
||||
\section{Creating a dialog}
|
||||
|
||||
To create a new dialog, click on the {\bf File: New} menu item, or equivalent
|
||||
toolbar button. A dialog will appear. To put a panel item on the dialog, left-click
|
||||
on the appropriate palette icon and then left-click on the dialog. A new item
|
||||
will appear at the place you clicked.
|
||||
|
||||
You can edit any panel item or dialog by control-left clicking. A property editor
|
||||
will appear, allowing any property to be selected and edited (see \helpref{Using property editors}{propeditors}).
|
||||
You can also edit items by right-clicking to show a menu, and then selecting {\it Edit properties}.
|
||||
|
||||
To move a panel item, drag the item with the left mouse button, or edit
|
||||
the position values in the property editor. To resize a panel item, you
|
||||
can either select it by left-clicking and then dragging on a selection
|
||||
handle, or edit the size values in the property editor.
|
||||
|
||||
You can delete items from the right-click menu, or by selecting the item and
|
||||
choosing {\bf Edit: Delete} from the menu bar.
|
||||
|
||||
\section{Using property editors}\label{propeditors}
|
||||
|
||||
Property editors consist of a list of properties and current values, plus controls at the top of
|
||||
the editor. If the property is of an appropriate type, you can edit the value directly in the
|
||||
text field, and confirm or cancel the value using the two buttons to the left of it.
|
||||
If the property has a predefined range of values, such as labelFontFamily, you can
|
||||
see a list of permissable values by clicking on the button labelled with an ellipsis symbol ({\bf ...}).
|
||||
This will show a listbox with possible values and current selection. You may also be able
|
||||
to cycle through values by double-clicking the value in the listbox.
|
||||
|
||||
Properties may have special editors appropriate to the type. Filename properties invoke
|
||||
the file selector, and properties containing list of user-definable strings use a
|
||||
string editor.
|
||||
|
||||
When you change a property value, this value is immediately reflected in
|
||||
the dialog or panel item. If the item allows this value to be changed
|
||||
dynamically, the relevant wxWindows function will be called internally
|
||||
to effect the change. If the value cannot be changed dynamically, the
|
||||
item will be destroyed and re-created, which means that there will be
|
||||
more flickering associated with some kinds of property changes than
|
||||
others.
|
||||
|
||||
\section{Saving and loading files}
|
||||
|
||||
Use {\it File: Save} and {\it File: Save as} or the equivalent toolbar button
|
||||
to save the current dialog(s) in a wxWindows resource file (extension {\tt .wxr}).
|
||||
|
||||
The {\tt .wxr} file can be used directly in a wxWindows program, if
|
||||
wxWindows resources have been enabled when building the wxWindows library.
|
||||
These files can be loaded dynamically, or included directly into program source
|
||||
with a \verb$#include$ directive. See the wxWindows user manual for further details.
|
||||
|
||||
\section{Multi-platform development}
|
||||
|
||||
{\tt .wxr} files generated on one environment (e.g. Windows) can be used in another (e.g. Motif).
|
||||
However, because the same panel item can have different sizes on different GUIs,
|
||||
the user should be cautious in assuming that one resource file will work for all
|
||||
platforms. It may be better to plan to conditionally include or load different
|
||||
resource files for different platforms, with spacing modified to suit each
|
||||
environment.
|
||||
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 438 B |
@@ -0,0 +1,15 @@
|
||||
\chapter{Bugs}\label{bugs}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
Version 1.0
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item No XView or Motif versions yet.
|
||||
\item In Watcom-compiled 32-bit Windows version, bitmap buttons and messages
|
||||
don't work properly.
|
||||
\item Some panel item properties missing, e.g. wxPASSWORD, wxREADONLY.
|
||||
\item When dragging a selected item, other selected items should follow (to be
|
||||
consistent with convention), but don't.
|
||||
\item wxSlider sizing a bit broken: a wxWindows problem.
|
||||
\end{itemize}
|
||||
|
After Width: | Height: | Size: 138 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: button.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81020018000002
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030103010c00040101020000
|
||||
8200030102018100010b01810001020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030102018100010b010100020101020000
|
||||
8200030103010e00020101020000
|
||||
8200030104010c00030101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
81020018000002
|
||||
|
||||
%
|
||||
% Compression made this file 15.35% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 201 B |
@@ -0,0 +1,63 @@
|
||||
\chapter{Change log}\label{changes}
|
||||
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
March 15th 1997, Version 1.7
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Added fix to wx\_rprop.cpp to avoid Fafa bitmap buttons growing every time the
|
||||
button edited.
|
||||
\item Added fix to wx\_resed.cpp, case wxID\_EXIT, to clean up properly on exit, avoiding double deletion of wxBitmap.
|
||||
\end{itemize}
|
||||
|
||||
May 6th 1996, Version 1.6
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Added panel editing in addition to dialog box editing.
|
||||
\item Cured some bugs with changing window styles such as wxUSER\_COLOURS and label position.
|
||||
\item Now preserves syntax of bitmap resources in wxr files.
|
||||
\end{itemize}
|
||||
|
||||
March 1996, Version 1.5
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Changed behaviour of New tool, and changed File menu to include New project and New dialog items.
|
||||
Behaviour should be more standard now.
|
||||
\end{itemize}
|
||||
|
||||
March 1st 1996, Version 1.4
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Items (but not dialogs) can now have duplicate names.
|
||||
\item Can pass a filename to the program from the command line.
|
||||
\item Cured bizarre error caused by a Windows combobox sending
|
||||
a fake left-mouse-up error when losing the focus (switching to another
|
||||
window). This fix will be in wxWindows 1.66.
|
||||
\item Rewritten code to use only the new type system, and to take account of
|
||||
of new window style partitioning (flags for different items may have the same value).
|
||||
Again, wxWindows 1.66 will have the new style values, to make room for more window
|
||||
styles.
|
||||
\end{itemize}
|
||||
|
||||
January 28th 1996, Version 1.2
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Now starts off in non-user-colour mode under Windows
|
||||
\item Dragging item drags other selected items
|
||||
\item wxMessage saves size correctly, if used in conjunction with wxWin 1.66
|
||||
\end{itemize}
|
||||
|
||||
January 19th 1996, Version 1.1
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item Cured crash bug when quitting dialog window
|
||||
\item Added Clear menu item
|
||||
\item Added window type name to property window
|
||||
\end{itemize}
|
||||
|
||||
December 19th 1995, Version 1.0
|
||||
|
||||
\begin{itemize}\itemsep=0pt
|
||||
\item First release.
|
||||
\end{itemize}
|
||||
|
||||
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: check.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81020018000002
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030103010c00040101020000
|
||||
820003010301010008010100040101020000
|
||||
820003010301830001000105018300010001030101020000
|
||||
82000301030181000182010001030181000182010001030101020000
|
||||
820003010301810001010181000101018100010101810001030101020000
|
||||
820003010301810001020183000100010201810001030101020000
|
||||
82000301030181000103018100010301810001030101020000
|
||||
820003010301810001020183000100010201810001030101020000
|
||||
820003010301810001010181000101018100010101810001030101020000
|
||||
82000301030181000182010001030181000182010001030101020000
|
||||
820003010301830001000105018300010001030101020000
|
||||
820003010301010008010100040101020000
|
||||
8200030103010c00040101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
81020018000002
|
||||
|
||||
%
|
||||
% Compression made this file 18.88% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 215 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: choice.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81020018000002
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
820003018101001200810102810200
|
||||
82000301820100010a01010002010100810102810200
|
||||
82000301820100010a0102008101000100810102810200
|
||||
82000301820100010a010600810102810200
|
||||
820003018101001200810102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
8200030101018100010901810001820100018301000102810200
|
||||
82000301010182000100050002018200010001008301000102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
8200030101018200010007008101000500810102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
82000301010182000100060001018200010001008301000102810200
|
||||
8200030101018100010901810001820100018301000102810200
|
||||
8200030101018100010901810001030182000102810200
|
||||
8200030101011200810102810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
81020018000002
|
||||
|
||||
%
|
||||
% Compression made this file 20.11% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 217 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,161 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: copysize.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 389 270 404
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 389 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
16 15 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 9 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 ffff00
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
16 15 8 % dimensions of data
|
||||
[16 0 0 -15 0 15] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
0f01
|
||||
090081010001000101
|
||||
810002060281000101018100010001
|
||||
810002060281000101018100010001
|
||||
8100020602820001000300
|
||||
810002060281000181010001000001
|
||||
090002018100010001
|
||||
0f01
|
||||
03018b000100010001000100010001
|
||||
0f01
|
||||
0301810001810100040082010001
|
||||
060181000202028100010101
|
||||
0301810001810100040082010001
|
||||
0f01
|
||||
03018b000100010001000100010001
|
||||
|
||||
%
|
||||
% Compression made this file 21.11% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 132 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: dialog.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 15 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 bf0000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81030018000003
|
||||
8100041704810300
|
||||
82000402150201030000
|
||||
820004028102011101010201030000
|
||||
8200040294020100010001000100010001000100010001000102810203810300
|
||||
820004028102011001810002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
82000402820200028102000b000102810002810203810300
|
||||
820004028202000282020004090481000282020002810203810300
|
||||
820004028202000282020004090481000282020002810203810300
|
||||
820004028202000282020004090481000282020002810203810300
|
||||
82000402820200028102000b000102810002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
8200040283020002000500810200050082020002810203810300
|
||||
820004028402000200030303830002000303038300020002810203810300
|
||||
820004028402000200030303830002000303038300020002810203810300
|
||||
8200040283020002000500810200050082020002810203810300
|
||||
82000402820200020f02810002810203810300
|
||||
820004028102001100010201030000
|
||||
82000402150201030000
|
||||
82000402150201030000
|
||||
82000402150201030000
|
||||
8200040317030000
|
||||
81000318030000
|
||||
81030018000003
|
||||
|
||||
%
|
||||
% Compression made this file 21.77% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 233 B |
@@ -0,0 +1,17 @@
|
||||
[OPTIONS]
|
||||
BMROOT=d:\wx2\utils\dialoged\docs ; Assume that bitmaps are where the source is
|
||||
TITLE=Dialog Editor Manual
|
||||
CONTENTS=Contents
|
||||
COMPRESS=HIGH
|
||||
|
||||
[FILES]
|
||||
dialoged.rtf
|
||||
|
||||
[CONFIG]
|
||||
CreateButton("Up", "&Up", "JumpId(`dialoged.hlp', `Contents')")
|
||||
BrowseButtons()
|
||||
|
||||
[MAP]
|
||||
|
||||
[BITMAPS]
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}
|
||||
\latexonly{\newcommand{\icon}[2]{\image{1cm;0cm}{#1}}}
|
||||
\input psbox.tex
|
||||
% Remove this for processing with dvi2ps instead of dvips
|
||||
%\special{!/@scaleunit 1 def}
|
||||
\parskip=10pt
|
||||
\parindent=0pt
|
||||
\title{User Manual for wxWindows Dialog Editor Version 1.7}
|
||||
\winhelponly{\author{by Julian Smart, A.I. Applications Institute, University of Edinburgh\\}}
|
||||
\winhelpignore{\author{Julian Smart\\Artificial Intelligence Applications Institute\\
|
||||
University of Edinburgh\\EH1 1HN}
|
||||
\date{March 1997}
|
||||
}
|
||||
\makeindex
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\pagestyle{fancyplain}
|
||||
\bibliographystyle{plain}
|
||||
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
\pagenumbering{roman}
|
||||
\tableofcontents
|
||||
|
||||
\chapter*{Copyright notice}
|
||||
\setheader{{\it COPYRIGHT}}{}{}{}{}{{\it COPYRIGHT}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
|
||||
\begin{center}
|
||||
Copyright (c) 1996 Artificial Intelligence Applications Institute,
|
||||
The University of Edinburgh\\
|
||||
\end{center}
|
||||
|
||||
Permission to use, copy, modify, and distribute this software and its
|
||||
documentation for any purpose is hereby granted without fee, provided that the
|
||||
above copyright notice, author statement and this permission notice appear in
|
||||
all copies of this software and related documentation.
|
||||
|
||||
THE SOFTWARE IS PROVIDED ``AS-IS'' AND WITHOUT WARRANTY OF ANY KIND, EXPRESS,
|
||||
IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
IN NO EVENT SHALL THE ARTIFICIAL INTELLIGENCE APPLICATIONS INSTITUTE OR THE
|
||||
UNIVERSITY OF EDINBURGH BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR
|
||||
CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF
|
||||
DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
|
||||
THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
\input{body.tex}
|
||||
\input{classes.tex}
|
||||
\input{changes.tex}
|
||||
\input{bugs.tex}
|
||||
\input{tech.tex}
|
||||
|
||||
\newpage
|
||||
|
||||
\addcontentsline{toc}{chapter}{Index}
|
||||
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}%
|
||||
\setfooter{\thepage}{}{}{}{}{\thepage}%
|
||||
\printindex
|
||||
\end{document}
|
||||
|
After Width: | Height: | Size: 164 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: gauge.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 254 375 282 403
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
254 375 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 15 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 bf0000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81030018000003
|
||||
8100041704810300
|
||||
82000402150201030000
|
||||
82000402150201030000
|
||||
8200040204020a00050201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100020702810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204028100010701810002040201030000
|
||||
8200040204020a00050201030000
|
||||
82000402150201030000
|
||||
82000402150201030000
|
||||
8200040317030000
|
||||
81000318030000
|
||||
81030018000003
|
||||
|
||||
%
|
||||
% Compression made this file 18.92% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||
|
After Width: | Height: | Size: 212 B |
|
After Width: | Height: | Size: 566 B |
@@ -0,0 +1,174 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: group.eps
|
||||
%%Creator: XV Version 2.20 Rev: 4/24/92 - by John Bradley
|
||||
%%BoundingBox: 292 382 320 410
|
||||
%%Pages: 1
|
||||
%%DocumentFonts:
|
||||
%%EndComments
|
||||
%%EndProlog
|
||||
|
||||
%%Page: 1 1
|
||||
|
||||
% remember original state
|
||||
/origstate save def
|
||||
|
||||
% build a temporary dictionary
|
||||
20 dict begin
|
||||
|
||||
% lower left corner
|
||||
292 382 translate
|
||||
|
||||
% size of image (on paper, in 1/72inch coords)
|
||||
28 28 scale
|
||||
|
||||
% define 'colorimage' if it isn't defined
|
||||
% ('colortogray' and 'mergeprocs' come from xwd2ps
|
||||
% via xgrab)
|
||||
/colorimage where % do we know about 'colorimage'?
|
||||
{ pop } % yes: pop off the 'dict' returned
|
||||
{ % no: define one
|
||||
/colortogray { % define an RGB->I function
|
||||
/rgbdata exch store % call input 'rgbdata'
|
||||
rgbdata length 3 idiv
|
||||
/npixls exch store
|
||||
/rgbindx 0 store
|
||||
/grays npixls string store % str to hold the result
|
||||
0 1 npixls 1 sub {
|
||||
grays exch
|
||||
rgbdata rgbindx get 20 mul % Red
|
||||
rgbdata rgbindx 1 add get 32 mul % Green
|
||||
rgbdata rgbindx 2 add get 12 mul % Blue
|
||||
add add 64 idiv % I = .5G + .31R + .18B
|
||||
put
|
||||
/rgbindx rgbindx 3 add store
|
||||
} for
|
||||
grays
|
||||
} bind def
|
||||
|
||||
% Utility procedure for colorimage operator.
|
||||
% This procedure takes two procedures off the
|
||||
% stack and merges them into a single procedure.
|
||||
|
||||
/mergeprocs { % def
|
||||
dup length
|
||||
3 -1 roll
|
||||
dup
|
||||
length
|
||||
dup
|
||||
5 1 roll
|
||||
3 -1 roll
|
||||
add
|
||||
array cvx
|
||||
dup
|
||||
3 -1 roll
|
||||
0 exch
|
||||
putinterval
|
||||
dup
|
||||
4 2 roll
|
||||
putinterval
|
||||
} bind def
|
||||
|
||||
/colorimage { % def
|
||||
pop pop % remove 'false 3' operands
|
||||
{colortogray} mergeprocs
|
||||
image
|
||||
} bind def
|
||||
} ifelse % end of 'false' case
|
||||
|
||||
|
||||
|
||||
% define the colormap
|
||||
/cmap 12 string def
|
||||
|
||||
|
||||
% load up the colormap
|
||||
currentfile cmap readhexstring
|
||||
000000 c0c0c0 808080 ffffff
|
||||
pop pop % lose return values from readhexstring
|
||||
|
||||
|
||||
% rlecmapimage expects to have 'w h bits matrix' on stack
|
||||
/rlecmapimage {
|
||||
/buffer 1 string def
|
||||
/rgbval 3 string def
|
||||
/block 384 string def
|
||||
|
||||
% proc to read a block from file, and return RGB data
|
||||
{ currentfile buffer readhexstring pop
|
||||
/bcount exch 0 get store
|
||||
bcount 128 ge
|
||||
{ % it's a non-run block
|
||||
0 1 bcount 128 sub
|
||||
{ currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in color map
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
% and put it in position i*3 in block
|
||||
block exch 3 mul rgbval putinterval
|
||||
} for
|
||||
block 0 bcount 127 sub 3 mul getinterval
|
||||
}
|
||||
|
||||
{ % else it's a run block
|
||||
currentfile buffer readhexstring pop pop
|
||||
|
||||
% look up value in colormap
|
||||
/rgbval cmap buffer 0 get 3 mul 3 getinterval store
|
||||
|
||||
0 1 bcount { block exch 3 mul rgbval putinterval } for
|
||||
|
||||
block 0 bcount 1 add 3 mul getinterval
|
||||
} ifelse
|
||||
} % end of proc
|
||||
false 3 colorimage
|
||||
} bind def
|
||||
|
||||
|
||||
28 28 8 % dimensions of data
|
||||
[28 0 0 -28 0 28] % mapping matrix
|
||||
rlecmapimage
|
||||
|
||||
81020018000002
|
||||
8100031703810200
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
820003010301880001000100010001000100060101020000
|
||||
82000301040181000184010001000182010001060101020000
|
||||
820003018101008100018201000101018100018201000101010300010101020000
|
||||
82000301820100018401000100018201000181010001000301810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
82000301820100010f01810001810102810200
|
||||
820003018101001100010101020000
|
||||
82000301150101020000
|
||||
82000301150101020000
|
||||
8200030217020000
|
||||
81000218020000
|
||||
81020018000002
|
||||
|
||||
%
|
||||
% Compression made this file 20.15% of the uncompressed size.
|
||||
%
|
||||
|
||||
|
||||
showpage
|
||||
|
||||
% stop using temporary dictionary
|
||||
end
|
||||
|
||||
% restore original state
|
||||
origstate restore
|
||||
|
||||
%%Trailer
|
||||