• Lorenzo Marcantonio's avatar
    TEXTE_MODULE cleanup in preparation for text on different layers · 424aac6c
    Lorenzo Marcantonio authored
    - Removed the friends MODULE and FOOTPRINT_EDIT_FRAME from TEXTE_MODULE
      (as in the @todo comment)
    
    - Refactored the Rotate/Flip/Mirror for text in modules into the
      TEXTE_MODULE class itself (members RotateWithModule, FlipWithModule,
      MirrorWithModule)
    
    - New behaviour in coloring text on screen: reference and value still
      take the color from the MOD_TEXT_FR_VISIBLE and MOD_TEXT_BK_VISIBLE
      visibles; other text takes the color of the layer containing it
      (except when hidden, obviously) but still get its visibility
      controlled by those visibles (probably the most intuitive and useful
      behaviour)
    
    - Still need to decide: should text on a layer be hidden when the layer
      is? Probably yes (still to be implemented);
    
    - Some comment fixed and many cast converted to static_cast
    424aac6c
Name
Last commit
Last update
..
bright_box.cpp Loading commit data...
bright_box.h Loading commit data...
common_actions.cpp Loading commit data...
common_actions.h Loading commit data...
drawing_tool.cpp Loading commit data...
drawing_tool.h Loading commit data...
edit_constraints.cpp Loading commit data...
edit_constraints.h Loading commit data...
edit_points.cpp Loading commit data...
edit_points.h Loading commit data...
edit_tool.cpp Loading commit data...
edit_tool.h Loading commit data...
module_tools.cpp Loading commit data...
module_tools.h Loading commit data...
pcb_editor_control.cpp Loading commit data...
pcb_editor_control.h Loading commit data...
pcbnew_control.cpp Loading commit data...
pcbnew_control.h Loading commit data...
placement_tool.cpp Loading commit data...
placement_tool.h Loading commit data...
point_editor.cpp Loading commit data...
point_editor.h Loading commit data...
selection_area.cpp Loading commit data...
selection_area.h Loading commit data...
selection_conditions.cpp Loading commit data...
selection_conditions.h Loading commit data...
selection_tool.cpp Loading commit data...
selection_tool.h Loading commit data...