icon.h

Go to the documentation of this file.
00001 
00002 /*  $Id: icon.h 1319 2006-04-22 12:58:25Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #define iconinclude
00029 
00030 
00031 #ifdef WIN95VERSION
00032     #define atVerticalCenter    0x01
00033     #define atHorizontalCenter  0x02
00034     #define kTransformSelected  0x04
00035     #define kAlignAbsoluteCenter    (atVerticalCenter | atHorizontalCenter)
00036 #endif
00037 
00038 #ifdef MACVERSION /*7.0b9 PBS: tycustomicontypeinfo is for Mac custom icons*/
00039 
00040 #define maxcustomicontypes 20
00041 
00042 #define idfirstcustomicon 1000
00043 
00044 struct tycustomicontypeinfo {
00045     
00046     bigstring bstype; /*headline type*/
00047     
00048     short rnum; /*reference to file's resource fork*/
00049     }; 
00050 
00051 
00052 #endif
00053 
00054 /*function prototypes*/
00055 
00056 extern void drawlabeledicon (const Rect *, short, bigstring, boolean);
00057 
00058 extern void drawiconsequence (Rect, short, short, bigstring);
00059 
00060 extern void drawlabeledwindoidicon (Rect, bigstring, boolean, boolean);
00061 
00062 extern boolean trackicon (Rect, void (*) (boolean));
00063 
00064 extern boolean ploticon (const Rect *, short id);
00065 
00066 extern boolean ploticonresource (const Rect *r, short align, short transform, short resid);
00067 
00068 extern boolean ploticoncustom (const Rect *r, short align, short transform, bigstring bsiconname); /*7.0b9 PBS*/
00069 
00070 boolean customicongetrnum (bigstring bstype, short *rnum);

Generated on Wed May 31 18:19:48 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6