diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-16 21:00:29 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-16 21:00:29 +0000 |
| commit | c68df329f2483d8fc9b75488c695787cd18c20a4 (patch) | |
| tree | 18e11cd70360c77606ecdeafe5dbd8f9ff0c12d7 /src/screen/screen_table.c | |
| parent | 753fde16397b5943091aa1e9112cea1e5ded0ca5 (diff) | |
- vsetky widegety pouzivaju widget_t
( priparava na kontajner s widgetmi )
git-svn-id: http://opensvn.csie.org/tuxanci_ng@201 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/screen/screen_table.c')
| -rw-r--r-- | src/screen/screen_table.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/screen/screen_table.c b/src/screen/screen_table.c index 1f53b8d..3c26c0a 100644 --- a/src/screen/screen_table.c +++ b/src/screen/screen_table.c @@ -23,8 +23,8 @@ #include "widget_label.h" #include "widget_button.h" -static widget_image_t *image_backgorund; -static widget_button_t *button_back; +static widget_t *image_backgorund; +static widget_t *button_back; static list_t *listWidgetLabelNumer; static list_t *listWidgetLabelName; @@ -49,22 +49,22 @@ void drawScreenTable() for( i = 0 ; i < listWidgetLabelNumer->count ; i++ ) { - widget_label_t *this; - this = (widget_label_t *)listWidgetLabelNumer->list[i]; + widget_t *this; + this = (widget_t *)listWidgetLabelNumer->list[i]; drawWidgetLabel(this); } for( i = 0 ; i < listWidgetLabelName->count ; i++ ) { - widget_label_t *this; - this = (widget_label_t *)listWidgetLabelName->list[i]; + widget_t *this; + this = (widget_t *)listWidgetLabelName->list[i]; drawWidgetLabel(this); } for( i = 0 ; i < listWidgetLabelScore->count ; i++ ) { - widget_label_t *this; - this = (widget_label_t *)listWidgetLabelScore->list[i]; + widget_t *this; + this = (widget_t *)listWidgetLabelScore->list[i]; drawWidgetLabel(this); } } @@ -80,9 +80,9 @@ void stopScreenTable() static void eventWidget(void *p) { - widget_button_t *button; + widget_t *button; - button = (widget_button_t *)(p); + button = (widget_t *)(p); if( button == button_back ) { @@ -117,7 +117,7 @@ static void setWidgetLabel() for( i = 0 ; i < SCREEN_TABLE_MAX_PLAYERS ; i++ ) { - widget_label_t *label; + widget_t *label; char name[STR_NAME_SIZE]; char score[STR_NUM_SIZE]; char num[STR_NUM_SIZE]; |