chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / sh / _colSelect / kernel
1 ;
2 ; _cs.kernel.sh
3 ;
4 ; Colour selector kernel routines
5 ;
6 ; © 1994-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's Sapphire library.
12 ;
13 ; Sapphire 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 ; Sapphire 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 Sapphire.  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 ;   cs_colChange
32 ;   cs_immediate
33 ;   cs_resolution
34
35 ; --- cs_colChange ---
36 ;
37 ; On entry:     R10 == currently selected dialogue box
38 ;
39 ; On exit:      --
40 ;
41 ; Use:          Updates the colour selector's colour display.
42
43                 IMPORT  cs_colChange
44
45 ; --- cs_immediate ---
46 ;
47 ; On entry:     R10 == currently selected dialogue box
48 ;
49 ; On exit:      CS if immediate operations are enabled, or CC
50 ;
51 ; Use:          Informs the caller whether sliders and arrows should cause
52 ;               immediate update of the dialogue box, or wait until the
53 ;               operation has completed.
54
55                 IMPORT  cs_immediate
56
57 ; --- cs_resolution ---
58 ;
59 ; On entry:     R10 == currently selected dialogue box
60 ;
61 ; On exit:      R0 == quality value, from 0 (pixel) to 3 (grotty)
62 ;
63 ; Use:          Returns the current resolution value.  This is interpreted
64 ;               in a model-dependent manner.
65
66                 IMPORT  cs_resolution
67
68 ;----- That's all, folks ----------------------------------------------------
69
70                 END