4 ; Implementation of arrow icons as dbx controls
6 ; © 1994-1998 Straylight
9 ;----- Licensing note -------------------------------------------------------
11 ; This file is part of Straylight's Sapphire library.
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)
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.
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.
27 ;----- Overview -------------------------------------------------------------
39 [ :LNOT::DEF:arrow__dfn
44 ; Control data: +0 == increment when clicked with Select
51 ; Use: Control type for an arrow button.
55 ;----- Macros and symbols ---------------------------------------------------
58 $label ARROW $icon,$inc
60 $label CONTROL $icon,arrow,,0
66 ; --- Arrow event codes ---
68 arrow_event EQU &80000002 ;Click on an arrow button
70 ;R2 == increment value or 0
74 ;----- That's all, folks ----------------------------------------------------