2015-04-22 12:42:52 -05:00
|
|
|
// 22 april 2015
|
2015-04-22 16:54:05 -05:00
|
|
|
#include <stdio.h>
|
2015-04-22 12:42:52 -05:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdint.h>
|
2015-04-22 16:54:05 -05:00
|
|
|
#include <stdarg.h>
|
2015-04-22 18:23:34 -05:00
|
|
|
#include <string.h>
|
2015-10-08 18:20:06 -05:00
|
|
|
#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 12:42:52 -05:00
|
|
|
|
2015-04-22 16:54:05 -05:00
|
|
|
// main.c
|
|
|
|
extern void die(const char *, ...);
|
2015-04-29 18:55:42 -05:00
|
|
|
extern uiBox *mainBox;
|
2015-04-29 20:09:16 -05:00
|
|
|
extern uiTab *mainTab;
|
2015-06-03 23:51:41 -05:00
|
|
|
extern uiBox *(*newhbox)(void);
|
|
|
|
extern uiBox *(*newvbox)(void);
|
2015-04-22 16:54:05 -05:00
|
|
|
|
2015-04-22 12:42:52 -05:00
|
|
|
// spaced.c
|
|
|
|
extern void setSpaced(int);
|
2015-04-29 13:03:17 -05:00
|
|
|
extern void querySpaced(char[12]);
|
2015-04-22 18:23:34 -05:00
|
|
|
extern uiWindow *newWindow(const char *title, int width, int height, int hasMenubar);
|
2015-04-22 12:42:52 -05:00
|
|
|
extern uiBox *newHorizontalBox(void);
|
|
|
|
extern uiBox *newVerticalBox(void);
|
2015-04-28 20:47:18 -05:00
|
|
|
extern uiTab *newTab(void);
|
2015-05-11 21:35:16 -05:00
|
|
|
extern uiGroup *newGroup(const char *);
|
2016-06-07 08:56:53 -05:00
|
|
|
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);
|
2015-04-29 12:38:38 -05:00
|
|
|
|
|
|
|
// page1.c
|
2015-04-29 19:23:38 -05:00
|
|
|
extern uiBox *page1;
|
|
|
|
extern void makePage1(uiWindow *);
|
2015-04-29 19:15:29 -05:00
|
|
|
|
|
|
|
// page2.c
|
2015-06-05 16:31:15 -05:00
|
|
|
extern uiGroup *page2group;
|
2015-04-29 19:15:29 -05:00
|
|
|
extern uiBox *makePage2(void);
|
2015-05-07 16:13:16 -05:00
|
|
|
|
|
|
|
// page3.c
|
|
|
|
extern uiBox *makePage3(void);
|
2015-05-19 17:07:34 -05:00
|
|
|
|
|
|
|
// page4.c
|
|
|
|
extern uiBox *makePage4(void);
|
2015-05-22 18:14:25 -05:00
|
|
|
|
|
|
|
// page5.c
|
2015-11-27 22:23:54 -06:00
|
|
|
extern uiBox *makePage5(uiWindow *);
|
2015-10-08 18:20:06 -05:00
|
|
|
|
|
|
|
// page6.c
|
|
|
|
extern uiBox *makePage6(void);
|
2015-10-09 12:38:41 -05:00
|
|
|
|
|
|
|
// drawtests.c
|
2016-06-13 20:37:50 -05:00
|
|
|
extern void runDrawTest(int, uiAreaDrawParams *);
|
2015-10-09 12:47:02 -05:00
|
|
|
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
|
|
|
|
2015-12-17 20:11:00 -06:00
|
|
|
// page7a.c
|
|
|
|
extern uiGroup *makePage7a(void);
|
|
|
|
|
2015-12-17 20:21:29 -06:00
|
|
|
// page7b.c
|
|
|
|
extern uiGroup *makePage7b(void);
|
|
|
|
|
2015-12-19 00:16:32 -06:00
|
|
|
// page7c.c
|
|
|
|
extern uiGroup *makePage7c(void);
|
|
|
|
|
2015-10-18 22:00:24 -05:00
|
|
|
// page8.c
|
|
|
|
extern uiBox *makePage8(void);
|
2015-12-24 21:59:00 -06:00
|
|
|
|
|
|
|
// page9.c
|
|
|
|
extern uiBox *makePage9(void);
|
2016-04-14 11:54:37 -05:00
|
|
|
|
|
|
|
// page10.c
|
|
|
|
extern uiBox *makePage10(void);
|
2016-05-14 20:53:24 -05:00
|
|
|
|
|
|
|
// page11.c
|
|
|
|
extern uiBox *makePage11(void);
|
2016-05-22 12:56:36 -05:00
|
|
|
|
|
|
|
// page12.c
|
|
|
|
extern uiBox *makePage12(void);
|
2016-05-28 20:29:00 -05:00
|
|
|
|
|
|
|
// 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 *);
|
2016-11-27 16:44:52 -06:00
|
|
|
|
|
|
|
// page16.c
|
|
|
|
extern uiBox *makePage16(void);
|
|
|
|
|
|
|
|
// images.c
|
|
|
|
extern void appendImageNamed(uiImage *img, const char *name);
|