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_button.h | |
| parent | f3ccf7e671c1ce8e2ac3dd791bcfa60d8c5d9c0b (diff) | |
Rectified the coding style in widget .h files
Diffstat (limited to 'src/widget/widget_button.h')
| -rw-r--r-- | src/widget/widget_button.h | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/widget/widget_button.h b/src/widget/widget_button.h index a42e35c..2ec4ae3 100644 --- a/src/widget/widget_button.h +++ b/src/widget/widget_button.h @@ -1,15 +1,13 @@ - #ifndef WIDGET_BUTTON_H +#define WIDGET_BUTTON_H -# define WIDGET_BUTTON_H - -# include "main.h" -# include "widget.h" +#include "main.h" +#include "widget.h" -# define WIDGET_BUTTON_TIME 10 +#define WIDGET_BUTTON_TIME 10 -# define WIDGET_BUTTON_WIDTH 125 -# define WIDGET_BUTTON_HEIGHT 36 +#define WIDGET_BUTTON_WIDTH 125 +#define WIDGET_BUTTON_HEIGHT 36 typedef struct widget_button { char *text; @@ -17,10 +15,9 @@ typedef struct widget_button { void (*fce_event) (void *); } widget_button_t; -extern widget_t *button_new(char *text, int x, int y, - void (*fce_event) (void *)); -extern void button_draw(widget_t * widget); -extern void button_event(widget_t * widget); -extern void button_destroy(widget_t * widget); +extern widget_t *button_new(char *text, int x, int y, void (*fce_event) (void *)); +extern void button_draw(widget_t *widget); +extern void button_event(widget_t *widget); +extern void button_destroy(widget_t *widget); -#endif +#endif /* WIDGET_BUTTON_H */ |