diff options
Diffstat (limited to 'src/iconmgr.h')
-rw-r--r-- | src/iconmgr.h | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/src/iconmgr.h b/src/iconmgr.h index 6157fa3..c74ffb1 100644 --- a/src/iconmgr.h +++ b/src/iconmgr.h @@ -34,8 +34,7 @@ in this Software without prior written authorization from The Open Group. #ifndef _ICONMGR_ #define _ICONMGR_ -typedef struct WList -{ +typedef struct WList { struct WList *next; struct WList *prev; struct TwmWindow *twm; @@ -51,18 +50,17 @@ typedef struct WList short down; } WList; -typedef struct IconMgr -{ - struct IconMgr *next; /* pointer to the next icon manager */ - struct IconMgr *prev; /* pointer to the previous icon mgr */ - struct IconMgr *lasti; /* pointer to the last icon mgr */ - struct WList *first; /* first window in the list */ - struct WList *last; /* last window in the list */ - struct WList *active; /* the active entry */ - TwmWindow *twm_win; /* back pointer to the new parent */ - struct ScreenInfo *scr; /* the screen this thing is on */ - Window w; /* this icon manager window */ - const char *geometry; /* geometry string */ +typedef struct IconMgr { + struct IconMgr *next; /* pointer to the next icon manager */ + struct IconMgr *prev; /* pointer to the previous icon mgr */ + struct IconMgr *lasti; /* pointer to the last icon mgr */ + struct WList *first; /* first window in the list */ + struct WList *last; /* last window in the list */ + struct WList *active; /* the active entry */ + TwmWindow *twm_win; /* back pointer to the new parent */ + struct ScreenInfo *scr; /* the screen this thing is on */ + Window w; /* this icon manager window */ + const char *geometry; /* geometry string */ const char *name; const char *icon_name; int x, y, width, height; @@ -74,16 +72,17 @@ extern int iconmgr_textx; extern WList *DownIconManager; extern int iconifybox_width, iconifybox_height; -extern void ActiveIconManager ( WList *active ); -extern WList *AddIconManager ( TwmWindow *tmp_win ); -extern IconMgr *AllocateIconManager ( char *name, char *icon_name, char *geom, int columns ); -extern void CreateIconManagers ( void ); -extern void DrawIconManagerBorder ( WList *tmp ); -extern void JumpIconManager ( int dir ); -extern void MoveIconManager ( int dir ); -extern void NotActiveIconManager ( WList *active ); -extern void PackIconManager ( IconMgr *ip ); -extern void RemoveIconManager ( TwmWindow *tmp_win ); -extern void SortIconManager ( IconMgr *ip ); +extern void ActiveIconManager(WList *active); +extern WList *AddIconManager(TwmWindow *tmp_win); +extern IconMgr *AllocateIconManager(char *name, char *icon_name, char *geom, + int columns); +extern void CreateIconManagers(void); +extern void DrawIconManagerBorder(WList *tmp); +extern void JumpIconManager(int dir); +extern void MoveIconManager(int dir); +extern void NotActiveIconManager(WList *active); +extern void PackIconManager(IconMgr *ip); +extern void RemoveIconManager(TwmWindow *tmp_win); +extern void SortIconManager(IconMgr *ip); -#endif /* _ICONMGR_ */ +#endif /* _ICONMGR_ */ |