Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#1675 closed enhancement (fixed)

[PATCH] Replace resource names with icons in tooltips

Reported by: zoot Owned by: leper
Priority: Nice to Have Milestone: Alpha 12
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

See this thread.

Caveats:

  • Something causes icons under the "Insufficient resources" heading not be rendered. Obviously this needs to be fixed before the patch is committed, but I honestly do not know what is causing it. Maybe someone else can figure it out.
  • People have requested spacing between icons and amounts. I suggest adding the THIN SPACE or HAIR SPACE Unicode characters to the game's fonts and use them as spacing characters.

Attachments (2)

resourceicons-flipped-wo-comma-space.diff (4.4 KB ) - added by zoot 12 years ago.
resource-icons-small5.tar.gz (4.0 KB ) - added by zoot 12 years ago.
Downscaled resource icons to be placed in binaries/data/mods/public/art/textures/ui/session/icons/resources

Download all attachments as: .zip

Change History (7)

by zoot, 12 years ago

Downscaled resource icons to be placed in binaries/data/mods/public/art/textures/ui/session/icons/resources

comment:1 by zoot, 12 years ago

Keywords: review added
Milestone: BacklogAlpha 12

comment:2 by historic_bruno, 12 years ago

Keywords: patch added

comment:3 by leper, 11 years ago

Owner: set to leper
Resolution: fixed
Status: newclosed

In 12845:

Replace resource names with icons in tooltips. Based on patch by zoot. Fixes #1675.

comment:4 by leper, 11 years ago

Keywords: review removed

Thanks for the patch. The first issue was resolved by exchanging the amount and the icon (I suppose it would have worked by adding a space after the icon). I added a space between the resource icon and the amount and two spaces between the resources, so it resembles the top bar.

comment:5 by ben, 11 years ago

In 13042:

Fixes cost spacing in wall construction tooltips, refs #1675

Note: See TracTickets for help on using tickets.