Initial commit
This commit is contained in:
24
Display.h
Normal file
24
Display.h
Normal file
@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
class Display
|
||||
{
|
||||
public:
|
||||
enum class Rotation
|
||||
{
|
||||
ROTATE_0 = DMDO_DEFAULT,
|
||||
ROTATE_90 = DMDO_90,
|
||||
ROTATE_180 = DMDO_180,
|
||||
ROTATE_270 = DMDO_270,
|
||||
};
|
||||
|
||||
Display();
|
||||
|
||||
void rotate(Rotation rot);
|
||||
void apply();
|
||||
|
||||
private:
|
||||
DEVMODE _devmode = { 0 };
|
||||
};
|
||||
Reference in New Issue
Block a user