Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1431 closed enhancement (fixed)

[PATCH] Technologies in process of research should show up along the side of the screen

Reported by: michael Owned by: Deiz
Priority: Nice to Have Milestone: Alpha 11
Component: UI & Simulation Keywords: Technologies UI patch
Cc: Jonathan Waller Patch:

Description (last modified by michael)

The icons of technologies currently being researched, along with green progress overlay, could show up along the side of the screen for visual quick-reference. Mouseover/hover can show a tooltip with the pertinent information. Queued items are not to be included--only those items in progress.

Possible enhancements include:

  • Include units being trained in this feature.
  • Click icon to center camera and select appropriate structure.

Attachments (3)

techui.jpg (379.0 KB ) - added by michael 12 years ago.
Example of tech icons, currently being researched in upper right corner.
research-display.patch (9.0 KB ) - added by Deiz 12 years ago.
research-display-2.patch (9.6 KB ) - added by Deiz 12 years ago.

Download all attachments as: .zip

Change History (11)

by michael, 12 years ago

Attachment: techui.jpg added

Example of tech icons, currently being researched in upper right corner.

comment:1 by michael, 12 years ago

Description: modified (diff)

comment:2 by michael, 12 years ago

Description: modified (diff)

comment:3 by Deiz, 12 years ago

Keywords: patch review added
Owner: set to Deiz
Status: newassigned
Summary: Technologies in process of research should show up along the side of the screen[PATCH] Technologies in process of research should show up along the side of the screen

I've implemented this for techs. I've opted not to incorporate in-training units for now, but it'd be easy enough to add that functionality if it's desired.

The button layout code is a one-off because the generic functions (in unit_commands.js) are intended for rows and would've needed a fair bit of column-specific tweaking.

I also made some graphical tweaks to the buttons in the column (specifically, the green progress bar only renders over the icon, not the button border). Again, easy to change back if it's undesirable, but I for one think it looks much better.

The 'z' attributes for the game menu and developer menu were mucked with a bit due to odd rendering issues (progress bars rendering over the menu background, et cetera).

by Deiz, 12 years ago

Attachment: research-display.patch added

comment:4 by historic_bruno, 12 years ago

Can you post a screenshot so we can see how it looks in action, and how it compares with Michael's mockup?

comment:5 by Deiz, 12 years ago

Screenshot:

http://i.imgur.com/PrT3H.png

by Deiz, 12 years ago

Attachment: research-display-2.patch added

comment:6 by historic_bruno, 12 years ago

Cc: Jonathan Waller added

comment:7 by Deiz, 12 years ago

Resolution: fixed
Status: assignedclosed

In 12243:

Display in-progress technologies in the upper right of the screen. Fixes #1431.

comment:8 by Deiz, 12 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.