/* * gIcons.h * * Symbolic definitions of icon numbers * * © 1994-1998 Straylight */ /*----- Licensing note ----------------------------------------------------* * * This file is part of Straylight's Glass. * * Glass 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. * * Glass 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 Glass. If not, write to the Free Software Foundation, * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __gIcons_h #define __gIcons_h /*----- Toolbox -----------------------------------------------------------*/ #define glass_TBCLOSE 0 /* Close window tool */ #define glass_TBBACK 1 /* Send to back tool */ #define glass_TBSIZE 2 /* Resize window tool */ #define glass_TBHSCR 3 /* Horizontal scroll tool */ #define glass_TBVSCR 4 /* Vertical scroll tool */ #define glass_TBMOVE 5 /* Move window tool */ /*----- Loading window ----------------------------------------------------*/ #define glass_CRVERSION 4 /* Version display */ #define glass_CRGPLNOTE 6 /* General public license display */ #define glass_CRNOWARRANTY 7 /* Notice about lack of warranty */ #define glass_CRSLIDER 10 /* Progress slider */ #define glass_CRPERCENT 11 /* Percentage display */ #define glass_CRDOING 13 /* What the system is doing */ /*----- Window info monologue boxes ---------------------------------------*/ /* * Template file info */ #define glass_FINAME 1 /* Name of the file */ #define glass_FISIZE 3 /* File size (OS_ConvertFileSize) */ #define glass_FIINDSZ 5 /* Indirected data size */ #define glass_FIWINDOWS 7 /* Number of windows in the file */ #define glass_FIMODIFIED 9 /* Has the file been modified? */ /* * Window info */ #define glass_WINAME 1 /* Name of the window */ #define glass_WISIZE 3 /* Size of the window */ #define glass_WIINDSZ 5 /* Indirected data size */ #define glass_WIICONS 7 /* Number of icons in the window */ /* * Selection info */ #define glass_SINUM 1 /* Number of windows selected */ #define glass_SISIZE 3 /* Size of the selection */ #define glass_SIINDSZ 5 /* Indirected data size */ #define glass_SIICONS 7 /* Number of icons in the selection */ /*----- Sprite info monologue boxes ---------------------------------------*/ /* * Sprite area info */ #define glass_SAOWNER 1 /* Name of the owning template file */ #define glass_SASIZE 4 /* File size (OS_ConvertFileSize) */ #define glass_SASPRITES 2 /* Number of sprites in the file */ /* * Sprite info */ #define glass_SPNAME 1 /* Name of the sprite */ #define glass_SPMODE 5 /* Mode the sprite was defined in */ #define glass_SPWIDTH 6 /* Width of the sprite */ #define glass_SPHEIGHT 7 /* Height of the sprite */ #define glass_SPSIZE 3 /* Size of the sprite */ #define glass_SPMASK 10 /* Does it have a mask? */ #define glass_SPPALETTE 12 /* Does it have a palette? */ /* * Selection info */ #define glass_SSNUM 1 /* Number of sprites selected */ #define glass_SSSIZE 3 /* Size of the selection */ /*----- Heap info ---------------------------------------------------------*/ #define glass_HEAPSIZE 1 /* Current size of the heap */ #define glass_FREESIZE 2 /* Size of free area */ #define glass_LARGEST 4 /* Size of the largest free block */ #define glass_HEAPSLIDE 6 /* Slider showing all this info */ /*----- Colour selector ---------------------------------------------------*/ #define glass_CSOK 0 /* OK button */ #define glass_CSCANCEL 1 /* Cancel button */ #define glass_CSEDITING 2 /* Display field - what we're editing */ #define glass_CSCOLOURS 4 /* The first colour icon - others seq. */ #define glass_CSTRANS 22 /* Transparent switch */ /*----- Grid --------------------------------------------------------------*/ #define glass_GOK 0 /* OK button */ #define glass_GDISP 1 /* Display switch */ #define glass_GLOCK 2 /* Grid lock switch */ #define glass_GWUP 4 /* Grid width up arrow */ #define glass_GWDOWN 5 /* Grid width down arrow */ #define glass_GWWRITE 6 /* Grid width writable area */ #define glass_GHUP 8 /* Grid height up arrow */ #define glass_GHDOWN 9 /* Grid height down arrow */ #define glass_GHWRITE 10 /* Grid height writable area */ /*----- Sprite zoom -------------------------------------------------------*/ #define glass_ZOK 0 /* OK button */ #define glass_ZUP 3 /* Up arrow button */ #define glass_ZDOWN 4 /* Down arrow button */ #define glass_ZWRITE 1 /* Writable area for zoom percentage */ #define glass_ZDEFAULTS 6 /* Default zoom percentage buttons */ /*----- Align -------------------------------------------------------------*/ #define glass_AOK 0 /* Align OK button */ #define glass_ACANCEL 1 /* Align Cancel button */ #define glass_AHNONE 3 /* Horizontal no change radio */ #define glass_AHALIGN 4 /* Horizontal align radio */ #define glass_AHDISTRIB 5 /* Horizontal distribute radio */ #define glass_AHLEFT 7 /* Horizontal left radio */ #define glass_AHRIGHT 8 /* Horizontal right radio */ #define glass_AHCENTRE 9 /* Horizontal centre radio */ #define glass_AHWIDTH 10 /* Horizontal width radio */ #define glass_AHBOUND 12 /* Horizontal bounding box radio */ #define glass_AHVISAREA 13 /* Horizontal visible area radio */ #define glass_AHCONTAIN 14 /* Horizontal container constraint */ #define glass_AVNONE 16 /* Vertical no change radio */ #define glass_AVALIGN 17 /* Vertical align radio */ #define glass_AVDISTRIB 18 /* Vertical distribute radio */ #define glass_AVTOP 20 /* Vertical top radio */ #define glass_AVBOTTOM 21 /* Vertical bottom radio */ #define glass_AVCENTRE 22 /* Vertical centre radio */ #define glass_AVHEIGHT 23 /* Vertical height radio */ #define glass_AVBOUND 25 /* Vertical bounding box radio */ #define glass_AVVISAREA 26 /* Vertical visible area radio */ #define glass_AVCONTAIN 27 /* Vertical container constraint */ /*----- Tool bar ----------------------------------------------------------*/ #define glass_TBDRAG 0 /* Tool bar drag bar */ #define glass_TBCLOSEW 1 /* Tool bar close window icon */ #define glass_TBCREATE 2 /* Tool bar create icon */ #define glass_TBDELETE 3 /* Tool bar delete icon */ #define glass_TBCOPY 4 /* Tool bar copy icon */ #define glass_TBEDITW 5 /* Tool bar edit window icon */ #define glass_TBEDITI 6 /* Tool bar edit icon icon (!) */ #define glass_TBRENUMBER 7 /* Tool bar renumber icon */ /*----- Info bar ----------------------------------------------------------*/ #define glass_IBDRAG 0 /* Info bar drag bar */ #define glass_IBWIND 2 /* Info bar window display */ #define glass_IBICON 4 /* Info bar icon display */ #define glass_IBX 6 /* Info bar x coord display */ #define glass_IBY 8 /* Info bar y coord display */ #define glass_IBEDIT 9 /* Info bar edit mode radio */ #define glass_IBTEST 10 /* Info bar test mode radio */ #define glass_IBRENUM 12 /* Info bar next renumber display */ /*----- Autosave dialogues ------------------------------------------------*/ /* * Autosave prompt dialogue */ #define glass_APSAVE 0 /* Save file action button */ #define glass_APCANCEL 1 /* Cancel action button */ #define glass_APSAVEAS 2 /* Save as action button */ #define glass_APNAME 4 /* Where to put the file's name */ /* * Autosave message dialogue */ #define glass_AMNAME 2 /* Where to put the name */ /*----- Preferences -------------------------------------------------------*/ /* * The main window */ #define glass_PMOK 0 /* OK button */ #define glass_PMCANCEL 1 /* Cancel button */ #define glass_PMSAVE 3 /* Save button */ #define glass_PMAUTOSAVE 5 /* Autosave radio */ #define glass_PMINTERFACE 6 /* Interface radio */ #define glass_PMSPRITES 7 /* Sprites radio */ #define glass_PMFILEDISP 8 /* File dislay radio */ #define glass_PMGRID 9 /* Grid radio */ #define glass_PMSELECTION 10 /* Selection radio */ #define glass_PMCONFIRM 11 /* Confirm radio */ #define glass_PMTOOLINFO 12 /* Tool and info bar radio */ #define glass_PMMISC 13 /* Miscellaneous radio */ #define glass_PMPOSN 14 /* Pane positioning icon */ /* * Autosave */ #define glass_PATIMED 3 /* Timed autosave switch */ #define glass_PATIMEDOWN 5 /* Time down arrow */ #define glass_PATIMEWRITE 6 /* Time writable area */ #define glass_PATIMEUP 7 /* Time up arrow */ #define glass_PAUNITSDISP 8 /* Display area for units menu */ #define glass_PAUNITSMENU 9 /* Menu button for units menu */ #define glass_PACOUNTED 11 /* Counted autosave switch */ #define glass_PACOUNTDOWN 13 /* Count down arrow */ #define glass_PACOUNTWRITE 14 /* Count writable area */ #define glass_PACOUNTUP 15 /* Count up arrow */ #define glass_PAPROMPT 17 /* Prompt for autosave switch */ /* * Interface (3D module support) */ /* --- Interface --- */ #define glass_PIDISPBORDER 3 /* Display 3D borders switch */ #define glass_PIMOUSECLICK 4 /* Respond to mouse clicks on 3D icons */ #define glass_PIMENUCLICK 5 /* Respond to menu clicks on 3D icons */ #define glass_PIINCBORDER 6 /* Include Interface border in bdd box */ /* --- WimpExtension --- */ #define glass_PWDISPBORDER 8 /* Display 3D borders switch */ #define glass_PWKEYPRESS 9 /* Respond to mouse clicks on 3D icons */ #define glass_PWINCBORDER 10 /* Include WimpExtension border in bdd box*/ /* --- Sculptrix --- */ #define glass_PSDISPBORDER 12 /* Display 3D borders switch */ #define glass_PSMOUSECLICK 13 /* Respond to mouse clicks on 3D icons */ #define glass_PSMENUCLICK 14 /* Respond to menu clicks on 3D icons */ #define glass_PSINCBORDER 15 /* Include Sculptrix border in bdd box */ /* * Sprites */ #define glass_PSSPRITES 2 /* Load Sprites switch */ #define glass_PSPSPRITES 3 /* Load !Sprites switch */ #define glass_PSDEFAULTS 4 /* Load Glass default sprites */ /* * File display panel */ #define glass_PFLARGE 3 /* Large icons radio */ #define glass_PFSMALL 4 /* Small icons radio */ #define glass_PFNAME 6 /* Sort by name radio */ #define glass_PFSIZE 7 /* Sort by size radio */ #define glass_PFICONS 8 /* Sort by number of icons radio */ #define glass_PFNOSORT 9 /* Don't sort radio */ /* * Grid panel */ #define glass_PGDISP 3 /* Display grid switch */ #define glass_PGLOCK 4 /* Snap to grid switch */ #define glass_PGWUP 6 /* Width up arrow */ #define glass_PGWDOWN 7 /* Width down arrow */ #define glass_PGWWRITE 8 /* Width writable area */ #define glass_PGHUP 10 /* Height up arrow */ #define glass_PGHDOWN 11 /* Height down arrow */ #define glass_PGHWRITE 12 /* Height writable area */ #define glass_PGLINES 21 /* Lines radio */ #define glass_PGPOINTS 22 /* Points radio */ #define glass_PGGRIDCOL 15 /* Grid colour button */ #define glass_PGGUIDECOL 17 /* Guide colour button */ #define glass_PGGDESELCOL 19 /* Selected guide colour button */ /* * Selection panel */ #define glass_PSBORDER 3 /* Select border switch */ #define glass_PSDOTTED 4 /* Dotted border switch */ #define glass_PSBCOLLABEL 5 /* Border colour label (for shading) */ #define glass_PSBCOLOUR 6 /* Border colour button */ #define glass_PSCORNEDGE 9 /* Corners and edges radio */ #define glass_PSCORNONLY 10 /* Corners only radio */ #define glass_PSSIZEUP 12 /* Handle size up arrow */ #define glass_PSSIZEDOWN 13 /* Handle size down arrow */ #define glass_PSSIZEWRITE 14 /* Handle size writable area */ #define glass_PSHCOLOUR 16 /* Handle colour button */ #define glass_PSSCOLOUR 18 /* Special icon handle colour button */ /* * Confirm panel */ #define glass_PCQUIT 2 /* Quit with unsaved files switch */ #define glass_PCCLOSE 3 /* Close unsaved file switch */ #define glass_PCDELWIN 4 /* Delete windows switch */ #define glass_PCDELICON 5 /* Delete icons switch */ #define glass_PCTEST 6 /* Close edits for test mode */ #define glass_PCOVERWRITE 7 /* Overwrite existing files switch */ /* * Tool/Info bars */ #define glass_PTTOOLDISP 3 /* Tool bar display switch */ #define glass_PTTOOLFLOAT 4 /* Tool bar floating switch */ #define glass_PTINFODISP 6 /* Info bar display switch */ #define glass_PTINFOFLOAT 7 /* Info bar floating switch */ /* * Miscellaneous */ #define glass_PMHATCH 2 /* Fill redrawable windows with hatching */ #define glass_PMBLINK 3 /* Blinking cursor switch */ #define glass_PMVISINWORK 4 /* Keep visible area in work area switch */ #define glass_PMNEWONTOP 5 /* Create new icons on top switch */ #define glass_PMRENDEL 6 /* Renumber icons on delete switch */ #define glass_PMCTRLEDIT 7 /* Require control key pressed to edit */ /*----- Edit icon ---------------------------------------------------------*/ /* * The main window */ #define glass_EIOK 0 /* OK action button */ #define glass_EICAN 1 /* Cancel action button */ #define glass_EIDELETE 2 /* Delete action button */ #define glass_EIDATA 4 /* Data panel selector */ #define glass_EIAPPEARANCE 5 /* Appearance panel selector */ #define glass_EIACTIONS 6 /* Actions panel selector */ #define glass_EICOLOURS 7 /* Colours panel selector */ #define glass_EIPOSITION 8 /* Position panel selector */ #define glass_EISIZE 9 /* Size panel selector */ #define glass_EINUMUP 11 /* Icon number up arrow */ #define glass_EINUMDOWN 12 /* Icon number down arrow */ #define glass_EINUMWRITE 13 /* Icon number writable area */ #define glass_EIWINDISP 15 /* Window owner identity display area */ #define glass_EIPOSN 16 /* Where to put the pane window */ /* * Icon data panel */ #define glass_EIDDATA 2 /* Data string writable area */ #define glass_EIDTEXT 4 /* Text switch */ #define glass_EIDSPRITE 5 /* Sprite switch */ #define glass_EIDINDIR 7 /* Indirected switch */ #define glass_EIDINDSIZE 9 /* Indirected data size */ #define glass_EIDINDUP 10 /* Indirect size up arrow */ #define glass_EIDINDDOWN 11 /* Indirect size down arrow */ #define glass_EIDMINIMISE 12 /* Indirect size minimise button */ #define glass_EIDINDPART 13 /* The partition icon */ #define glass_EIDVALID 14 /* Validation string switch */ #define glass_EIDVALSTRING 15 /* Validation string writable area */ /* * Icon appearance panel */ #define glass_EIAFONT 7 /* Antialiased switch */ #define glass_EIAFONTNAME 8 /* Font name display area */ #define glass_EIAFONTMENU 9 /* Font name menu button */ #define glass_EIAFSIZEUP 11 /* Font size up arrow */ #define glass_EIAFSIZEDOWN 12 /* Font size down arrow */ #define glass_EIAFSIZEWRITE 13 /* Font size writable area */ #define glass_EIAHCENTRE 3 /* Horizotally centred switch */ #define glass_EIAVCENTRE 4 /* Vertically centred switch */ #define glass_EIARALIGN 5 /* Right aligned switch */ #define glass_EIABORDER 16 /* WIMP-drawn border switch */ #define glass_EIAFILL 17 /* Filled background switch */ #define glass_EIAHALFSIZE 18 /* Sprite at half size switch */ #define glass_EIANEEDSHELP 19 /* Needs help to be redrawn switch */ /* * Icon actions panel */ #define glass_EIABTYPE 3 /* Button type display area */ #define glass_EIABTMENU 4 /* Button type menu button */ #define glass_EIAESGUP 6 /* ESG up arrow */ #define glass_EIAESGDOWN 7 /* ESG down arrow */ #define glass_EIAESGWRITE 8 /* ESG writable area */ #define glass_EIAADJUST 9 /* Adjust clicks use ESG 0 switch */ #define glass_EIASELECT 10 /* Selected switch */ #define glass_EIASHADE 11 /* Shaded switch */ /* * Icon colours panel */ #define glass_EICFORE 4 /* Foreground colour button */ #define glass_EICBACK 5 /* Background colour button */ /* * Position/size panel */ #define glass_EIPUP 3 /* Rectangle up button */ #define glass_EIPDOWN 4 /* Rectangle down button */ #define glass_EIPLEFT 5 /* Rectangle left button */ #define glass_EIPRIGHT 6 /* Rectangle right button */ #define glass_EIPWRITE 7 /* Writable coords area */ #define glass_EIPSETSIZE 8 /* Set icon size correctly */ /*----- Edit window -------------------------------------------------------*/ /* * The main window */ #define glass_EWOK 0 /* The OK button */ #define glass_EWCAN 1 /* The Cancel button */ #define glass_EWDEL 2 /* Delete window action button */ #define glass_EWSAVE 3 /* Save window action button */ #define glass_EWCHARS 5 /* Characteristics panel selector */ #define glass_EWGADGETS 6 /* Gadgets panel selector */ #define glass_EWBTYPE 7 /* Button type */ #define glass_EWTDATA 8 /* Title data panel selector */ #define glass_EWTAPPEAR 9 /* Title appearance panel selector */ #define glass_EWCOLOURS 10 /* Colours panel selector */ #define glass_EWWORKAREA 11 /* Work area sizes panel selector */ #define glass_EWIDWRITE 13 /* Identifier writable area */ #define glass_EWFILEDISP 15 /* Template file name display area */ #define glass_EWPOSN 16 /* Pane positioning icon */ /* * Window characteristics panel */ #define glass_EWCMOVE 2 /* Window may be moved switch */ #define glass_EWCREDRAW 3 /* Window is redrawn by the WIMP */ #define glass_EWCPANE 4 /* Window is a pain switch */ #define glass_EWCNOBOUNDS 5 /* Window may be moved off-screen switch */ #define glass_EWCONSCREEN 6 /* Always force window on screen */ #define glass_EWCSCRLQ 8 /* Window generates scroll requests switch*/ #define glass_EWCSCRLREP 9 /* Scroll requests auto-repeat radio */ #define glass_EWCSCRLDEB 10 /* Scroll requests debounced radio */ #define glass_EWCGCOL 11 /* Window uses normal mode colours switch */ #define glass_EWCBACK 12 /* Window stays at the back switch */ #define glass_EWCHOTKEYS 13 /* Window grabs hotkeys switch */ /* * Window gadgets panel */ #define glass_EWGOLD 3 /* Old style gadgets radio */ #define glass_EWGOTITLE 4 /* Old style title bar switch */ #define glass_EWGOCLOSEBACK 5 /* Old style close/back box switch */ #define glass_EWGOHORIZ 6 /* Old style horizontal scroll bar switch */ #define glass_EWGOVERT 7 /* Old style vertical scroll bar switch */ #define glass_EWGNEW 9 /* New style gadgets radio */ #define glass_EWGNTITLE 10 /* New style title bar switch */ #define glass_EWGNCLOSE 11 /* New style close box switch */ #define glass_EWGNRESIZE 12 /* New style resize box switch */ #define glass_EWGNBACK 13 /* New style send-to-back box switch */ #define glass_EWGNTOGGLE 14 /* New style max-min box switch */ #define glass_EWGNHORIZ 15 /* New style horizontal scroll bar switch */ #define glass_EWGNVERT 16 /* New style vertical scroll bar switch */ /* * Window button type panel */ #define glass_EWBBTDISP 3 /* Button type display area */ #define glass_EWBBTMENU 4 /* Button type menu button */ /* * Window title data and window title appearance * * Since these are presented using the same templates as the corresponding * icon panels, I think it's fair to use the same icon number definitions * above. */ /* * Window colours panel */ #define glass_EWCTBFORE 8 /* Title bar foreground colour button */ #define glass_EWCTBBACK 9 /* Title bar background colour button */ #define glass_EWCWAFORE 10 /* Work area foreground colour button */ #define glass_EWCWABACK 11 /* Work area background colour button */ #define glass_EWCSCFORE 12 /* Scroll bar foreground colour button */ #define glass_EWCSCBACK 13 /* Scroll bar background colour button */ #define glass_EWCHIGH 14 /* Input focus highlight colour */ /* * Window work area sizes panel */ #define glass_EWSTLLARGE 2 /* Move top left outwards button */ #define glass_EWSTOPRIGHT 4 /* Top right extent writable area */ #define glass_EWSTOPUP 5 /* Top extent up arrow */ #define glass_EWSTOPDOWN 6 /* Top extent down arrow */ #define glass_EWSLEFTLEFT 7 /* Left extent left arrow */ #define glass_EWSLEFTRIGHT 8 /* Left extent right arrow */ #define glass_EWSEXTLOCK 9 /* Set to visible size button */ #define glass_EWSRIGHTLEFT 10 /* Right extent left arrow */ #define glass_EWSRIGHTRIGHT 11 /* Right extent right arrow */ #define glass_EWSBOTTOMUP 12 /* Bottom extent up arrow */ #define glass_EWSBOTTOMDOWN 13 /* Bottom extent down arrow */ #define glass_EWSBOTTOMLEFT 14 /* Bottom left extent writable area */ #define glass_EWSBRLARGE 15 /* Move bottom right outwards button */ #define glass_EWSMINWIDTH 17 /* Minimum width writable area */ #define glass_EWSMINWSET 18 /* Min width set to current width button */ #define glass_EWSMINHEIGHT 20 /* Minimum height writable area */ #define glass_EWSMINHSET 21 /* Min height set to current height button*/ #define glass_EWSRUBBERH 23 /* Rubber horizontal extent switch */ #define glass_EWSRUBBERV 24 /* Rubber vertical extent switch */ #endif