burger menu try

This commit is contained in:
nekotoro committed 2025-11-18 18:47:55 +01:00
1 parent e6cf110bd5
commit daa208a2fa
5 files changed
+32 -5

No files matched your search

+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);
}
}