Initial revision
[ssr] / StraySrc / Sculptrix / sculptrix / sh / redraw
1 ;
2 ; redraw.sh
3 ;
4 ; Redrawing windows and icons
5 ;
6 ; © 1995-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Sculptrix.
12 ;
13 ; Sculptrix is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; Sculptrix is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with Sculptrix. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Overview -------------------------------------------------------------
28 ;
29 ; Functions provided:
30 ;
31 ; redraw_window
32 ; redraw_icon
33 ; redraw_group
34 ; redraw_update
35
36 [ :LNOT::DEF:redraw__dfn
37 GBLL redraw__dfn
38
39 ; --- redraw_window ---
40 ;
41 ; On entry: R1 == pointer to redraw block
42 ;
43 ; On exit: May return an error
44 ;
45 ; Use: Redraws all the icons in a window.
46
47 IMPORT redraw_window
48
49 ; --- redraw_icon ---
50 ;
51 ; On entry: R0 == pointer to icon block
52 ; R1 == pointer to redraw block
53 ;
54 ; On exit: May return an error
55 ;
56 ; Use: Redraws a single icon.
57
58 IMPORT redraw_icon
59
60 ; --- redraw_group ---
61 ;
62 ; On entry: R0 == pointer to icon block
63 ; R1 == pointer to redraw block
64 ; R2 == `border type' (ignored in Sculptrix 2.00)
65 ; R3 == pointer to title string
66 ;
67 ; On exit: --
68 ;
69 ; Use: Plots a group box.
70
71 IMPORT redraw_group
72
73 ; --- redraw_update ---
74 ;
75 ; On entry: R0 == window handle
76 ; R1 == icon handle
77 ;
78 ; On exit: --
79 ;
80 ; Use: Updates an icon.
81
82 IMPORT redraw_update
83
84 ]
85
86 ;----- That's all, folks ----------------------------------------------------
87
88 END