matzman666 / PyPipboyApp

A platform independent and extensible unofficial Fallout 4 Pipboy Companion App
GNU General Public License v3.0
83 stars 20 forks source link

Map icon size change #28

Closed gwhittey23 closed 8 years ago

gwhittey23 commented 8 years ago

I added setSize to markerbase and changed all makers to use it for size setting default to what had. Added in ui under Marker Controls a slider and spinerbox to change size of location markers. Figured I do that one first and get to other later.

matzman666 commented 8 years ago

Well done. Did some improvements and applied it to all markers.

I am thinking about disabling the slider. For each slider step each marker creates a new pixmap from the corresponding svg. If you move the slider too fast, pixmap generation costs too much performance and the UI needs a while till it's responsive again. Or we could first only scale the existing pixmap, and after setting the maker size is finished (implemented as timeout) we could properly re-generate the pixmap from the svg.