ASR_BASE

Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/marvell/services/mgui/TextBox.h b/marvell/services/mgui/TextBox.h
new file mode 100644
index 0000000..b25f961
--- /dev/null
+++ b/marvell/services/mgui/TextBox.h
@@ -0,0 +1,47 @@
+/******************************************************************************

+*(C) Copyright 2014 Marvell International Ltd.

+* All Rights Reserved

+******************************************************************************/

+/*******************************************************************************

+ *

+ *  Filename: TextBox.h

+ *

+ *  Authors:  Boaz Sommer

+ *

+ *  Description: A Text Box class

+ *

+ *  HISTORY:

+ *

+ *

+ *

+ *  Notes:

+ *

+ ******************************************************************************/

+#ifndef __TEXTBOX_H__

+#define	__TEXTBOX_H__

+

+#include	"Object.h"

+

+typedef	void *	TEXTBOX;

+

+#ifdef  __cplusplus

+    extern  "C" {

+#endif

+TEXTBOX	*TextBoxInit	(void *dfb, int height, int width, const char *font_path);

+void	TextBoxDeinit	(TEXTBOX *pt);

+void TextBoxSetup(TEXTBOX *pt, const char *text, int x, int y, TEXTALIGN align, unsigned int color);

+void	TextBoxSetText	(TEXTBOX *pt, const char *text);

+char	*TextBoxGetText(TEXTBOX *pt);

+void	TextBoxDraw		(TEXTBOX *pt);

+void	TextBoxSetColor	(TEXTBOX *pt, unsigned int color);

+int		TextBoxGetWidth	(TEXTBOX *pt);

+#ifdef USE_UGUI

+int		TextBoxGetHeight	(TEXTBOX *pt);

+#endif

+

+#ifdef  __cplusplus

+	}

+#endif

+

+#endif	//__TEXTBOX_H__

+