From 54d61c622ba721b4ea57852e0ba6c87acfa66a2b Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 8 Aug 2008 15:08:39 +0000 Subject: - schopnost autodetekce jazyka systému → v případě neznámého jazyka se zvolí default (angličtina) - pamatovat posledně hranou arénu → vybrat ji a dostatečně zvýraznit - pauza klevsa [P] - seznam hráčů pod klávesou TAB – skóre, ping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/tuxanci_ng@193 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/screen/screen_choiceArena.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/screen/screen_choiceArena.c') diff --git a/src/screen/screen_choiceArena.c b/src/screen/screen_choiceArena.c index f1a13b3..dc88d84 100644 --- a/src/screen/screen_choiceArena.c +++ b/src/screen/screen_choiceArena.c @@ -104,6 +104,16 @@ int getChoiceArenaId() return choiceArenaId; } +void setChoiceArenaId(int n) +{ + widget_buttonimage_t *widget_buttonimage; + + choiceArenaId = n; + + widget_buttonimage = (widget_buttonimage_t *)listWidgetButtonimage->list[choiceArenaId]; + widget_buttonimage->active = TRUE; +} + static void eventWidget(void *p) { widget_button_t *button; @@ -147,12 +157,12 @@ void initScreenChoiceArena() widget_buttonimage = newWidgetButtonimage(image, x, y, eventWidgetButtonImage); - +/* if( i == choiceArenaId ) { widget_buttonimage->active = 1; } - +*/ addList( listWidgetButtonimage, widget_buttonimage); } -- cgit v1.2.3