From 288f88fc8e7c8d2e3f39908964616a3ecc0c57b1 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 14 Feb 2011 22:32:06 +0100 Subject: [PATCH] Add GFX_CLEARBUTTON to skin-customizables.inc --- qcsrc/menu/item/inputbox.c | 3 +-- qcsrc/menu/skin-customizables.inc | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/menu/item/inputbox.c b/qcsrc/menu/item/inputbox.c index dc532c0ca3..b44db7c42a 100644 --- a/qcsrc/menu/item/inputbox.c +++ b/qcsrc/menu/item/inputbox.c @@ -34,8 +34,7 @@ CLASS(InputBox) EXTENDS(Label) ATTRIB(InputBox, cb_size, vector, '0 0 0') ATTRIB(InputBox, cb_pressed, float, 0) ATTRIB(InputBox, cb_focused, float, 0) - // ATTRIB(InputBox, cb_src, string, SKINGFX_CLEARBUTTON) - ATTRIB(InputBox, cb_src, string, "clearbutton") + ATTRIB(InputBox, cb_src, string, SKINGFX_CLEARBUTTON) ENDCLASS(InputBox) void InputBox_Clear_Click(entity btn, entity me); #endif diff --git a/qcsrc/menu/skin-customizables.inc b/qcsrc/menu/skin-customizables.inc index ca8f4cf8e9..a4a4f9e80e 100644 --- a/qcsrc/menu/skin-customizables.inc +++ b/qcsrc/menu/skin-customizables.inc @@ -159,6 +159,7 @@ SKINBEGIN SKINSTRING(GFX_INPUTBOX, "inputbox"); SKINVECTOR(COLOR_INPUTBOX_N, '1 1 1'); SKINVECTOR(COLOR_INPUTBOX_F, '1 1 1'); + SKINSTRING(GFX_CLEARBUTTON, "clearbutton"); SKINFLOAT(MARGIN_INPUTBOX_CHARS, 1); // item: key grabber -- 2.39.2