forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
8
Kha/Backends/WPF/system/windows/controls/Canvas.hx
Normal file
8
Kha/Backends/WPF/system/windows/controls/Canvas.hx
Normal file
@ -0,0 +1,8 @@
|
||||
package system.windows.controls;
|
||||
|
||||
import system.windows.FrameworkElement;
|
||||
|
||||
@:native("System.Windows.Controls.Canvas")
|
||||
extern class Canvas extends FrameworkElement {
|
||||
public function new(): Void;
|
||||
}
|
24
Kha/Backends/WPF/system/windows/controls/MediaElement.hx
Normal file
24
Kha/Backends/WPF/system/windows/controls/MediaElement.hx
Normal file
@ -0,0 +1,24 @@
|
||||
package system.windows.controls;
|
||||
|
||||
import system.Uri;
|
||||
|
||||
@:native("System.Windows.Controls.MediaElement")
|
||||
extern class MediaElement {
|
||||
public var Volume: Float;
|
||||
public var Source: Uri;
|
||||
public var LoadedBehavior: MediaState;
|
||||
public var UnloadedBehavior: MediaState;
|
||||
|
||||
public var MediaOpened: Dynamic;
|
||||
|
||||
public function new(): Void {}
|
||||
|
||||
public function Play(): Void {}
|
||||
|
||||
public function Pause(): Void {}
|
||||
|
||||
public function Stop(): Void {}
|
||||
}
|
||||
|
||||
@:native("System.Windows.RoutedEventArgs")
|
||||
extern class RoutedEventArgs {}
|
10
Kha/Backends/WPF/system/windows/controls/MediaState.hx
Normal file
10
Kha/Backends/WPF/system/windows/controls/MediaState.hx
Normal file
@ -0,0 +1,10 @@
|
||||
package system.windows.controls;
|
||||
|
||||
@:native("System.Windows.Controls.MediaState")
|
||||
extern enum MediaState {
|
||||
Manual;
|
||||
Play;
|
||||
Close;
|
||||
Pause;
|
||||
Stop;
|
||||
}
|
Reference in New Issue
Block a user