Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ whotspot_ge(3W) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

whotspot_create(3W)

whotspot_delete(3W)

whotspot_set(3W)

winput_read(3W)

wsetsigmask(3W)

weventpoll(3W)

WHOTSPOT_GET(3W)

Series 300 Only

NAME

whotspot_get − get hotspot data

SYNOPSIS

int whotspot_get(fd,hotspot_id,bmask,x,y,w,h,event_byte);
int fd;
int hotspot_id;
int *bmask;
int *x,*y,*w,*h;
int *event_byte;

DESCRIPTION

fd is an integer file descriptor for an opened graphics window type device interface. 

hotspot_id
is the identifier for an existing hotspot.

bmask
is a pointer to the button bit mask for activating the hotspot.

x,y are pointers to the coordinates of the upper left corner of the rectangular hotspot region in device units relative to the upper left corner of the virtual raster of the window. 

w,h are pointers to the width and height of the rectangular hotspot region in device units. 

event_byte
is a pointer to the value for event_byte for this hotspot. 

DISCUSSION

This call inquires the data of the hotspot identified by hotspot_id for the window specified by the opened fd. 

HARDWARE DEPENDENCIES

Series 500:
Hotspot routines (whotspot_∗) are not supported on Series 500; they work only on Series 300.

SEE ALSO

whotspot_create(3W), whotspot_delete(3W), whotspot_set(3W), winput_read(3W), wsetsigmask(3W), weventpoll(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026