Add window.displayMode for fullscreen display mode switching

This commit is contained in:
Joshua Granick
2017-02-28 11:32:55 -08:00
parent 314e020428
commit 81c4926802
14 changed files with 350 additions and 24 deletions

View File

@@ -0,0 +1,33 @@
#ifndef LIME_SYSTEM_DISPLAY_MODE_H
#define LIME_SYSTEM_DISPLAY_MODE_H
#include <hx/CFFI.h>
#include <graphics/PixelFormat.h>
namespace lime {
class DisplayMode {
public:
DisplayMode ();
DisplayMode (value DisplayMode);
DisplayMode (int width, int height, PixelFormat pixelFormat, int refreshRate);
value Value ();
int height;
PixelFormat pixelFormat;
int refreshRate;
int width;
};
}
#endif