summaryrefslogtreecommitdiff
path: root/src/screen/setting.c
diff options
context:
space:
mode:
authorDušan Ďurech <dusan.d@centrum.cz>2010-02-08 22:23:09 +0100
committerDušan Ďurech <dusan.d@centrum.cz>2010-02-08 22:23:09 +0100
commitdcedec3fa1025e29a6eff80841ba4b286a1af942 (patch)
tree9fffa1220e1d7cf7beb1bd009e0d31b28e703441 /src/screen/setting.c
parent5d5a809f0a658f573ad856fc2f540797c8afe6e4 (diff)
add labels "weapons" and "bonuses" in screen setting :)
Diffstat (limited to 'src/screen/setting.c')
-rw-r--r--src/screen/setting.c12
1 files changed, 12 insertions, 0 deletions
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);