summaryrefslogtreecommitdiff
path: root/src/widget/widget_statusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/widget_statusbar.h')
-rw-r--r--src/widget/widget_statusbar.h27
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 */