; ; mbox.sh ; ; Handling for monologue boxes ; ; © 1994-1998 Straylight ; ;----- Licensing note ------------------------------------------------------- ; ; This file is part of Straylight's Sapphire library. ; ; Sapphire is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2, or (at your option) ; any later version. ; ; Sapphire is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with Sapphire. If not, write to the Free Software Foundation, ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;----- Overview ------------------------------------------------------------- ; ; Functions provided: ; ; mbox [ :LNOT::DEF:mbox__dfn GBLL mbox__dfn ; --- mbox --- ; ; On entry: R0 == dialogue box handle ; R1 == pointer to help message tag for dialogue box ; R2 == icon handle for embedded title ; ; On exit: -- ; ; Use: Displays a `monologue' box (i.e. a dialogue box which just ; displays information to the user) on the screen and sets up ; an event handler for it. The dialogue box is destroyed when ; it is closed. ; ; If the dialogue box does not have a title bar (read by ; dbox_hasTitle) then R2 is used to give the monologue box ; an embedded title. R2 is not used otherwise, and thus may ; safely contain any old rubbish. IMPORT mbox ] ;----- That's all, folks ---------------------------------------------------- END