commit a0540824ccfbb0631b136de0536d9eb834e8aee5
parent e2e974c201e4d12a2c4f903207d6cc714668911c
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 8 Sep 2018 17:35:19 +0300
Cleanup
Diffstat:
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/ui.cc b/src/ui.cc
@@ -259,8 +259,8 @@ void ui_redraw_everything() {
input_draw();
ui_draw_status();
- textbox_draw( &chat_text );
textbox_draw( &main_text );
+ textbox_draw( &chat_text );
int spacerY = ( 2 * PADDING ) + ( fh + SPACING ) * CHAT_ROWS;
ui_fill_rect( 0, spacerY, window_width, 1, COLOUR_STATUSBG, false );
diff --git a/src/win32.cc b/src/win32.cc
@@ -6,7 +6,7 @@
#include "common.h"
#include "input.h"
#include "script.h"
-#include "textbox.h"
+#include "ui.h"
#include "platform_network.h"
@@ -19,9 +19,6 @@ struct {
HDC back_buffer;
HBITMAP back_buffer_bitmap;
- TextBox main_text;
- TextBox chat_text;
-
int max_width, max_height;
} UI;
diff --git a/src/x11.cc b/src/x11.cc
@@ -9,7 +9,7 @@
#include "common.h"
#include "input.h"
#include "script.h"
-#include "textbox.h"
+#include "ui.h"
#include "platform_network.h"