home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 2
/
AUCD2.iso
/
internet
/
acornet.spk
/
!Acornet
/
Utils
/
!NetConfig
/
Docs
/
Wimp
< prev
Wrap
Text File
|
1995-06-11
|
1KB
|
22 lines
The wimp module deals with the wimp, windows and icons. Any similarity to
DeskLib is entirely non-coincidental.
Summary:
buf% 1K buffer for general use, including Wimp data
PROCwimp_initialise(name$) Initialise as a WIMP task
PROCwimp_poll(null%) Wait for next WIMP event. If null% is TRUE
then null events are included: sets wimp_null
PROCwimp_reply(len%) Reply to message in buf%
PROCwimp_dragbox(blk%,fn$,arg%) Start a Wimp_DragBox using data in
blk%, invoking callback function when done
FNwindow_create(eventfn$) Create window from buf%, with event function
PROCwindow_delete(window%) Delete a window
PROCwindow_show_at(window%,x%,y%) Display a window. If x%=-1, at same
place as before; if x%=-2, centred
PROCicon_settext(window%,icon%,value$) Update text icon
FNicon_gettext(window%,icon%) Fetch icon text
PROCicon_setselect(window%,icon%,flag%) Update icon selected flag
FNicon_getselect(window%,icon%) Test if icon selected
FNscreen_xmax Return screen width in OS units
FNscreen_ymax Return screen height in OS units