HL bindings

This commit is contained in:
Joshua Granick
2018-06-15 00:22:24 -07:00
parent 9fdfc84aac
commit 9e9ec78a3b
19 changed files with 678 additions and 498 deletions

View File

@@ -9,21 +9,37 @@
namespace lime {
struct HL_DisplayMode {
hl_type* t;
int height;
PixelFormat pixelFormat;
int refreshRate;
int width;
};
class DisplayMode {
public:
DisplayMode ();
DisplayMode (value DisplayMode);
DisplayMode (HL_DisplayMode* DisplayMode);
DisplayMode (int width, int height, PixelFormat pixelFormat, int refreshRate);
value Value ();
void* Value ();
int height;
PixelFormat pixelFormat;
int refreshRate;
int width;
private:
HL_DisplayMode* _mode;
};