graph: add bg and border color on __index
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
35e948f53b
commit
912b9cd28a
|
@ -448,6 +448,13 @@ luaA_graph_index(lua_State *L)
|
||||||
break;
|
break;
|
||||||
case A_TK_WIDTH:
|
case A_TK_WIDTH:
|
||||||
lua_pushnumber(L, d->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:
|
case A_TK_GROW:
|
||||||
switch(d->grow)
|
switch(d->grow)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue