KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_setup_text_and_graphics.cpp File Reference
#include <pcb_edit_frame.h>
#include <board_design_settings.h>
#include <grid_tricks.h>
#include <eda_text.h>
#include <panel_setup_text_and_graphics.h>
#include <kidialog.h>

Go to the source code of this file.

Macros

#define SET_MILS_CELL(row, col, val)    m_grid->SetCellValue( row, col, m_Frame->StringFromValue( val, 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_FAB , ROW_OTHERS , ROW_COUNT
}
 

Macro Definition Documentation

◆ DISABLE_CELL

#define DISABLE_CELL (   row,
  col 
)     m_grid->SetReadOnly( row, col ); m_grid->SetCellBackgroundColour( row, col, disabledColour );

◆ SET_MILS_CELL

#define SET_MILS_CELL (   row,
  col,
  val 
)     m_grid->SetCellValue( row, col, m_Frame->StringFromValue( val, true ) )

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COL_LINE_THICKNESS 
COL_TEXT_WIDTH 
COL_TEXT_HEIGHT 
COL_TEXT_THICKNESS 
COL_TEXT_ITALIC 
COL_TEXT_UPRIGHT 

Definition at line 33 of file panel_setup_text_and_graphics.cpp.

◆ anonymous enum

anonymous enum
Enumerator
ROW_SILK 
ROW_COPPER 
ROW_EDGES 
ROW_COURTYARD 
ROW_FAB 
ROW_OTHERS 
ROW_COUNT 

Definition at line 43 of file panel_setup_text_and_graphics.cpp.