This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override public function drawToBitmapData(out:BitmapData = null, color:uint = 0, alpha:Number = 0.0):BitmapData | |
{ | |
var painter:Painter = Starling.painter; | |
var stage:Stage = Starling.current.stage; | |
var viewPort:Rectangle = Starling.current.viewPort; | |
var stageWidth:Number = stage.stageWidth; | |
var stageHeight:Number = stage.stageHeight; | |
var scaleX:Number = viewPort.width / stageWidth; | |
var scaleY:Number = viewPort.height / stageHeight; | |
var backBufferScale:Number = painter.backBufferScaleFactor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathers.controls | |
{ | |
import feathers.layout.HorizontalAlign; | |
import feathers.layout.VerticalAlign; | |
import flash.display.BitmapData; | |
import flash.display3D.textures.VideoTexture; | |
import flash.geom.Point; | |
import flash.geom.Rectangle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathers.controls.renderers | |
{ | |
import starling.display.DisplayObject; | |
public class ExtendedListItemRenderer extends DefaultListItemRenderer | |
{ | |
private var _iconPropertiesFunction:Function; | |
public function get iconPropertiesFunction():Function | |
{ | |
return _iconPropertiesFunction; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathers.controls | |
{ | |
import flash.geom.Rectangle; | |
import feathers.layout.HorizontalAlign; | |
import feathers.layout.VerticalAlign; | |
import starling.display.Quad; | |
import starling.utils.RectangleUtil; | |
import starling.utils.ScaleMode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package starling.extensions.starlingCallLater | |
{ | |
import starling.core.Starling; | |
import starling.display.Stage; | |
import starling.events.Event; | |
public class StarlingCallLater | |
{ | |
/** | |
* 2D Array of vectors containing FunctionReference instances. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package starling.extensions | |
{ | |
import starling.animation.DelayedCall; | |
import starling.animation.Juggler; | |
import starling.core.Starling; | |
import starling.events.EventDispatcher; | |
[Event(name="timer", type="starling.events.Event")] | |
[Event(name="timerComplete", type="starling.events.Event")] | |
public class Timer extends EventDispatcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package feathers.utils | |
{ | |
import feathers.dragDrop.DragData; | |
import feathers.dragDrop.DragDropManager; | |
import feathers.dragDrop.IDragSource; | |
import flash.desktop.Clipboard; | |
import flash.desktop.NativeDragActions; | |
import flash.desktop.NativeDragManager; | |
import flash.display.Sprite; |