Page 1 of 1
Allow the minimap border colour to be changed
Posted: 15 Aug 2010, 21:09
by TheFatController
Currently BA uses a widget solely to give the minimap a black border to keep it inline with the GUI and this widget has a significant FPS impact compared the engine minimap.
I'd love to replace this widget with one that just sends a command to change the border colour of the engine minimap.
I realise it's a stupid niche feature but please consider that there is no easy way to do this without writing a whole custom widget to redraw the minimap which seems pretty extreme (and slow in this case).
Thanks
Re: Allow the minimap border colour to be changed
Posted: 15 Aug 2010, 23:08
by jK
TheFatController wrote:that there is no easy way to do this without writing a whole custom widget to redraw the minimap which seems pretty extreme (and slow in this case)
That's just an exaggeration ...
If you want a better GUI then do it in Lua.
So no.
Re: Allow the minimap border colour to be changed
Posted: 15 Aug 2010, 23:33
by TheFatController
jK wrote:TheFatController wrote:that there is no easy way to do this without writing a whole custom widget to redraw the minimap which seems pretty extreme (and slow in this case)
That's just an exaggeration ...
If you want a better GUI then do it in Lua.
So no.
BA has a better GUI, written in Lua.
It's excessive to have to use a widget to regenerate the minimap when it would be simple to open up this hardcoded value in the engine.
The engine already provides an interface to modify the build/command bar, why not the minimap?
Re: Allow the minimap border colour to be changed
Posted: 15 Aug 2010, 23:37
by aegis
perhaps your widget could be made more efficient?
Re: Allow the minimap border colour to be changed
Posted: 15 Aug 2010, 23:50
by TheFatController
aegis wrote:perhaps your widget could be made more efficient?
The only thing I can see in the RedUI widget that looks inefficient are hacks to make it work around the buggy minimap override behaviour. I guess the alternative would be to find out from the author (Regret

) what the bugs were and try to get them documented and raised but I figured this was an easier and more reasonable request.