KiCad PCB EDA Suite
panel_setup_text_and_graphics.cpp File Reference
#include <fctsys.h>
#include <base_units.h>
#include <class_drawpanel.h>
#include <pcb_edit_frame.h>
#include <board_design_settings.h>
#include <widgets/wx_grid.h>
#include <panel_setup_text_and_graphics.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, COL_TEXT_UPRIGHT
}
 
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
anonymous enum
Enumerator
ROW_SILK 
ROW_COPPER 
ROW_EDGES 
ROW_COURTYARD 
ROW_OTHERS 
ROW_COUNT 

Definition at line 46 of file panel_setup_text_and_graphics.cpp.