/* * gMenus.h * * Symbolic definitions of menus * * © 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 __gMenus_h #define __gMenus_h /*----- Icon bar menu -----------------------------------------------------*/ enum { glass_IBARINFO=1, /* Info... > */ glass_IBARPREFS, /* Preferences... */ glass_IBARTBOX, /* Toolbox... */ glass_IBARHEAPINFO, /* Heap info... */ glass_IBARQUIT /* Quit */ }; /*----- Template file menu ------------------------------------------------*/ enum { glass_TFINFO=1, /* Info... > */ glass_TFDISP, /* Display > */ glass_TFSEL, /* Window 'name' > */ glass_TFSELALL, /* Select all */ glass_TFCLRSEL, /* Clear selection */ glass_TFSAVE, /* Save... > */ glass_TFCREATE, /* Create... > */ glass_TFGRAB, /* Grab window... > */ glass_TFSHWSPR /* Show sprites > */ #ifdef glass_NOTLAZY glass_TFSTYLES /* Icon styles > */ #endif }; enum { glass_TFDLARGE=1, /* Large icons */ glass_TFDSMALL, /* Small icons */ glass_TFDSORTNAME, /* Sort by name */ glass_TFDSORTSIZE, /* Sort by size */ glass_TFDSORTICONS, /* Sort by no. of icons */ glass_TFDNOSORT /* Don't sort */ }; enum { glass_TFSELINFO=1, /* Info... > */ glass_TFSELEDIT, /* Edit... */ glass_TFSELCOPY, /* Copy... > */ glass_TFSELRENAME, /* Rename... > */ glass_TFSELSAVE, /* Save... > */ glass_TFSELDELETE /* Delete */ }; #ifdef glass_NOTLAZY enum { glass_TFSTYLESEDIT=1, /* Edit style... */ glass_TFSTYLESNEW, /* New style... */ glass_TFSTYLESSAVE /* Save... > */ }; #endif /*----- Sprite viewer menu ------------------------------------------------*/ enum { glass_SPINFO=1, /* Info... > */ glass_SPSEL, /* Sprite 'name' > */ glass_SPSELALL, /* Select all */ glass_SPCLRSEL, /* Clear selection */ glass_SPSAVE, /* Save... > */ glass_SPGRAB /* Grab sprite... */ }; enum { glass_SPSELINFO=1, /* Info... > */ glass_SPSELCOPY, /* Copy... > */ glass_SPSELRENAME, /* Rename... > */ glass_SPSELSAVE, /* Save... > */ glass_SPSELDELETE /* Delete */ }; /*----- Template window menu ----------------------------------------------*/ enum { glass_TWMISC=1, /* Misc > */ glass_TWSAVE, /* Save... F3 > */ glass_TWSELECT, /* Select > */ glass_TWICON, /* Create icon > */ glass_TWEDIT, /* Edit icon > */ glass_TWGRID, /* Grid... > */ glass_TWGDE /* Guides > */ }; enum { glass_TWMINFO=1, /* Info... ^F1 > */ glass_TWMEDITWIN, /* Edit window... ^W */ glass_TWMTEST, /* Test mode ^T */ glass_TWMREMDEL, /* Remove deleted icons */ glass_TWMBRINGBK, /* Bring back icons */ glass_TWMCLOSE /* Close window ^F2 */ }; enum { glass_TWSALL=1, /* Select all ^A */ glass_TWSCLR, /* Clear selection ^Z */ glass_TWSCOPY, /* Copy ^C */ glass_TWSDEL, /* Delete ^X */ glass_TWSORDER, /* Reorder ^R */ glass_TWSFRONT, /* Bring to front s^F */ glass_TWSRAISE, /* Raise ^F */ glass_TWSLOWER, /* Lower ^B */ glass_TWSBACK, /* Put to back s^B */ glass_TWSPULL, /* Pull onto grid ^P */ glass_TWSALIGN, /* Align... ^A */ glass_TWSEDIT, /* Edit... ^E */ #ifdef glass_NOTLAZY glass_TWSDATA, /* Icon data ^D > */ #endif glass_TWSBTYPE /* Button type > */ #ifdef glass_NOTLAZY glass_TWSSTYLE /* Apply style > */ #endif }; enum { glass_TWINEW=1, /* New icon ^N */ glass_TWIPAL, /* Show palette */ glass_TWIGRAB /* Grab icon ^G */ }; enum { glass_TWGSELALL=1, /* Select all */ glass_TWGCLRSEL, /* Clear selection */ glass_TWGDEL, /* Delete selection */ glass_TWGHORIZ, /* Create horizontal */ glass_TWGVERT /* Create vertical */ }; /*----- Preferences -------------------------------------------------------*/ /* * The very small Units menu */ enum { glass_PUHOURS=1, /* Hours */ glass_PUMINUTES, /* Minutes */ glass_PUSECONDS /* Seconds */ }; #endif