This commit is contained in:
IoIxD 2026-01-04 13:06:36 -07:00
commit 54cdd85015
6 changed files with 36 additions and 4 deletions

View file

@ -797,3 +797,11 @@ void MwGetCursorCoord(MwWidget handle, MwPoint* point) {
void MwGetScreenSize(MwWidget handle, MwRect* rect) {
MwLLGetScreenSize(handle->lowlevel, rect);
}
int MwGetCoordinateType(MwWidget handle) {
if(handle->parent == NULL) {
return handle->lowlevel->common.coordinate_type;
} else {
return MwCoordinatesLocal;
}
};