Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,45 @@
package kha;
class ScreenCanvas implements Canvas {
static var instance: ScreenCanvas = null;
function new() {}
public static var the(get, null): ScreenCanvas;
static function get_the(): ScreenCanvas {
if (instance == null)
instance = new ScreenCanvas();
return instance;
}
public var width(get, null): Int;
function get_width(): Int {
return System.windowWidth();
}
public var height(get, null): Int;
function get_height(): Int {
return System.windowHeight();
}
public var g1(get, null): kha.graphics1.Graphics;
function get_g1(): kha.graphics1.Graphics {
return null;
}
public var g2(get, null): kha.graphics2.Graphics;
function get_g2(): kha.graphics2.Graphics {
return null;
}
public var g4(get, null): kha.graphics4.Graphics;
function get_g4(): kha.graphics4.Graphics {
return null;
}
}