Fixes
This commit is contained in:
@@ -175,7 +175,7 @@ class Application extends Module {
|
||||
public function onWindowFocusIn ():Void {}
|
||||
public function onWindowFocusOut ():Void {}
|
||||
public function onWindowMove (x:Float, y:Float):Void {}
|
||||
public function onWindowResize (width:Float, height:Float):Void {}
|
||||
public function onWindowResize (width:Int, height:Int):Void {}
|
||||
|
||||
|
||||
public function render (context:RenderContext):Void {
|
||||
|
||||
@@ -29,7 +29,7 @@ class Window {
|
||||
public static var onWindowFocusIn = new Event<Void->Void> ();
|
||||
public static var onWindowFocusOut = new Event<Void->Void> ();
|
||||
public static var onWindowMove = new Event<Float->Float->Void> ();
|
||||
public static var onWindowResize = new Event<Float->Float->Void> ();
|
||||
public static var onWindowResize = new Event<Int->Int->Void> ();
|
||||
|
||||
private static var eventInfo = new WindowEventInfo ();
|
||||
private static var registered:Bool;
|
||||
|
||||
@@ -1112,6 +1112,12 @@ class ByteArray extends Bytes implements ArrayAccess<Int> implements IDataInput
|
||||
writeInt(value);
|
||||
}
|
||||
|
||||
public function writeUnsignedShort (value:Int):Void {
|
||||
|
||||
writeShort(value);
|
||||
|
||||
}
|
||||
|
||||
public function writeUTF(s:String)
|
||||
{
|
||||
#if neko
|
||||
|
||||
Reference in New Issue
Block a user