예제 #1
0
파일: vesa.c 프로젝트: Distrotech/syslinux
static int vesa_load_background(lua_State *L)
{
  const char *filename = luaL_checkstring(L, 1);

  vesacon_load_background(filename);

  return 0;
}
예제 #2
0
파일: calcmenu.c 프로젝트: nocl/calcboot
int draw_background(const char *what)
{
  if (!what)
    return vesacon_default_background();
  else if (what[0] == '#')
    return vesacon_set_background(parse_argb((char **)&what));
  else
    return vesacon_load_background(what);
}