18 lines
293 B
C
18 lines
293 B
C
|
// 20 january 2017
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
#include "../../ui.h"
|
||
|
|
||
|
struct example {
|
||
|
const char *name;
|
||
|
uiControl *panel;
|
||
|
void (*draw)(uiAreaDrawParams *p);
|
||
|
// TODO mouse and key?
|
||
|
};
|
||
|
|
||
|
// main.c
|
||
|
extern void redraw(void);
|
||
|
|
||
|
// basic.c
|
||
|
extern struct example *mkBasicExample(void);
|