From 8d7a0b1799e18cd7986bf3c3cbbb05d856b0737a Mon Sep 17 00:00:00 2001 From: xolatile Date: Thu, 6 Jun 2024 16:13:48 -0400 Subject: [PATCH] Moved End Turn button... --- source/main.adb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/main.adb b/source/main.adb index 432a27a..24178bc 100644 --- a/source/main.adb +++ b/source/main.adb @@ -247,8 +247,9 @@ procedure main is -- at_y := at_y + core.base; -- - ui.draw_text_box (at_x + side, at_y, width - side - 2 * offset, 3 * core.icon); - ui.write ("Inventory", at_x + side + more, at_y + core.icon + more, code => true); + ui.draw_text_box (at_x + side, at_y, width - side - 2 * offset, 3 * core.icon); + ui.draw_end_turn_button (at_x + side + (width - side - 2 * offset - 2 * core.icon) / 2, at_y + core.icon / 2); + ui.write ("End Turn", at_x + side + less, at_y + core.icon + less); -- for index_y in 0 .. 2 loop for index_x in 0 .. 7 loop @@ -454,9 +455,6 @@ begin -- player_information; -- - ui.draw_end_turn_button (x => core.window_width - side_panel + side_panel / 2 - core.icon, - y => core.window_height - core.icon - text_box_height - 106 - 2 * core.icon); - -- ui.draw_console_box (x => core.window_width - core.icon - (side_panel - 2 * core.icon), y => core.window_height - core.icon - text_box_height - 106, width => side_panel - 2 * core.icon,