Commit e8778199 authored by charras's avatar charras
Browse files

Pcbnew: Added: Option to show the via area while creating a new track. Better code.

parent 360eda0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ email address.
++Pcbnew:
    Added: in DRC tests: tests for vias min size and tracks min width.
    Added: Option to show the via area while creating a new track.
        Useful in compact designs to know hos to place a via during track creation.
        Useful in compact designs to know how to place a via during track creation.

2009-june-11 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ BEGIN_EVENT_TABLE( WinEDA_GerberFrame, WinEDA_BasePcbFrame )

    EVT_MENU( ID_COLORS_SETUP, WinEDA_GerberFrame::Process_Config )
    EVT_MENU( ID_OPTIONS_SETUP, WinEDA_GerberFrame::Process_Config )
    EVT_MENU( ID_PCB_LOOK_SETUP, WinEDA_GerberFrame::Process_Config )
    EVT_MENU( ID_PCB_DISPLAY_OPTIONS_SETUP, WinEDA_GerberFrame::Process_Config )

    EVT_MENU_RANGE( ID_LANGUAGE_CHOICE, ID_LANGUAGE_CHOICE_END,
                    WinEDA_DrawFrame::SetLanguage )
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ void WinEDA_GerberFrame::Process_Config( wxCommandEvent& event )
    }

    case ID_PCB_TRACK_SIZE_SETUP:
    case ID_PCB_LOOK_SETUP:
    case ID_PCB_DISPLAY_OPTIONS_SETUP:
    case ID_OPTIONS_SETUP:
        InstallPcbOptionsFrame( pos, id );
        break;
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer)
    DisplayOpt.DisplayPadNoConn = 0;
    DisplayOpt.DisplayPadIsol = 0;
    DisplayOpt.DisplayPcbTrackFill = FILLED;
    DisplayOpt.DisplayTrackIsol = 0;
    DisplayOpt.ShowTrackClearanceMode = DO_NOT_SHOW_CLEARANCE;
    DisplayOpt.DisplayDrawItems = FILLED;
    DisplayOpt.DisplayZonesMode = 0;

+1 −1
Original line number Diff line number Diff line
@@ -390,7 +390,7 @@ void WinEDA_GerberFrame::InstallPcbOptionsFrame( const wxPoint& pos, int id )
{
    switch( id )
    {
    case ID_PCB_LOOK_SETUP:
    case ID_PCB_DISPLAY_OPTIONS_SETUP:
    {
        WinEDA_LookFrame* OptionsFrame =
            new WinEDA_LookFrame( this, pos );
Loading