|
|
@@ -52,7 +52,7 @@ package body unit is |
|
|
|
offset : constant integer := 4; |
|
|
|
begin |
|
|
|
core.draw (view_sprite (index), x + offset, y + offset); |
|
|
|
ui.draw_icon_menu (trait (index).text, x, y, view_width + 2 * offset, view_height + 2 * offset); |
|
|
|
ui.draw_icon_menu (x, y, view_width + 2 * offset, view_height + 2 * offset); |
|
|
|
end view; |
|
|
|
|
|
|
|
------------------------------------------------------------------------------------------ |
|
|
@@ -81,7 +81,7 @@ package body unit is |
|
|
|
-- |
|
|
|
for animate in animation loop |
|
|
|
draw (index, animate, move_x + offset + animation'pos (animate) * (sprite (index).width + 8), move_y + offset + 8 + core.icon * attribute.count); |
|
|
|
ui.draw_icon_menu (trait (index).text, move_x + offset + animation'pos (animate) * (sprite (index).width + 8), move_y + offset + 8 + core.icon * attribute.count, sprite (index).width, sprite (index).height); |
|
|
|
ui.draw_icon_menu (move_x + offset + animation'pos (animate) * (sprite (index).width + 8), move_y + offset + 8 + core.icon * attribute.count, sprite (index).width, sprite (index).height); |
|
|
|
end loop; |
|
|
|
end stat; |
|
|
|
|
|
|
|