summaryrefslogtreecommitdiff
path: root/textscreen/examples
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/examples')
-rw-r--r--textscreen/examples/calculator.c6
-rw-r--r--textscreen/examples/guitest.c15
2 files changed, 3 insertions, 18 deletions
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index 18f63aa1..c2be94f8 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -1,10 +1,8 @@
#include <stdio.h>
#include <string.h>
-#include "txt_button.h"
-#include "txt_desktop.h"
-#include "txt_label.h"
-#include "txt_separator.h"
+
+#include "textscreen.h"
typedef enum
{
diff --git a/textscreen/examples/guitest.c b/textscreen/examples/guitest.c
index 73334b47..b278d80f 100644
--- a/textscreen/examples/guitest.c
+++ b/textscreen/examples/guitest.c
@@ -2,20 +2,7 @@
#include <stdlib.h>
#include <string.h>
-#include "doomkeys.h"
-
-#include "txt_main.h"
-
-#include "txt_checkbox.h"
-#include "txt_button.h"
-#include "txt_desktop.h"
-#include "txt_inputbox.h"
-#include "txt_label.h"
-#include "txt_radiobutton.h"
-#include "txt_separator.h"
-#include "txt_strut.h"
-#include "txt_table.h"
-#include "txt_window.h"
+#include "textscreen.h"
enum
{