kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #11544
Function prototypes
I'm LAYER_NUMizating the state of the art imported contributions, i.e.
mostly replacing ints with LAYER_NUM.
Found a sad thing indeed: in pcb_painter.h we have prototypes like:
virtual bool Draw( const VIEW_ITEM*, int );
IMHO argument names would be useful in the header files:P And, by the
way, that int is a layer number...
Is that wanted? Some kind of new C++ coding style? At least there is
a @copydoc referring back to the parent class, however it's very
unconvenient to go find it to read the complete declaration...
--
Lorenzo Marcantonio
Logos Srl
Follow ups