home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / DOpus4-GPL / DOpus_Icon / iconinfo.h < prev    next >
C/C++ Source or Header  |  2000-01-27  |  3KB  |  90 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. #include <fctype.h>
  32. #include <string.h>
  33. #include <stdlib.h>
  34. #include <stdarg.h>
  35. #include <exec/types.h>
  36. #include <exec/memory.h>
  37. #include <exec/execbase.h>
  38. #include <dos/dos.h>
  39. #include <dos/dosextens.h>
  40. #include <intuition/intuitionbase.h>
  41. #include <intuition/sghooks.h>
  42. #include <workbench/workbench.h>
  43. #include <workbench/startup.h>
  44. #include <proto/all.h>
  45.  
  46. #include "dopusbase.h"
  47. #include "dopuspragmas.h"
  48. #include "requesters.h"
  49. #include "dopusmessage.h"
  50. #include "stringdata.h"
  51. #include "iconstrings.h"
  52.  
  53. #define II_TTLINES 5                      /* Number of tooltype lines */
  54.  
  55. enum {
  56.     II_SAVE,                                /* Save changes to icon */
  57.     II_SKIP,                                /* Leave this icon unchanged */
  58.     II_CANCEL,                              /* Lose changes to icon */
  59.     II_STACK,                               /* Stack size of projects */
  60.     II_COMMENT,                             /* Comment field */
  61.     II_DEFAULTTOOL,                         /* Default tool field */
  62.     II_TOOLTYPE,                            /* ToolType string gadget */
  63.     II_NEW,                                 /* New ToolType */
  64.     II_DELETE,                              /* Delete ToolType */
  65.     II_REMAP};                              /* Remap colours 1.3/2.0 */
  66.  
  67. extern struct DOpusBase *DOpusBase;
  68. extern struct IntuitionBase *IntuitionBase;
  69. extern struct GfxBase *GfxBase;
  70. extern struct Library *IconBase;
  71. extern struct Library *LayersBase;
  72. extern struct Library *SysBase;
  73.  
  74. extern char protect_flags[6];
  75. extern char *specific_gadtext[5][6];
  76. extern char *icon_type_names[];
  77. extern char protect_keys[6];
  78.  
  79. extern struct DefaultString default_strings[];
  80.  
  81. #define STRING_VERSION 1
  82.  
  83. #include "functions.h"
  84.  
  85. struct DOpusStartup {
  86.     struct WBStartup wbstartup;
  87.     int retcode;
  88. };
  89.  
  90.