|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U t
Length: 1212 (0x4bc)
Types: TextFile
Notes: UNIX file
Names: »track.h«
└─⟦7decd0fac⟧ Bits:30004155/disk4.imd SW95713I 386/ix Software Development System Rel. 2.0
└─⟦7decd0fac⟧ UNIX Filesystem
└─⟦this⟧ »sd/new/usr/include/tam/track.h«
/* Copyright (c) 1984, 1986, 1987, 1988 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)track.h 2.3 - 88/05/27"
#ifndef _TRACK
#define _TRACK
#include "sys/window.h"
#define T_BEGIN 0x1
#define T_INPUT 0x2
#define T_END 0x4
#define TERR_OK 0
#define TERR_SYS -1 /* same as EOF in <stdio.h> */
#define TERR_IOCTL -2
#define TERR_WRITE -3 /* if a write fails */
struct icon { /* Put here to keep lint quite */
int a;
};
typedef struct
{
unsigned short ti_x; /* x position */
unsigned short ti_y; /* y position */
unsigned short ti_w; /* width */
unsigned short ti_h; /* height */
struct icon *ti_icon; /* icon */
int ti_val; /* user value */
} tkitem_t;
typedef struct
{
char t_flags; /* flags */
char t_scalex; /* x & y scaling */
char t_scaley;
short t_lastx;
short t_lasty;
struct icon *t_bicon; /* background icon */
struct umdata t_umdata; /* save the mouse data */
tkitem_t *t_tkitems; /* ptr to items */
tkitem_t *t_curi; /* ptr to current item */
} track_t;
#endif /*_TRACK*/