burger menu try
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package components;
|
||||
|
||||
import openfl.display.Bitmap;
|
||||
import openfl.display.BitmapData;
|
||||
import feathers.controls.Button;
|
||||
import t9.util.ColorTraces.*;
|
||||
|
||||
class NekoIconButton extends Button{
|
||||
|
||||
private var bmp:Bitmap;
|
||||
|
||||
public function new(pSkin:BitmapData, pX:Int = 0, pY:Int = 0, pWidth:Int = 100, pHeight:Int = 100) {
|
||||
|
||||
super();
|
||||
|
||||
bmp = new Bitmap(pSkin);
|
||||
backgroundSkin = bmp;
|
||||
bmp.width = pWidth;
|
||||
bmp.height = pHeight;
|
||||
bmp.smoothing = true;
|
||||
traceYellow(pWidth + " / " + pHeight);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user