#1214 closed enhancement (fixed)
[PATCH] Barter Button Removal, Bartering UI Tweak
Reported by: | michael | Owned by: | fcxSanya |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 10 |
Component: | UI & Simulation | Keywords: | barter market ui |
Cc: | Patch: |
Description
Remove the 'Barter' button from the bartering panel in the Market UI. Just select the 'Sell' resource in the top row, then begin clicking the desired 'Buy' resource in the bottom row. No need for the 'Barter' button. This space can be used for the 'trade tax'. I know we went back and forth about this prior to adding bartering, but after some playtesting I feel the button is completely unnecessary. Tooltips completely suffice. Later we can add an option to turn on/off tooltips.
Attachments (1)
Change History (13)
comment:1 by , 12 years ago
Component: | Game engine → Simulation |
---|---|
Keywords: | barter market ui added; Barter Market UI removed |
Priority: | Should Have → Nice to Have |
Type: | task → enhancement |
by , 12 years ago
Attachment: | barter_two_clicks_2012_04_01.diff added |
---|
comment:2 by , 12 years ago
Keywords: | review added |
---|---|
Owner: | set to |
Status: | new → assigned |
Summary: | Barter Button Removal, Bartering UI Tweak → [PATCH] Barter Button Removal, Bartering UI Tweak |
follow-up: 4 comment:3 by , 12 years ago
follow-up: 8 comment:4 by , 12 years ago
Replying to fcxSanya:
Ideally there should be only one set of 'active' icons, and 'selected' should be implemented via adding yellow corners overlay to it, but I don't know how to do this without ugly image-inside-image workaround.
After discussion on IRC it seems like 'image-inside-image' is not so bad and already used in other places, so I will do 'selected' icons this way.
comment:5 by , 12 years ago
Seems like Michael commited your patch in [11450]. I suppose this was unintended.
comment:6 by , 12 years ago
Ok, leper, if the patch was nearly there, please just commit the changes needed to clean it up.
If the patch needed a lot of work, please pull the mistakenly committed code until it is ready.
follow-up: 9 comment:8 by , 12 years ago
Keywords: | review removed |
---|
Replying to fcxSanya:
After discussion on IRC it seems like 'image-inside-image' is not so bad and already used in other places, so I will do 'selected' icons this way.
As Michael had already commited your patch and I made it use the nice grayscale option I closed this ticket. I added some comments to the formation and stances gui code as those should also use the "image-inside-image" way to mark them as selected. I will probably try to make those cases work with the "image-inside-image" way, but if you want to do that just say so.
follow-up: 10 comment:9 by , 12 years ago
Replying to leper:
I will probably try to make those cases work with the "image-inside-image" way, but if you want to do that just say so.
Most likely you will do this much faster than me, so go ahead :)
follow-up: 12 comment:11 by , 12 years ago
Replying to leper:
Done.
Nice, thanks :)
As I understand it is r11464 , good to have the link here for reference. You can use SpecialCommands in such cases, e.g. add 'Refs #1214' to the commit message.
Currently there is two sets of buttons: 'inactive' (greyed) and 'selected' (coloured and with yellow corners). In the current svn version all barter buttons displayed as inactive except one selected in the first row (resource to sell) and one selected in the second row (resource to buy), in this patch there is obviously no selected icon in the second row and all they displayed as 'inactive' which as a bit misleading. Given r11364 we can replace the 'inactive' set of icons with the 'active' (coloured) and use:
Ideally there should be only one set of 'active' icons, and 'selected' should be implemented via adding yellow corners overlay to it, but I don't know how to do this without ugly image-inside-image workaround.