From e16fdc3f3edc4f66cda9a44679af2ebe1b235612 Mon Sep 17 00:00:00 2001 From: Tom Adams Date: Sat, 29 May 2010 15:53:57 +0000 Subject: added clipping to editboxes (#773) and made their cursors blink --- src/game/client/components/menus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/menus.h') diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index 3055e661..c09e6e96 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -58,7 +58,7 @@ class CMenus : public CComponent static void ui_draw_checkbox(const void *id, const char *text, int checked, const CUIRect *r, const void *extra); static void ui_draw_checkbox_number(const void *id, const char *text, int checked, const CUIRect *r, const void *extra); */ - int DoEditBox(void *pID, const CUIRect *pRect, char *pStr, unsigned StrSize, float FontSize, bool Hidden=false, int Corners=CUI::CORNER_ALL); + int DoEditBox(void *pID, const CUIRect *pRect, char *pStr, unsigned StrSize, float FontSize, float *Offset, bool Hidden=false, int Corners=CUI::CORNER_ALL); //static int ui_do_edit_box(void *id, const CUIRect *rect, char *str, unsigned str_size, float font_size, bool hidden=false); float DoScrollbarV(const void *pID, const CUIRect *pRect, float Current); -- cgit 1.4.1