graph: add bg and border color on __index

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-28 13:31:33 +02:00
parent 35e948f53b
commit 912b9cd28a
1 changed files with 7 additions and 0 deletions

View File

@ -448,6 +448,13 @@ luaA_graph_index(lua_State *L)
break;
case A_TK_WIDTH:
lua_pushnumber(L, d->width);
break;
case A_TK_BORDER_COLOR:
lua_pushstring(L, d->border_color.name);
break;
case A_TK_BG:
lua_pushstring(L, d->bg.name);
break;
case A_TK_GROW:
switch(d->grow)
{