Rounded Widgets

What would you like to see in Freeciv? Do you have a good idea what should be improved or how?
Post Reply
drakeraider
Posts: 27
Joined: Sat Feb 03, 2018 11:49 pm

Rounded Widgets

Post by drakeraider »

I would love to see rounded corners on the boxes on the tech tree, and I'm not sure that this the only place that that would be beneficial either across the client. Would this be addable, or is there a quick and hacky way to do it in the meantime?
louis94
Hardened
Posts: 270
Joined: Thu Apr 25, 2013 10:17 pm
Location: Belgium

Re: Rounded Widgets

Post by louis94 »

You can do it if you're willing to code it yourself. You'll need a function canvas_put_rounded_rectangle in client/include/canvas_g.h. It must be implemented in the clients so you'll need to do that for the client of your choice. Next you'll need to update client/reqtree.c to use your new function (search for canvas_put_rectangle).

I don't see a use case for it... unless you're talking about making the techs look like Material Design "cards".
Post Reply