diff --git a/source/skill.adb b/source/skill.adb index 7c7d3eb..0610c16 100644 --- a/source/skill.adb +++ b/source/skill.adb @@ -25,7 +25,7 @@ package body skill is procedure menu (x, y : in integer; center : in boolean) is column : constant integer := 2; - offset : constant integer := 16; + offset : constant integer := 32; width : constant integer := 216 * column + 2 * offset; height : constant integer := (count / column) * core.icon + 2 * offset; move_x : constant integer := (if center then (core.window_width - width) / 2 else x); diff --git a/source/skill.ads b/source/skill.ads index f56f0bb..aee0c4f 100644 --- a/source/skill.ads +++ b/source/skill.ads @@ -28,7 +28,7 @@ package skill is count : constant natural := enumeration'pos (enumeration'last) + 1; trait : constant array (enumeration) of information := ( - ("Archery ", 0, "- "), + ("Archery ", 0, "Archery skill determines effectiveness and range or your ranged units. "), ("Diplomacy ", 0, "- "), ("Estates ", 0, "- "), ("Exploration ", 0, "- "), diff --git a/source/ui.adb b/source/ui.adb index ad9b36d..0a1901c 100644 --- a/source/ui.adb +++ b/source/ui.adb @@ -132,7 +132,7 @@ package body ui is procedure configure is procedure load_ui (index : in style; folder_path : in string) is begin - glyphs (index) := core.import_font ("./sprite/ui/" & folder_path & "/font.png", (if index = main then 16 else 24), 0); + glyphs (index) := core.import_font ("./sprite/ui/" & folder_path & "/font.png", 24, 0); -- for this in element loop sprite (index, this) := core.import_sprite ("./sprite/ui/" & folder_path & core.lowercase (element'image (this)) & ".png", 1, 1); @@ -230,7 +230,7 @@ package body ui is -- draw_horizontally (title_bar_middle, x + sprite (active, title_bar_left).width, y - sprite (active, title_bar_middle).height, middle_width); -- - core.write (title, x + sprite (active, title_bar_left).width / 2, y - sprite (active, title_bar_middle).height / 2 - 4, glyphs (active)); + core.write (title, x + sprite (active, title_bar_left).width / 2 + 16, y - sprite (active, title_bar_middle).height / 2 - 8, glyphs (active)); -- select_text_box (title, x, y - sprite (active, title_bar_middle).height, width, sprite (active, title_bar_middle).height); end draw_title_bar; diff --git a/sprite/ui/main/corner_lower_left.png b/sprite/ui/main/corner_lower_left.png index 7e51f27..04859e5 100644 Binary files a/sprite/ui/main/corner_lower_left.png and b/sprite/ui/main/corner_lower_left.png differ