KiCad PCB EDA Suite
panel_modedit_defaults.cpp File Reference
#include <fctsys.h>
#include <pcbnew.h>
#include <board_design_settings.h>
#include <widgets/paged_dialog.h>
#include <footprint_edit_frame.h>
#include <widgets/wx_grid.h>
#include <panel_modedit_defaults.h>

Go to the source code of this file.

Macros

#define SET_MILS_CELL(row, col, val)   m_grid->SetCellValue( row, col, StringFromValue( m_frame->GetUserUnits(), val, true, true ) )
 
#define DISABLE_CELL(row, col)   m_grid->SetReadOnly( row, col ); m_grid->SetCellBackgroundColour( row, col, disabledColour );
 

Enumerations

enum  {
  COL_LINE_THICKNESS = 0, COL_TEXT_WIDTH, COL_TEXT_HEIGHT, COL_TEXT_THICKNESS,
  COL_TEXT_ITALIC
}
 
enum  {
  ROW_SILK = 0, ROW_COPPER, ROW_EDGES, ROW_COURTYARD,
  ROW_OTHERS, ROW_COUNT
}
 

Macro Definition Documentation

#define DISABLE_CELL (   row,
  col 
)    m_grid->SetReadOnly( row, col ); m_grid->SetCellBackgroundColour( row, col, disabledColour );
#define SET_MILS_CELL (   row,
  col,
  val 
)    m_grid->SetCellValue( row, col, StringFromValue( m_frame->GetUserUnits(), val, true, true ) )

Enumeration Type Documentation

anonymous enum
Enumerator
COL_LINE_THICKNESS 
COL_TEXT_WIDTH 
COL_TEXT_HEIGHT 
COL_TEXT_THICKNESS 
COL_TEXT_ITALIC 

Definition at line 35 of file panel_modedit_defaults.cpp.

anonymous enum
Enumerator
ROW_SILK 
ROW_COPPER 
ROW_EDGES 
ROW_COURTYARD 
ROW_OTHERS 
ROW_COUNT 

Definition at line 44 of file panel_modedit_defaults.cpp.