diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-22 19:02:10 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:11:13 +0200 |
| commit | 1f1ffba837fa69e3623007db8044c8a0f73faece (patch) | |
| tree | f5574bc8f6880aafe88487a1f9b43a018efcc7e1 /src/widget/widget_image.c | |
| parent | 78aa43a47bdcb3d88d267d8b65377b12d75a017b (diff) | |
Rewritten messages/comments in code of widget
Rectified the coding style in code of widget
Diffstat (limited to 'src/widget/widget_image.c')
| -rw-r--r-- | src/widget/widget_image.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/widget/widget_image.c b/src/widget/widget_image.c index ed07cb0..51f935a 100644 --- a/src/widget/widget_image.c +++ b/src/widget/widget_image.c @@ -1,4 +1,3 @@ - #include <stdlib.h> #include <assert.h> @@ -11,7 +10,7 @@ #include "widget.h" #include "widget_image.h" -widget_t *wid_image_new(int x, int y, image_t * image) +widget_t *wid_image_new(int x, int y, image_t *image) { widget_image_t *new; @@ -21,7 +20,7 @@ widget_t *wid_image_new(int x, int y, image_t * image) return widget_new(WIDGET_TYPE_IMAGE, x, y, image->w, image->h, new); } -void wid_image_draw(widget_t * widget) +void wid_image_draw(widget_t *widget) { widget_image_t *p; @@ -32,13 +31,13 @@ void wid_image_draw(widget_t * widget) image_draw(p->image, widget->x, widget->y, 0, 0, p->image->w, p->image->h); } -void wid_image_event(widget_t * widget) +void wid_image_event(widget_t *widget) { assert(widget != NULL); assert(widget->type == WIDGET_TYPE_IMAGE); } -void wid_image_destroy(widget_t * widget) +void wid_image_destroy(widget_t *widget) { widget_image_t *p; |