Merge lp:~widelands-dev/widelands/inputwarequeue_display into lp:widelands
Proposed by
Benedikt Straub
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8765 | ||||
Proposed branch: | lp:~widelands-dev/widelands/inputwarequeue_display | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
75 lines (+31/-5) 3 files modified
src/economy/input_queue.cc (+8/-0) src/economy/input_queue.h (+8/-0) src/wui/inputqueuedisplay.cc (+15/-5) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/inputwarequeue_display | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Notabilis | Approve | ||
Review via email: mp+350385@code.launchpad.net |
Commit message
Missing wares (and workers) are indicated differently in InputQueueDisplays if the ware is on the way to the building than if it's really missing
To post a comment you must log in.
Good feature, I like it.
The structure of the code looks good, but there might be a bug in the calculations. When testing I reduced the maximum amount of requested wares for a building. It seems as if the number of darker shadow (the wares on their way?) is always the number of wares I reduced it by (e.g., building can store 10 logs, I clicked "store less" twice, now there are two darker shadows and 8 lighter ones).
Not quite sure whether the darker ones really are the requested ones, but it looks strange either way. From an UI perspective I would prefer the icon-order "wares currently stored", "wares on their way" (darker/more visible), "wares (possibly requested but) not on their way" (lighter/more transparent).
Also, I would prefer to not make the "lighter shadows" more transparent that they are in trunk. For some wares they are pretty hard to see and recognize at it is (blackwood, I think) and it becomes even more difficult with this branch.