LPCGame
A Simple 2d Game Engine
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
luacwindow.h
1 #ifndef LUACWINDOW_H
2 #define LUACWINDOW_H
3 
4 #include <string>
5 #include <lua.hpp>
6 
8 
12 namespace LuaC {
13  //The Window class/type name
14  const std::string windowClass = "Window";
18  class WindowLib {
19  public:
21  static int luaopen_window(lua_State *l);
22 
23  private:
25  static void openFlipEnum(lua_State *l);
27  static const struct luaL_reg luaWindowLib[];
32  static int draw(lua_State *l);
34  static int getBox(lua_State *l);
35 
36  private:
38  static void DrawImage(lua_State *l);
39  static void DrawAnimatedImage(lua_State *l);
40  static void DrawText(lua_State *l);
41  };
42 }
43 
44 #endif