From db659865c1cf6ea44989b0604cbe4df535208363 Mon Sep 17 00:00:00 2001 From: rexim Date: Sun, 24 Mar 2024 00:49:12 +0700 Subject: Set Window Icon --- eepers.adb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eepers.adb') diff --git a/eepers.adb b/eepers.adb index 130fc11..d6f8119 100644 --- a/eepers.adb +++ b/eepers.adb @@ -1359,14 +1359,18 @@ procedure Eepers is Palette_Editor_Choice: Palette := Palette'First; Palette_Editor_Selected: Boolean := False; Palette_Editor_Component: HSV_Comp := Hue; + Icon: Image; begin if not Change_Directory(Get_Application_Directory) then Put_Line("WARNING: Could not change working directory to the application directory"); end if; + Icon := Load_Image("assets/icon.png"); + Set_Config_Flags(FLAG_WINDOW_RESIZABLE); Init_Window(1600, 900, Title); + Set_Window_Icon(Icon); Set_Target_FPS(60); Set_Exit_Key(KEY_NULL); @@ -1551,7 +1555,6 @@ begin Close_Window; end; --- TODO: Window title icon -- TODO: Loop the music -- TODO: Sound on Finishing Round -- TODO: Footstep variation for Mother/Guard bosses (depending on the distance traveled?) -- cgit v1.2.3