| 4088 | } |
| 4089 | |
| 4090 | static int gui_parsecolor(lua_State *L) |
| 4091 | { |
| 4092 | int r, g, b, a; |
| 4093 | uint32 color = gui_getcolour(L,1); |
| 4094 | LUA_DECOMPOSE_PIXEL(color, a, r, g, b); |
| 4095 | lua_pushinteger(L, r); |
| 4096 | lua_pushinteger(L, g); |
| 4097 | lua_pushinteger(L, b); |
| 4098 | lua_pushinteger(L, a); |
| 4099 | return 4; |
| 4100 | } |
| 4101 | |
| 4102 | |
| 4103 | // gui.savescreenshotas() |
nothing calls this directly
no test coverage detected