1 /*---------------------------------------------------------------------------- 2 -- 3 -- Module: xtmIcons 4 -- 5 -- Project: XDiary 6 -- System: xtm - X Desktop Calendar 7 -- Subsystem: <> 8 -- Function block: <> 9 -- 10 -- Description: 11 -- Interface file for module xtmIcons. 12 -- 13 -- Filename: xtmIcons.h 14 -- 15 -- Authors: Roger Larsson, Ulrika Bornetun 16 -- Creation date: 1992-04-03 17 -- 18 -- 19 -- (C) Copyright Ulrika Bornetun, Roger Larsson (1995) 20 -- All rights reserved 21 -- 22 -- Permission to use, copy, modify, and distribute this software and its 23 -- documentation for any purpose and without fee is hereby granted, 24 -- provided that the above copyright notice appear in all copies. Ulrika 25 -- Bornetun and Roger Larsson make no representations about the usability 26 -- of this software for any purpose. It is provided "as is" without express 27 -- or implied warranty. 28 ----------------------------------------------------------------------------*/ 29 30 /* SCCS module identifier. */ 31 /* SCCSID = @(#) Module: xtmIcons.h, Version: 1.1, Date: 95/02/18 15:52:25 */ 32 33 34 /* Include this file only once. */ 35 #ifndef define_xtmIcons_h 36 # define define_xtmIcons_h 37 38 39 /*---------------------------------------------------------------------------- 40 -- Include files 41 ----------------------------------------------------------------------------*/ 42 43 44 /*---------------------------------------------------------------------------- 45 -- Macro definitions 46 ----------------------------------------------------------------------------*/ 47 48 49 /*---------------------------------------------------------------------------- 50 -- Type declarations 51 ----------------------------------------------------------------------------*/ 52 53 /* The kinds of icons we have. */ 54 typedef enum { 55 XTM_IC_ICON_DEFAULT, 56 XTM_IC_ICON_CALENDAR, 57 XTM_IC_ICON_CUSTOM, 58 XTM_IC_ICON_EDIT_ENTRY, 59 XTM_IC_ICON_MESSAGE, 60 XTM_IC_ICON_REMINDER, 61 XTM_IC_ICON_ACL, 62 XTM_IC_ICON_PRINT, 63 XTM_IC_ICON_SCHEDULE, 64 XTM_IC_ICON_SUMMARY, 65 XTM_IC_ICON_MAIL, 66 XTM_IC_ICON_NAV_CAL, 67 XTM_IC_ICON_XDIARY_LOGO, 68 XTM_IC_ICON_PLANNER, 69 XTM_IC_ICON_ANI_MOVE1, 70 XTM_IC_ICON_ANI_MOVE2, 71 XTM_IC_ICON_ANI_MOVE3, 72 XTM_IC_ICON_ANI_MOVE4, 73 XTM_IC_ICON_ANI_MOVE5, 74 XTM_IC_ICON_ANI_MOVE6, 75 XTM_IC_ICON_ANI_MOVE, 76 XTM_IC_ICON_CAL_TOP, 77 XTM_IC_ICON_CAL_LEFT_TOP, 78 XTM_IC_ICON_CAL_RIGHT_TOP, 79 XTM_IC_ICON_ALARM_CLOCK1, 80 XTM_IC_ICON_ALARM_CLOCK2, 81 XTM_IC_ICON_ALARM_CLOCK3, 82 XTM_IC_ICON_ALARM_CLOCK4, 83 XTM_IC_ICON_ALARM_CLOCK5, 84 XTM_IC_ICON_ALARM_CLOCK5INV, 85 XTM_IC_ICON_ALARM_CLOCK6, 86 XTM_IC_ICON_ALARM_CLOCK7, 87 XTM_IC_ICON_ALARM_CLOCK8, 88 XTM_IC_ICON_ALARM_CLOCK9, 89 XTM_IC_ICON_DROP_MENU 90 } XTM_IC_ICON_TYPE; 91 92 93 /*---------------------------------------------------------------------------- 94 -- Global definitions 95 ----------------------------------------------------------------------------*/ 96 97 98 /*---------------------------------------------------------------------------- 99 -- Function prototypes 100 ----------------------------------------------------------------------------*/ 101 102 Pixmap 103 xtmIcFetchSimplePixmap( Widget colorTemplW, 104 XTM_IC_ICON_TYPE icon_type, 105 Boolean invert ); 106 107 void 108 xtmIcSetSimpleIcon( Widget iconForW, 109 Widget colorTemplW, 110 XTM_IC_ICON_TYPE icon_type ); 111 112 #endif 113