blob: 216ce8a23bd0ba9f3bd6ee5c880f0c19266f06ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef _GUILUA_H_
#define _GUILUA_H_
#include "LumbrJack.h"
#include "Runnr.h"
#include "winFang.h"
#define WIDTH (300)
#define HEIGHT (300)
#define SKANG "skang"
#define MODULEBEGIN "moduleBegin"
#define MODULEEND "moduleEnd"
#define THINGASM "thingasm"
typedef struct _GuiLua
{
lua_State *L;
char *name; // Name of the module.
winFang *us; // Our window, if it exists.
winFang *parent; // Our parent window, if it exists.
EPhysics_World *world; // Our world, if it exists.
Ecore_Con_Server *server;
int inDel;
Eina_Clist node;
void *data;
Evas_Smart_Cb on_del;
} GuiLua;
extern const char *glName;
GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world);
GuiLua *GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world);
void GuiLuaDel(GuiLua *gl);
#endif
|