diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-14 19:31:47 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-14 19:31:47 +0000 |
| commit | 593ac1e25c2053f06cb1b7e29785a695d3c57ad3 (patch) | |
| tree | 15f6bb50abedc884122d40b98349e35d702b7729 /src/widget_label.c | |
| parent | a4e34c257a4f5966ce699f48d30b3528bdaa45e4 (diff) | |
- podpora UDP
git-svn-id: http://opensvn.csie.org/tuxanci_ng@15 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/widget_label.c')
| -rw-r--r-- | src/widget_label.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget_label.c b/src/widget_label.c index 9cb9718..15948a2 100644 --- a/src/widget_label.c +++ b/src/widget_label.c @@ -23,13 +23,13 @@ void drawWidgetLabel(widget_label_t *p) switch( p->bind ) { case WIDGET_LABEL_RIGHT : - drawFont(p->text, p->x+p->w, p->y, COLOR_WHITE); + drawFont(p->text, p->x+p->w, p->y + p->h/2, COLOR_WHITE); break; case WIDGET_LABEL_LEFT : - drawFont(p->text, p->x, p->y, COLOR_WHITE); + drawFont(p->text, p->x, p->y + p->h/2, COLOR_WHITE); break; case WIDGET_LABEL_CENTER : - drawFont(p->text, p->x-p->w/2, p->y, COLOR_WHITE); + drawFont(p->text, p->x-p->w/2, p->y + p->h/2, COLOR_WHITE); break; } } |