2 /* FvwmTaskBar Module for Fvwm.
4 * Copyright 1994, Mike Finger (mfinger@mermaid.micro.umn.edu or
7 * The functions in this source file that are the original work of Mike Finger.
9 * No guarantees or warantees or anything are provided or implied in any way
10 * whatsoever. Use this program at your own risk. Permission to use this
11 * program for any purpose is given, as long as the copyright is kept intact.
15 /* Structure definitions */
19 /* The new, post-gsfr flags - now the "only" flag */
33 /* Function Prototypes */
34 void InitList(List
*list
);
35 void AddItem(List
*list
, long id
, ConfigWinPacket
*cfgpacket
,
36 long Desk
, int count
);
37 void AddItemName(List
*list
, char *string
, int iconified
);
38 int FindItem(List
*list
, long id
);
39 int FindNameItem(List
*list
, char *string
);
40 int UpdateItemName(List
*list
, long id
, char *string
);
41 int UpdateItemIconifiedFlag(List
*list
, long id
, int iconified
);
42 int UpdateItemGSFRFlags(List
*list
, ConfigWinPacket
*cfgpacket
);
43 int UpdateItemIndexDesk(List
*list
, int i
, long desk
);
44 int UpdateNameItem(List
*list
, char *string
, long id
, int iconified
);
45 int UpdateItemIndexGeometry(List
*list
, int i
, rectangle
*new_g
);
46 void FreeItem(Item
*ptr
);
47 int DeleteItem(List
*list
,long id
);
48 void FreeList(List
*list
);
49 void PrintList(List
*list
);
50 char *ItemName(List
*list
, int n
);
51 int IsItemIconified(List
*list
, long id
);
52 int IsItemIndexIconified(List
*list
, int i
);
53 int IsItemIndexSticky(List
*list
, int i
);
54 int IsItemIndexSkipWindowList(List
*list
, int i
);
55 int IsItemIndexIconSupressed(List
*list
, int i
);
56 int ItemCount(List
*list
);
57 long ItemID(List
*list
, int n
);
58 void CopyItem(List
*dest
,List
*source
,int n
);
59 void UpdateItemPicture(List
*list
, int n
, FvwmPicture
*p
);
60 int GetDeskNumber(List
*list
, int n
, long *Desk
);
61 FvwmPicture
*GetItemPicture(List
*list
, int n
);
62 int GetItemGeometry(List
*list
, int n
, rectangle
**r
);