summaryrefslogtreecommitdiff
path: root/src/widget
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-08 21:17:12 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-08 21:17:12 +0000
commit0eda3185ba30d433029c9a7e725529a801c93d80 (patch)
tree3eeed16eb926fc3529f051704fd53070670e7124 /src/widget
parent7386e93e32575bae21006d0300cbff4cf7a40926 (diff)
- do widgetu textfiled sa zmesti IP adresa ( zatial aspon IPv4 )
- v arene je vzdy kostantny pocet zbarni/bonsov ( implicitny je 10, nastavuje sa v configu pomocou ITEM ) - oprava chyby, tux s binusom hidden sa moze teleportovat - oprava chyb v moduloch pipe teleport a wall git-svn-id: http://opensvn.csie.org/tuxanci_ng@125 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/widget')
-rw-r--r--src/widget/widget_textfield.c4
-rw-r--r--src/widget/widget_textfield.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/widget_textfield.c b/src/widget/widget_textfield.c
index 3ea7900..ff6e64a 100644
--- a/src/widget/widget_textfield.c
+++ b/src/widget/widget_textfield.c
@@ -34,12 +34,12 @@ static void drawBackground(widget_textfield_t *p)
if( g_textfield0 == NULL )
{
- g_textfield0 = addImageData("button0.png", IMAGE_ALPHA, "textfiled0", IMAGE_GROUP_BASE);
+ g_textfield0 = addImageData("textfield0.png", IMAGE_ALPHA, "textfiled0", IMAGE_GROUP_BASE);
}
if( g_textfield1 == NULL )
{
- g_textfield1 = addImageData("button1.png", IMAGE_ALPHA, "textfiled1", IMAGE_GROUP_BASE);
+ g_textfield1 = addImageData("textfield1.png", IMAGE_ALPHA, "textfiled1", IMAGE_GROUP_BASE);
}
if( p->active )
diff --git a/src/widget/widget_textfield.h b/src/widget/widget_textfield.h
index 0de3c96..11b135c 100644
--- a/src/widget/widget_textfield.h
+++ b/src/widget/widget_textfield.h
@@ -5,7 +5,7 @@
#include "main.h"
-#define WIDGET_TEXTFIELD_WIDTH 125
+#define WIDGET_TEXTFIELD_WIDTH 175
#define WIDGET_TEXTFIELD_HEIGHT 36
#define WIDGET_TEXTFIELD_TEXT_OFFSET_X 10