Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#307 closed task (released)

Add support for multiple stat lines

Reported by: ibboard Owned by: ibboard
Priority: major Milestone: WarFoundry 0.1
Component: WarFoundry-GUI-GTK# Version: Trunk
Keywords: multiple stats ui Cc:
Blocked By: Blocking: #86

Description

The GTK# UI currently has a warning because it is still using the old single stat-line property of the unit. We need to try to mirror the WinForms UI and support multiple stat lines of potentially different types.

Change History (7)

comment:1 Changed 9 years ago by ibboard

Accept tickets that should be done

comment:2 Changed 9 years ago by ibboard

Status: newconfirmed

comment:3 Changed 9 years ago by ibboard

Owner: set to ibboard
Status: confirmedaccepted

comment:4 Changed 9 years ago by ibboard

In [712]:

Re #307: Add support for multiple stat lines

  • Implement starts of multiple stat lines, based on WinForms method
    • Replace existing NodeView with a VBox for repeat widgets
    • Create NodeViews for each stat line type and append stats

Currently fails to show stats.

comment:5 Changed 9 years ago by ibboard

In [713]:

Re #307: Add support for multiple stat lines

  • Fix GTK assert by casting array of stats to an object
  • Fix stat rendering by checking for Stat[] type instead of old Unit check

comment:6 Changed 9 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

Seems to be working when using a test file with two of one stat line format and one of another.

comment:7 Changed 9 years ago by ibboard

Resolution: fixedreleased

Released in WF GTK v0.1 beta 1

Note: See TracTickets for help on using tickets.