burger menu try

This commit is contained in:
2025-11-18 18:47:55 +01:00
parent e6cf110bd5
commit daa208a2fa
5 changed files with 32 additions and 5 deletions
+24
View File
@@ -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);
}
}