From f11348dafdcaf618ff2167055704f8a52ec077eb Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Tue, 6 Nov 2012 08:11:29 +0100 Subject: [PATCH] Started with adding some editbox(es) to the status-bar --- ogl_editor/src/Editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ogl_editor/src/Editor.c b/ogl_editor/src/Editor.c index 08433e3..2d57679 100644 --- a/ogl_editor/src/Editor.c +++ b/ogl_editor/src/Editor.c @@ -115,6 +115,8 @@ void Editor_init() { } +static char s_numRows[64] = "10000"; + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// static void drawStatus() @@ -154,6 +156,7 @@ static void drawStatus() Emgui_fill(Emgui_color32(0x10, 0x10, 0x10, 0xff), 1, sizeY - 12, 400, 11); Emgui_drawText(temp, 3, sizeY - 10, Emgui_color32(255, 255, 255, 255)); + Emgui_editBoxXY(400, sizeY - 14, 100, 12, s_numRows); } ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////