/* * sculptrix.h * * Interface to sculptrix SWIs * * © 1994-1998 Straylight */ /*----- Licensing note ----------------------------------------------------* * * This file is part of Straylight's Steel library. * * Steel 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. * * Steel 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 Steel. If not, write to the Free Software Foundation, * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef __sculptrix_h #define __sculptrix_h #ifndef __os_h #include "os.h" #endif #ifndef __wimp_h #include "wimp.h" #endif typedef struct sculptrix_slabDescriptor { wimp_w w; wimp_i i; int colour; int time; } sculptrix_slabDescriptor; os_error *sculptrix_redrawWindow(wimp_redrawstr *r); os_error *sculptrix_doSlab(wimp_w w,wimp_i i,int colour,int *old); os_error *sculptrix_slabIcon(wimp_w w,wimp_i i,sculptrix_slabDescriptor *d); os_error *sculptrix_unslabIcon(sculptrix_slabDescriptor *d); BOOL sculptrix_boundingBox(wimp_icon *i); os_error *sculptrix_plotIcon(wimp_icon *i,wimp_redrawstr *r); os_error *sculptrix_plotGroupBox(wimp_icon *i, wimp_redrawstr *r, int type, char *titleString); os_error *sculptrix_setSpriteArea(sprite_area *s); os_error *sculptrix_updateIcon(wimp_w w,wimp_i i); int sculptrix_slabColour(void); #endif