forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
34
Kha/Kinc/Backends/System/Pi/Sources/kinc/backend/display.h
Normal file
34
Kha/Kinc/Backends/System/Pi/Sources/kinc/backend/display.h
Normal file
@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
namespace Kore {
|
||||
namespace Display {
|
||||
struct DeviceInfo {
|
||||
int number;
|
||||
bool isAvailable;
|
||||
char name[32];
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
bool isPrimary;
|
||||
|
||||
DeviceInfo() {
|
||||
number = -1;
|
||||
name[0] = 0;
|
||||
isAvailable = false;
|
||||
isPrimary = false;
|
||||
}
|
||||
};
|
||||
|
||||
void enumerate();
|
||||
const DeviceInfo *primaryScreen();
|
||||
const DeviceInfo *screenById(int id);
|
||||
|
||||
int height(int index);
|
||||
int width(int index);
|
||||
int x(int index);
|
||||
int y(int index);
|
||||
bool isPrimary(int index);
|
||||
int count();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user