Add window.displayMode for fullscreen display mode switching
This commit is contained in:
33
project/include/system/DisplayMode.h
Normal file
33
project/include/system/DisplayMode.h
Normal 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
|
||||
Reference in New Issue
Block a user