1 | /* |
---|
2 | * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. |
---|
3 | * ALL RIGHTS RESERVED |
---|
4 | */ |
---|
5 | /* |
---|
6 | * Motif Release 1.2 |
---|
7 | */ |
---|
8 | /* $RCSfile: WmIconBox.h,v $ $Revision: 1.1.1.1 $ $Date: 1997-03-25 09:12:21 $ */ |
---|
9 | /* |
---|
10 | * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */ |
---|
11 | |
---|
12 | #ifdef _NO_PROTO |
---|
13 | |
---|
14 | extern void AddNewBox (); |
---|
15 | extern void ChangeActiveIconboxIconText (); |
---|
16 | extern void CheckIconBoxResize (); |
---|
17 | extern Boolean CheckIconBoxSize (); |
---|
18 | extern void DeleteIconFromBox (); |
---|
19 | extern void DeleteIconInfo (); |
---|
20 | extern Boolean ExpandVirtualSpace (); |
---|
21 | extern Boolean ExtendIconList(); |
---|
22 | extern void FindNewPosition (); |
---|
23 | extern MenuItem *GetIconBoxMenuItems (); |
---|
24 | extern void GetIconBoxIconRootXY (); |
---|
25 | extern void HandleIconBoxButtonMotion (); |
---|
26 | extern void HandleIconBoxIconKeyPress (); |
---|
27 | #ifndef MOTIF_ONE_DOT_ONE |
---|
28 | extern void IconScrollVisibleCallback (); |
---|
29 | #endif |
---|
30 | extern void IconActivateCallback (); |
---|
31 | extern Boolean IconVisible (); |
---|
32 | extern IconInfo *InsertIconInfo (); |
---|
33 | extern Boolean InsertIconIntoBox (); |
---|
34 | extern void InitIconBox (); |
---|
35 | extern void InitializeClientData (); |
---|
36 | extern void InitializeIconBoxData (); |
---|
37 | extern Cardinal InsertPosition (); |
---|
38 | extern void MakeBulletinBoard (); |
---|
39 | extern void MakeFadeIconGC (); |
---|
40 | extern Boolean MakeIconBox (); |
---|
41 | extern void MakeScrolledWindow (); |
---|
42 | extern void MakeShell (); |
---|
43 | extern void MakeShrinkWrapIconsGC (); |
---|
44 | extern void MapIconBoxes (); |
---|
45 | extern void PackIconBox (); |
---|
46 | extern void RealignIconList (); |
---|
47 | extern void RealizeIconBox (); |
---|
48 | extern void ReorderIconBoxIcons (); |
---|
49 | extern void ResetArrowButtonIncrements(); |
---|
50 | extern void ResetIconBoxMaxSize (); |
---|
51 | extern void SetGeometry (); |
---|
52 | extern void SetGranularity (); |
---|
53 | extern void SetIconBoxInfo (); |
---|
54 | extern void SetNewBounds (); |
---|
55 | extern void ShowClientIconState (); |
---|
56 | extern void UpdateIncrements (); |
---|
57 | extern String WmXmStringToString (); |
---|
58 | |
---|
59 | #else /* _NO_PROTO */ |
---|
60 | |
---|
61 | extern void AddNewBox (WmWorkspaceData *pWS, IconBoxData *pIBD); |
---|
62 | extern void ChangeActiveIconboxIconText (Widget icon, caddr_t dummy, |
---|
63 | XFocusChangeEvent *event); |
---|
64 | extern void CheckIconBoxResize (ClientData *pCD, unsigned int changedValues, |
---|
65 | int newWidth, int newHeight); |
---|
66 | extern Boolean CheckIconBoxSize (IconBoxData *pIBD); |
---|
67 | extern void DeleteIconFromBox (IconBoxData *pIBD, ClientData *pCD); |
---|
68 | extern void DeleteIconInfo (IconBoxData *pIBD, ClientData *pCD); |
---|
69 | extern Boolean ExpandVirtualSpace (IconBoxData *pIBD, int newWidth, |
---|
70 | int newHeight); |
---|
71 | extern Boolean ExtendIconList (IconBoxData *pIBD, int incr); |
---|
72 | extern void FindNewPosition (Cardinal *newPosition, IconPlacementData *pIPD, |
---|
73 | int newPlace); |
---|
74 | extern MenuItem *GetIconBoxMenuItems (WmScreenData *pSD); |
---|
75 | extern void GetIconBoxIconRootXY (ClientData *pCD, int *pX, int *pY); |
---|
76 | extern void HandleIconBoxButtonMotion (Widget icon, caddr_t client_data, |
---|
77 | XEvent *pev); |
---|
78 | extern void HandleIconBoxIconKeyPress (Widget icon, caddr_t dummy, |
---|
79 | XKeyEvent *keyEvent); |
---|
80 | #ifndef MOTIF_ONE_DOT_ONE |
---|
81 | extern void IconScrollVisibleCallback (Widget w, caddr_t client_data, |
---|
82 | XmAnyCallbackStruct *call_data); |
---|
83 | #endif |
---|
84 | extern void IconActivateCallback (Widget w, caddr_t client_data, |
---|
85 | XmAnyCallbackStruct *call_data); |
---|
86 | extern Boolean IconVisible (ClientData *pCD); |
---|
87 | extern IconInfo *InsertIconInfo (IconBoxData *pIBD, ClientData *pCD, |
---|
88 | Widget theWidget); |
---|
89 | extern Boolean InsertIconIntoBox (IconBoxData *pIBD, ClientData *pCD); |
---|
90 | extern void InitIconBox (WmScreenData *pSD); |
---|
91 | extern void InitializeClientData (ClientData *pCD, IconBoxData *pIBD); |
---|
92 | extern void InitializeIconBoxData (WmWorkspaceData *pWS, IconBoxData *pIBD); |
---|
93 | extern Cardinal InsertPosition (Widget w); |
---|
94 | extern void MakeBulletinBoard (WmWorkspaceData *pWS, IconBoxData *pIBD); |
---|
95 | extern void MakeFadeIconGC (WmScreenData *pSD); |
---|
96 | extern Boolean MakeIconBox (WmWorkspaceData *pWS, ClientData *pCD); |
---|
97 | extern void MakeScrolledWindow (WmWorkspaceData *pWS, IconBoxData *pIBD); |
---|
98 | extern void MakeShell (WmWorkspaceData *pWS, IconBoxData *pIBD); |
---|
99 | extern void MakeShrinkWrapIconsGC (WmScreenData *pSD, Pixmap bgPixmap); |
---|
100 | extern void MapIconBoxes (WmWorkspaceData *pWS); |
---|
101 | extern void PackIconBox (IconBoxData *pIBD, Boolean packVert, |
---|
102 | Boolean packHorz, int passedInWidth, |
---|
103 | int passedInHeight); |
---|
104 | extern void RealignIconList (IconBoxData *pIBD, int newCols, int newRows); |
---|
105 | extern void RealizeIconBox (WmWorkspaceData *pWS, IconBoxData *pIBD, |
---|
106 | ClientData *pCD); |
---|
107 | extern void ReorderIconBoxIcons (ClientData *pCD, IconBoxData *pIBD, |
---|
108 | Widget theIcon, int newX, int newY); |
---|
109 | extern void ResetArrowButtonIncrements (ClientData *pCD); |
---|
110 | extern void ResetIconBoxMaxSize (ClientData *pCD, Widget bBoardWidget); |
---|
111 | extern void SetGeometry (WmWorkspaceData *pWS, ClientData *pCD, |
---|
112 | IconBoxData *pIBD); |
---|
113 | extern void SetGranularity (WmWorkspaceData *pWS, ClientData *pCD, |
---|
114 | IconBoxData *pIBD); |
---|
115 | extern void SetIconBoxInfo (WmWorkspaceData *pWS, ClientData *pCD); |
---|
116 | extern void SetNewBounds (IconBoxData *pIBD); |
---|
117 | extern void ShowClientIconState (ClientData *pCD, int newState); |
---|
118 | extern void UpdateIncrements (Widget sWidget, IconBoxData *pIBD, |
---|
119 | XConfigureEvent *event); |
---|
120 | extern String WmXmStringToString (XmString xmString); |
---|
121 | #endif /* _NO_PROTO */ |
---|
122 | |
---|