• Dick Hollenbeck's avatar
    * Remove virtual BOARD_ITEM::{Get,Set}Position() which in turn means all · c2fa1b88
    Dick Hollenbeck authored
        derived classes' implementations of these functions become non virtual and
        can be truly _inlined_ for speed!  All GetPosition() in derived classes were also
        changed to return const wxPoint&, that is, a reference rather than a
        full copy of the position wxPoint. There was no need for polymorphism in
        {Get,Set}Position() since we never call these functions via generic pointer.
      * Remove BOARD::{Get,Set}Position() since they were only there to satisfy
        the pure virtuals established in BOARD_ITEM, which are now gone.
      * Added const wxPoint& CPolyLine::GetPos(), made CPolyLine::Get{X,Y}() inline.
      * Derive CPolyPt from wxPoint so we can return "const wxPoint&" fromt
        CPolyLine::GetPos().
    c2fa1b88
Name
Last commit
Last update
3d-viewer Loading commit data...
CMakeModules Loading commit data...
Documentation Loading commit data...
bitmap2component Loading commit data...
bitmaps_png Loading commit data...
bitmaps_xpm Loading commit data...
common Loading commit data...
cvpcb Loading commit data...
demos Loading commit data...
eeschema Loading commit data...
gerbview Loading commit data...
helpers/tools_to_build_newstroke-font Loading commit data...
include Loading commit data...
kicad Loading commit data...
new Loading commit data...
packaging Loading commit data...
pcb_calculator Loading commit data...
pcbnew Loading commit data...
polygon Loading commit data...
potrace Loading commit data...
resources Loading commit data...
scripts Loading commit data...
template Loading commit data...
tools Loading commit data...
.bzrignore Loading commit data...
AUTHORS.txt Loading commit data...
CHANGELOG.txt Loading commit data...
CMakeLists.txt Loading commit data...
COPYRIGHT.txt Loading commit data...
CTestConfig.cmake Loading commit data...
Doxyfile Loading commit data...
HOW_TO_CONTRIBUTE.txt Loading commit data...
INSTALL.txt Loading commit data...
README.txt Loading commit data...
TODO.txt Loading commit data...
copyright.h Loading commit data...
license_for_documentation.txt Loading commit data...
notes_about_pcbnew_new_file_format.odt Loading commit data...
uncrustify.cfg Loading commit data...
version.txt Loading commit data...