|
@@ -11,7 +11,7 @@ class Cursor extends hxd.App {
|
|
|
bmp.line(0, 31, 31, 31, 0xFFFF0000);
|
|
|
bmp.line(31, 0, 31, 31, 0xFF00FF00);
|
|
|
|
|
|
- var cursors : Array<hxd.System.Cursor> = [Default,Button,Move,TextInput,Hide,Custom(new hxd.System.CustomCursor([bmp],0.,16,16))];
|
|
|
+ var cursors : Array<hxd.Cursor> = [Default,Button,Move,TextInput,Hide,Custom(new hxd.Cursor.CustomCursor([bmp],0.,16,16))];
|
|
|
var pos = 0;
|
|
|
for( c in cursors ) {
|
|
|
var i = new h2d.Interactive(100, 20, s2d);
|
|
@@ -24,9 +24,7 @@ class Cursor extends hxd.App {
|
|
|
i.backgroundColor = Std.random(0x1000000) | 0xFF000000;
|
|
|
|
|
|
var supported = true;
|
|
|
- #if hl
|
|
|
- if( c == Move ) supported = false;
|
|
|
- #elseif js
|
|
|
+ #if js
|
|
|
if( c.match(Custom(_)) ) supported = false;
|
|
|
#end
|
|
|
|