From 157e2a29828f2ddbdf32e1c9e565b13e5e732e34 Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 3 Jul 2008 15:19:08 +0000 Subject: - predene zvuky zbrani revolver a samopal - server config sa vie spravne vysporiadat s mederami v subore server.conf - upraveny kod pre bigAreny - nova funkcia pre odstranovanie vsektch poloziek vo widget_select - screen_browser duplicitne nenacitava obrazok zo suboru - server si indexuje clientov na zaklade ich zdrojoveho portu ( ja viem, ze je to pstrosi alogritmus, ale aj tak predtym server identifikoval clientov podla ich zdrojoveho portu len ich podla toho neindexoval ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@89 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/widget/widget_select.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/widget/widget_select.c') diff --git a/src/widget/widget_select.c b/src/widget/widget_select.c index f51239c..4d10bc4 100644 --- a/src/widget/widget_select.c +++ b/src/widget/widget_select.c @@ -34,6 +34,14 @@ void addToWidgetSelect(widget_select_t *p, char *s) addList(p->list, strdup(s) ); } +void removeAllFromWidgetSelect(widget_select_t *p) +{ + while( p->list->count > 0 ) + { + delListItem(p->list, 0, free); + } +} + void drawWidgetSelect(widget_select_t *p) { int x, y, w, h; -- cgit v1.2.3