← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Patchlets

 

On Tue, May 15, 2012 at 1:31 PM, Lorenzo Marcantonio
<l.marcantonio@xxxxxxxxxxxx> wrote:
> At last I remade the work...
>
>
> 016     The layer number from int becomes LAYER_NUM (original name!)
>
> 017     Replaced all the ugly (1 << layer) with GetLayerMask
>
> 018     Layer bitmaps (like visibles, enabled and so on) become
>        LAYER_MSK (which aligns to LAYER_NUM!)

Why is this stored in a bitmask anyway? Now everything depends on
#define INT_BITS
would not a <vector> or simple array[] make more sense?


Follow ups

References