; ; _cs.kernel.sh ; ; Colour selector kernel routines ; ; © 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: ; ; cs_colChange ; cs_immediate ; cs_resolution ; --- cs_colChange --- ; ; On entry: R10 == currently selected dialogue box ; ; On exit: -- ; ; Use: Updates the colour selector's colour display. IMPORT cs_colChange ; --- cs_immediate --- ; ; On entry: R10 == currently selected dialogue box ; ; On exit: CS if immediate operations are enabled, or CC ; ; Use: Informs the caller whether sliders and arrows should cause ; immediate update of the dialogue box, or wait until the ; operation has completed. IMPORT cs_immediate ; --- cs_resolution --- ; ; On entry: R10 == currently selected dialogue box ; ; On exit: R0 == quality value, from 0 (pixel) to 3 (grotty) ; ; Use: Returns the current resolution value. This is interpreted ; in a model-dependent manner. IMPORT cs_resolution ;----- That's all, folks ---------------------------------------------------- END