From dcedec3fa1025e29a6eff80841ba4b286a1af942 Mon Sep 17 00:00:00 2001 From: Dušan Ďurech Date: Mon, 8 Feb 2010 22:23:09 +0100 Subject: add labels "weapons" and "bonuses" in screen setting :) --- src/screen/setting.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/screen/setting.c b/src/screen/setting.c index 2645dac..f349354 100644 --- a/src/screen/setting.c +++ b/src/screen/setting.c @@ -52,6 +52,9 @@ static widget_t *label_music; static widget_t *label_sound; #endif +static widget_t *label_weapons; +static widget_t *label_bonuses; + static widget_t *check[ITEM_COUNT]; #ifndef NO_SOUND static widget_t *check_music; @@ -100,6 +103,9 @@ void setting_draw() wid_image_draw(image_backgorund); + label_draw(label_weapons); + label_draw(label_bonuses); + label_draw(label_count_round); label_draw(label_name_player1); label_draw(label_ai); @@ -320,6 +326,9 @@ void setting_init() WIDGET_TEXTFIELD_FILTER_ALPHANUM, 110 + label_count_round->w, WINDOW_SIZE_Y - 120); + label_weapons = label_new(_("weapons:"), 100, 160, WIDGET_LABEL_LEFT); + label_bonuses = label_new(_("bonuses:"), 430, 160, WIDGET_LABEL_LEFT); + for (i = GUN_DUAL_SIMPLE; i <= GUN_BOMBBALL; i++) { int x = 0; int y = 0; @@ -449,6 +458,9 @@ void setting_quit() wid_image_destroy(image_backgorund); + label_destroy(label_weapons); + label_destroy(label_bonuses); + label_destroy(label_count_round); label_destroy(label_name_player1); label_destroy(label_ai); -- cgit v1.2.3