aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui/test/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libui_sdl/libui/test/test.h')
-rw-r--r--src/libui_sdl/libui/test/test.h91
1 files changed, 91 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/test/test.h b/src/libui_sdl/libui/test/test.h
new file mode 100644
index 0000000..66b1baa
--- /dev/null
+++ b/src/libui_sdl/libui/test/test.h
@@ -0,0 +1,91 @@
+// 22 april 2015
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <stdarg.h>
+#include <string.h>
+#include <math.h>
+#include <limits.h>
+#include "../ui.h"
+
+// main.c
+extern void die(const char *, ...);
+extern uiBox *mainBox;
+extern uiTab *mainTab;
+extern uiBox *(*newhbox)(void);
+extern uiBox *(*newvbox)(void);
+
+// spaced.c
+extern void setSpaced(int);
+extern void querySpaced(char[12]);
+extern uiWindow *newWindow(const char *title, int width, int height, int hasMenubar);
+extern uiBox *newHorizontalBox(void);
+extern uiBox *newVerticalBox(void);
+extern uiTab *newTab(void);
+extern uiGroup *newGroup(const char *);
+extern uiForm *newForm(void);
+extern uiGrid *newGrid(void);
+
+// menus.c
+extern uiMenuItem *shouldQuitItem;
+extern void initMenus(void);
+
+// page1.c
+extern uiBox *page1;
+extern void makePage1(uiWindow *);
+
+// page2.c
+extern uiGroup *page2group;
+extern uiBox *makePage2(void);
+
+// page3.c
+extern uiBox *makePage3(void);
+
+// page4.c
+extern uiBox *makePage4(void);
+
+// page5.c
+extern uiBox *makePage5(uiWindow *);
+
+// page6.c
+extern uiBox *makePage6(void);
+
+// drawtests.c
+extern void runDrawTest(int, uiAreaDrawParams *);
+extern void populateComboboxWithTests(uiCombobox *);
+
+// page7.c
+extern uiBox *makePage7(void);
+
+// page7a.c
+extern uiGroup *makePage7a(void);
+
+// page7b.c
+extern uiGroup *makePage7b(void);
+
+// page7c.c
+extern uiGroup *makePage7c(void);
+
+// page8.c
+extern uiBox *makePage8(void);
+
+// page9.c
+extern uiBox *makePage9(void);
+
+// page10.c
+extern uiBox *makePage10(void);
+
+// page11.c
+extern uiBox *makePage11(void);
+
+// page12.c
+extern uiBox *makePage12(void);
+
+// page13.c
+extern uiBox *makePage13(void);
+
+// page14.c
+extern uiTab *makePage14(void);
+
+// page15.c
+extern uiBox *makePage15(uiWindow *);