libui/test/test.h

92 lines
1.7 KiB
C
Raw Normal View History

// 22 april 2015
2015-04-22 16:54:05 -05:00
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
2015-04-22 16:54:05 -05:00
#include <stdarg.h>
#include <string.h>
#include <math.h>
2016-06-15 12:21:07 -05:00
#include <limits.h>
2015-08-27 11:05:11 -05:00
#include "../ui.h"
2015-04-22 16:54:05 -05:00
// main.c
extern void die(const char *, ...);
extern uiBox *mainBox;
extern uiTab *mainTab;
extern uiBox *(*newhbox)(void);
extern uiBox *(*newvbox)(void);
2015-04-22 16:54:05 -05:00
// 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);
2015-05-11 21:35:16 -05:00
extern uiGroup *newGroup(const char *);
extern uiForm *newForm(void);
2016-06-09 16:15:59 -05:00
extern uiGrid *newGrid(void);
2015-04-23 17:22:06 -05:00
// menus.c
2015-05-09 09:12:02 -05:00
extern uiMenuItem *shouldQuitItem;
2015-04-23 17:22:06 -05:00
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 *);
2015-10-13 14:09:06 -05:00
// page7.c
extern uiBox *makePage7(void);
2015-10-18 22:00:24 -05:00
// page7a.c
extern uiGroup *makePage7a(void);
// page7b.c
extern uiGroup *makePage7b(void);
// page7c.c
extern uiGroup *makePage7c(void);
2015-10-18 22:00:24 -05:00
// 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);
2016-06-09 16:15:59 -05:00
// page14.c
extern uiTab *makePage14(void);
2016-06-15 12:21:07 -05:00
// page15.c
extern uiBox *makePage15(uiWindow *);