Kinc to Kore

This commit is contained in:
Gorochu
2026-06-09 13:00:08 -07:00
parent 7558d03739
commit c24828f11d
895 changed files with 0 additions and 0 deletions

View 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();
}
}