diff --git a/bin/flash/bin/LPTCManager2026.swf b/bin/flash/bin/LPTCManager2026.swf index 1b957fe..ceb86ca 100644 Binary files a/bin/flash/bin/LPTCManager2026.swf and b/bin/flash/bin/LPTCManager2026.swf differ diff --git a/bin/flash/haxe/ApplicationMain.hx b/bin/flash/haxe/ApplicationMain.hx index 42e7f85..1f4dcb5 100644 --- a/bin/flash/haxe/ApplicationMain.hx +++ b/bin/flash/haxe/ApplicationMain.hx @@ -35,7 +35,7 @@ class ApplicationMain ManifestResources.init(config); #end - app.meta["build"] = "2"; + app.meta["build"] = "3"; app.meta["company"] = "Nekotoro"; app.meta["file"] = "LPTCManager2026"; app.meta["name"] = "LPTCManager2026"; diff --git a/src/LPTCManager2026.hx b/src/LPTCManager2026.hx index 9a16de5..964e4c3 100644 --- a/src/LPTCManager2026.hx +++ b/src/LPTCManager2026.hx @@ -1,3 +1,4 @@ +import model.Constants; import components.NekoRectangle; import openfl.display.Shape; import openfl.display.Graphics; @@ -27,9 +28,11 @@ class LPTCManager2026 extends Application { mainPanel = new Panel(); mainPanel.autoSizeMode = STAGE; - mainPanel.backgroundSkin = new NekoRectangle(0x93E9CB); + mainPanel.backgroundSkin = new NekoRectangle(Constants.MAIN_COLOR3); var header = new LayoutGroup(); + header.autoSizeMode = CONTENT; + header.backgroundSkin = new NekoRectangle(Constants.HERO_COLOR, 0, 0, stage.stageWidth, Std.int(stage.stageHeight * 8 / 100)); header.variant = LayoutGroup.VARIANT_TOOL_BAR; header.layout = new AnchorLayout(); @@ -42,6 +45,9 @@ class LPTCManager2026 extends Application { mainPanel.header = header; var footer = new LayoutGroup(); + + footer.autoSizeMode = CONTENT; + footer.backgroundSkin = new NekoRectangle(Constants.MAIN_COLOR2, 0, 0, stage.stageWidth, Std.int(stage.stageHeight * 10 / 100)); footer.variant = LayoutGroup.VARIANT_TOOL_BAR; footer.layout = new AnchorLayout(); diff --git a/src/model/Constants.hx b/src/model/Constants.hx new file mode 100644 index 0000000..b367f43 --- /dev/null +++ b/src/model/Constants.hx @@ -0,0 +1,15 @@ +package model; + +class Constants { + + public static final HERO_COLOR:Int = 0x050EB7; + public static final ACCENT_COLOR1:Int = 0xFF9F1C; + public static final ACCENT_COLOR2:Int = 0xFF5F0F ; + public static final MAIN_COLOR1:Int = 0x323D42; + public static final MAIN_COLOR2:Int = 0x69808A; + public static final MAIN_COLOR3:Int = 0xECEFF0; + + private function new() { + + } +} \ No newline at end of file