aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/iis/lib/ids.com
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/images/tv/iis/lib/ids.com
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/images/tv/iis/lib/ids.com')
-rw-r--r--pkg/images/tv/iis/lib/ids.com25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/images/tv/iis/lib/ids.com b/pkg/images/tv/iis/lib/ids.com
new file mode 100644
index 00000000..cd6bc086
--- /dev/null
+++ b/pkg/images/tv/iis/lib/ids.com
@@ -0,0 +1,25 @@
+# IDS common. A common is necessary since there is no graphics descriptor
+# in the argument list of the kernel procedures. The data structures
+# are designed along the lines of FIO: a small common is used to hold the time
+# critical data elements, and an auxiliary dynamically allocated descriptor is
+# used for everything else.
+
+pointer i_kt # kernel image display descriptor
+pointer i_tty # graphcap descriptor
+int i_in, i_out # input file, output file
+int i_xres, i_yres # desired device resolution
+long i_frsize # frame size in chars
+short i_maxframes, i_maxgraph # max num. of image frames, gr. planes
+int i_linemask # current linemask
+int i_linewidth # current line width
+int i_linecolor # current line color
+short i_pt_x, i_pt_y # current plot point, device coords
+int i_csize # text character size
+int i_font # text font
+bool i_snap # true if a snap in progress
+bool i_image # frame/bitplane data is for image
+char i_device[SZ_IDEVICE] # force output to named device
+
+common /idscom/ i_kt, i_tty, i_in, i_out, i_xres, i_yres, i_frsize,
+ i_maxframes, i_maxgraph, i_linemask, i_linewidth, i_linecolor,
+ i_pt_x, i_pt_y, i_csize, i_font, i_snap, i_image, i_device