Cleanup.
Since MediaContainer imports this, I've got half a mind to just reduce this simple player back down to play/pause and have MsoyVideoDisplay subclass this. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@702 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -64,11 +64,6 @@ public class SimpleVideoDisplay extends Sprite
|
|||||||
g.drawRect(0, 0, NATIVE_WIDTH, NATIVE_HEIGHT);
|
g.drawRect(0, 0, NATIVE_WIDTH, NATIVE_HEIGHT);
|
||||||
g.endFill();
|
g.endFill();
|
||||||
|
|
||||||
g = this.graphics;
|
|
||||||
g.beginFill(0xFF000000);
|
|
||||||
g.drawRect(0, 0, NATIVE_WIDTH, NATIVE_HEIGHT);
|
|
||||||
g.endFill();
|
|
||||||
|
|
||||||
// and update the HUD location (even if not currently showing)
|
// and update the HUD location (even if not currently showing)
|
||||||
_hud.x = NATIVE_WIDTH/2;
|
_hud.x = NATIVE_WIDTH/2;
|
||||||
_hud.y = NATIVE_HEIGHT/2;
|
_hud.y = NATIVE_HEIGHT/2;
|
||||||
|
|||||||
Reference in New Issue
Block a user