forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
4
Kha/Backends/WPF/system/windows/media/Color.hx
Normal file
4
Kha/Backends/WPF/system/windows/media/Color.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.Color")
|
||||
extern class Color {}
|
7
Kha/Backends/WPF/system/windows/media/DrawingContext.hx
Normal file
7
Kha/Backends/WPF/system/windows/media/DrawingContext.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.DrawingContext")
|
||||
extern class DrawingContext {
|
||||
public function PushTransform(transform: MatrixTransform): Void;
|
||||
public function Pop(): Void;
|
||||
}
|
7
Kha/Backends/WPF/system/windows/media/DrawingVisual.hx
Normal file
7
Kha/Backends/WPF/system/windows/media/DrawingVisual.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.DrawingVisual")
|
||||
extern class DrawingVisual {
|
||||
public function new();
|
||||
public function RenderOpen(): DrawingContext;
|
||||
}
|
10
Kha/Backends/WPF/system/windows/media/ImageBrush.hx
Normal file
10
Kha/Backends/WPF/system/windows/media/ImageBrush.hx
Normal file
@ -0,0 +1,10 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.ImageBrush")
|
||||
extern class ImageBrush {
|
||||
// public function new();
|
||||
public function new(source: ImageSource);
|
||||
public var ImageSource(get, set): ImageSource;
|
||||
function get_ImageSource(): ImageSource;
|
||||
function set_ImageSource(source: ImageSource): ImageSource;
|
||||
}
|
6
Kha/Backends/WPF/system/windows/media/ImageSource.hx
Normal file
6
Kha/Backends/WPF/system/windows/media/ImageSource.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.ImageSource")
|
||||
extern class ImageSource {
|
||||
public function new() {}
|
||||
}
|
6
Kha/Backends/WPF/system/windows/media/MatrixTransform.hx
Normal file
6
Kha/Backends/WPF/system/windows/media/MatrixTransform.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.MatrixTransform")
|
||||
extern class MatrixTransform {
|
||||
public function new(m11: Float, m12: Float, m21: Float, m22: Float, offsetX: Float, offsetY: Float);
|
||||
}
|
16
Kha/Backends/WPF/system/windows/media/MediaPlayer.hx
Normal file
16
Kha/Backends/WPF/system/windows/media/MediaPlayer.hx
Normal file
@ -0,0 +1,16 @@
|
||||
package system.windows.media;
|
||||
|
||||
@:native("System.Windows.Media.MediaPlayer")
|
||||
extern class MediaPlayer {
|
||||
public var Volume: Float;
|
||||
|
||||
public function new(): Void;
|
||||
|
||||
public function Open(uri: Uri): Void;
|
||||
|
||||
public function Play(): Void;
|
||||
|
||||
public function Pause(): Void;
|
||||
|
||||
public function Stop(): Void;
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package system.windows.media.imaging;
|
||||
|
||||
@:native("System.Windows.Media.Imaging.BitmapSource")
|
||||
extern class BitmapSource {}
|
Reference in New Issue
Block a user