diff options
Diffstat (limited to 'src/icons.h')
-rw-r--r-- | src/icons.h | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/src/icons.h b/src/icons.h index f05e8ff..4945967 100644 --- a/src/icons.h +++ b/src/icons.h @@ -34,27 +34,25 @@ in this Software without prior written authorization from The Open Group. #ifndef ICONS_H #define ICONS_H -typedef struct IconRegion -{ - struct IconRegion *next; - int x, y, w, h; - int grav1, grav2; - int stepx, stepy; /* allocation granularity */ - struct IconEntry *entries; +typedef struct IconRegion { + struct IconRegion *next; + int x, y, w, h; + int grav1, grav2; + int stepx, stepy; /* allocation granularity */ + struct IconEntry *entries; } IconRegion; -typedef struct IconEntry -{ - struct IconEntry *next; - int x, y, w, h; - TwmWindow *twm_win; - short used; -}IconEntry; - -extern void IconUp ( TwmWindow *tmp_win ); -extern void IconDown ( TwmWindow *tmp_win ); -extern void AddIconRegion ( char *geom, int grav1, int grav2, - int stepx, int stepy ); -extern void CreateIconWindow ( TwmWindow *tmp_win, int def_x, int def_y ); - -#endif /* ICONS_H */ +typedef struct IconEntry { + struct IconEntry *next; + int x, y, w, h; + TwmWindow *twm_win; + short used; +} IconEntry; + +extern void IconUp(TwmWindow *tmp_win); +extern void IconDown(TwmWindow *tmp_win); +extern void AddIconRegion(char *geom, int grav1, int grav2, + int stepx, int stepy); +extern void CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y); + +#endif /* ICONS_H */ |