summaryrefslogtreecommitdiff
path: root/src/widget/widget_catchkey.h
diff options
context:
space:
mode:
authorxHire <xhire@tuxportal.cz>2009-05-22 18:39:29 +0200
committerxHire <xhire@tuxportal.cz>2009-05-26 01:10:58 +0200
commit78aa43a47bdcb3d88d267d8b65377b12d75a017b (patch)
tree842398fb20e97c9012e8dd791643a0b06dcbebbf /src/widget/widget_catchkey.h
parentf3ccf7e671c1ce8e2ac3dd791bcfa60d8c5d9c0b (diff)
Rectified the coding style in widget .h files
Diffstat (limited to 'src/widget/widget_catchkey.h')
-rw-r--r--src/widget/widget_catchkey.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/widget/widget_catchkey.h b/src/widget/widget_catchkey.h
index 9a1da1c..a030f6e 100644
--- a/src/widget/widget_catchkey.h
+++ b/src/widget/widget_catchkey.h
@@ -1,14 +1,13 @@
#ifndef WIDGET_CATCHKEY_H
+#define WIDGET_CATCHKEY_H
-# define WIDGET_CATCHKEY_H
+#include "main.h"
+#include "widget.h"
-# include "main.h"
-# include "widget.h"
+#define WIDGET_CATCHKEY_NOKEY -1
-# define WIDGET_CATCHKEY_WIDTH 110
-# define WIDGET_CATCHKEY_HEIGHT 12
-
-# define WIDGET_CATCHKEY_NOKEY -1
+#define WIDGET_CATCHKEY_WIDTH 110
+#define WIDGET_CATCHKEY_HEIGHT 12
typedef struct widget_catchkey_struct {
int w, h;
@@ -18,10 +17,10 @@ typedef struct widget_catchkey_struct {
} widget_catchkey_t;
extern widget_t *catch_key_new(int key, int x, int y, void *event);
-extern int catch_key_get(widget_t * p);
-extern void catch_key_set(widget_t * p, int key);
-extern void catch_key_draw(widget_t * p);
-extern void catch_key_event(widget_t * p);
-extern void catch_key_destroy(widget_t * p);
+extern int catch_key_get(widget_t *p);
+extern void catch_key_set(widget_t *p, int key);
+extern void catch_key_draw(widget_t *p);
+extern void catch_key_event(widget_t *p);
+extern void catch_key_destroy(widget_t *p);
-#endif
+#endif /* WIDGET_CATCHKEY_H */