diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-22 18:39:29 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:10:58 +0200 |
| commit | 78aa43a47bdcb3d88d267d8b65377b12d75a017b (patch) | |
| tree | 842398fb20e97c9012e8dd791643a0b06dcbebbf /src/widget/widget_statusbar.h | |
| parent | f3ccf7e671c1ce8e2ac3dd791bcfa60d8c5d9c0b (diff) | |
Rectified the coding style in widget .h files
Diffstat (limited to 'src/widget/widget_statusbar.h')
| -rw-r--r-- | src/widget/widget_statusbar.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/widget/widget_statusbar.h b/src/widget/widget_statusbar.h index 6b81cf3..217c1a5 100644 --- a/src/widget/widget_statusbar.h +++ b/src/widget/widget_statusbar.h @@ -1,25 +1,24 @@ - #ifndef WIDGET_STATUSBAR_H +#define WIDGET_STATUSBAR_H -# define WIDGET_STATUSBAR_H - -# include "main.h" -# include "widget.h" -# include "list.h" +#include "main.h" +#include "widget.h" +#include "list.h" typedef struct widget_statusbar { list_t *listElement; int selectElement; } widget_statusbar_t; -# define WIDGET_STATUSBAR_NONE_SELECT_ELEMENT -1 -# define WIDGET_STATUSBAR_WIDTH 250 -# define WIDGET_STATUSBAR_HEIGHT 65 +#define WIDGET_STATUSBAR_NONE_SELECT_ELEMENT -1 + +#define WIDGET_STATUSBAR_WIDTH 250 +#define WIDGET_STATUSBAR_HEIGHT 65 extern widget_t *statusbar_new(int x, int y); -extern void statusbar_add(widget_t *widget, widget_t * widget_catch, char *text); -extern void statusbar_draw(widget_t * widget); -extern void statusbar_event(widget_t * widget); -extern void statusbar_destroy(widget_t * widget); +extern void statusbar_add(widget_t *widget, widget_t *widget_catch, char *text); +extern void statusbar_draw(widget_t *widget); +extern void statusbar_event(widget_t *widget); +extern void statusbar_destroy(widget_t *widget); -#endif +#endif /* WIDGET_STATUSBAR_H */ |