Re: [Kicad-developers] [Patch] Move pcbnew layer toolbar icon values to member struct

2019-08-05 Thread Jeff Young
Hi Ian, I’ve merged your patch. Thanks! Cheers, Jeff. > On 5 Aug 2019, at 09:13, Ian McInerney wrote: > > Here is an updated version of this patch that goes with the constexpr color > definitions instead of the initialize-on-first-use. > > -Ian > > On Mon, Aug 5, 2019 at 12:20 PM Ian

Re: [Kicad-developers] [Patch] Move pcbnew layer toolbar icon values to member struct

2019-08-05 Thread Ian McInerney
Here is an updated version of this patch that goes with the constexpr color definitions instead of the initialize-on-first-use. -Ian On Mon, Aug 5, 2019 at 12:20 PM Ian McInerney wrote: > This patch moves the static variables in the toolbar icon creation > function into a member struct of the

[Kicad-developers] [Patch] Move pcbnew layer toolbar icon values to member struct

2019-08-05 Thread Ian McInerney
This patch moves the static variables in the toolbar icon creation function into a member struct of the PCB_EDIT_FRAME class. These statics had posed some issues on Linux before, and are also not very good for having multiple PCB_EDIT_FRAME instances at one time. This patch is dependent upon the