aboutsummaryrefslogtreecommitdiffstats
path: root/widget.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
commitdbf5d92605a9db10e3e3cb154d03a515c5d5c5af (patch)
tree501d5dda3ce90fe924b893e487d9ef9f0683382b /widget.h
parenta1c471e9fb7cadb68bb182ab2e9715a0aa092386 (diff)
downloadlcd4linux-dbf5d92605a9db10e3e3cb154d03a515c5d5c5af.tar.gz
[lcd4linux @ 2005-05-08 04:32:43 by reinelt]
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget.h')
-rw-r--r--widget.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/widget.h b/widget.h
index dbf12b0..0db6009 100644
--- a/widget.h
+++ b/widget.h
@@ -1,4 +1,4 @@
-/* $Id: widget.h,v 1.12 2005/01/18 06:30:24 reinelt Exp $
+/* $Id: widget.h,v 1.13 2005/05/08 04:32:45 reinelt Exp $
*
* generic widget handling
*
@@ -23,6 +23,9 @@
*
*
* $Log: widget.h,v $
+ * Revision 1.13 2005/05/08 04:32:45 reinelt
+ * CodingStyle added and applied
+ *
* Revision 1.12 2005/01/18 06:30:24 reinelt
* added (C) to all copyright statements
*
@@ -82,29 +85,29 @@
#define _WIDGET_H_
-struct WIDGET; /* forward declaration */
+struct WIDGET; /* forward declaration */
typedef struct WIDGET_CLASS {
- char *name;
- int (*init) (struct WIDGET *Self);
- int (*draw) (struct WIDGET *Self);
- int (*quit) (struct WIDGET *Self);
+ char *name;
+ int (*init) (struct WIDGET * Self);
+ int (*draw) (struct WIDGET * Self);
+ int (*quit) (struct WIDGET * Self);
} WIDGET_CLASS;
-typedef struct WIDGET{
- char *name;
- WIDGET_CLASS *class;
- int row;
- int col;
- void *data;
+typedef struct WIDGET {
+ char *name;
+ WIDGET_CLASS *class;
+ int row;
+ int col;
+ void *data;
} WIDGET;
-int widget_register (WIDGET_CLASS *widget);
-void widget_unregister (void);
-int widget_add (const char *name, const int row, const int col);
+int widget_register(WIDGET_CLASS * widget);
+void widget_unregister(void);
+int widget_add(const char *name, const int row, const int col);
#endif