aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/GuiLua.h
blob: 388e3435026cb00a9431dcde02e0853fd9f3b0ea (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
#include "SledjHamr.h"
#include "LumbrJack.h"
#include "Runnr.h"


typedef struct _globals globals;


#define WIDTH  (300)
#define HEIGHT (300)

#define SKANG		"skang"
#define MODULEBEGIN	"moduleBegin"
#define MODULEEND	"moduleEnd"
#define THINGASM	"thingasm"


struct _globals
{
  Evas_Object	*win;		// Our Elm window.
  Eina_Clist	widgets;	// Our windows widgets.
  int		logDom;		// Our logging domain.

Ecore_Evas       *ee;
Evas             *evas;
Evas_Object      *background;
Evas_Object      *image;
};


int luaopen_widget(lua_State *L);
void GuiLuaDo(int argc, char **argv);