KiCad PCB EDA Suite
Loading...
Searching...
No Matches
gal_options_panel.cpp File Reference
#include <wx/sizer.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/radiobox.h>
#include <wx/spinctrl.h>
#include <wx/stattext.h>
#include <wx/statbox.h>
#include <wx/statline.h>
#include <core/ignore.h>
#include <widgets/gal_options_panel.h>
#include <settings/app_settings.h>
#include <eda_draw_frame.h>
#include <config_map.h>

Go to the source code of this file.

Variables

static const double gridThicknessMin = 1.0
 
static const double gridThicknessMax = 10.0
 
static const double gridThicknessStep = 0.5
 
static const double gridMinSpacingMin = 5
 
static const double gridMinSpacingMax = 200
 
static const double gridMinSpacingStep = 5
 
static const UTIL::CFG_MAP< KIGFX::GRID_STYLEgridStyleSelectMap
 TODO: These are duplicated in gal_display_options - Unify! More...
 
static const UTIL::CFG_MAP< KIGFX::GRID_SNAPPINGgridSnapConfigVals
 

Variable Documentation

◆ gridMinSpacingMax

const double gridMinSpacingMax = 200
static

Definition at line 49 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().

◆ gridMinSpacingMin

const double gridMinSpacingMin = 5
static

Definition at line 48 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().

◆ gridMinSpacingStep

const double gridMinSpacingStep = 5
static

Definition at line 50 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().

◆ gridSnapConfigVals

◆ gridStyleSelectMap

const UTIL::CFG_MAP<KIGFX::GRID_STYLE> gridStyleSelectMap
static
Initial value:
=
{
}
@ SMALL_CROSS
Use small cross instead of dots for the grid.
@ DOTS
Use dots for the grid.
@ LINES
Use lines for the grid.

TODO: These are duplicated in gal_display_options - Unify!

Definition at line 54 of file gal_options_panel.cpp.

◆ gridThicknessMax

const double gridThicknessMax = 10.0
static

Definition at line 45 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().

◆ gridThicknessMin

const double gridThicknessMin = 1.0
static

Definition at line 44 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().

◆ gridThicknessStep

const double gridThicknessStep = 0.5
static

Definition at line 46 of file gal_options_panel.cpp.

Referenced by GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL().