First Commit
This commit is contained in:
commit
ae0fab9400
424 files changed
+71006
No files matched your search
@@ -0,0 +1,29 @@
|
||||
// 20 january 2017
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "../../ui.h"
|
||||
|
||||
struct example {
|
||||
const char *name;
|
||||
uiControl *panel;
|
||||
void (*draw)(uiAreaDrawParams *p);
|
||||
void (*mouse)(uiAreaMouseEvent *e);
|
||||
int (*key)(uiAreaKeyEvent *e);
|
||||
// TODO key?
|
||||
};
|
||||
|
||||
// main.c
|
||||
extern void redraw(void);
|
||||
|
||||
// basic.c
|
||||
extern struct example *mkBasicExample(void);
|
||||
|
||||
// hittest.c
|
||||
extern struct example *mkHitTestExample(void);
|
||||
|
||||
// attributes.c
|
||||
extern struct example *mkAttributesExample(void);
|
||||
|
||||
// emptystr_hittest.c
|
||||
extern struct example *mkEmptyStringExample(void);
|
||||
Reference in new issue
Block a user