KiCad PCB EDA Suite
draw_frame.cpp File Reference
#include <fctsys.h>
#include <pgm_base.h>
#include <kiface_i.h>
#include <gr_basic.h>
#include <common.h>
#include <bitmaps.h>
#include <macros.h>
#include <id.h>
#include <class_drawpanel.h>
#include <class_draw_panel_gal.h>
#include <class_base_screen.h>
#include <msgpanel.h>
#include <draw_frame.h>
#include <confirm.h>
#include <kicad_device_context.h>
#include <dialog_helpers.h>
#include <base_units.h>
#include <math/box2.h>
#include <lockfile.h>
#include <wx/fontdlg.h>
#include <wx/snglinst.h>
#include <view/view.h>
#include <view/view_controls.h>
#include <gal/graphics_abstraction_layer.h>
#include <gal/gal_display_options.h>
#include <tool/tool_manager.h>
#include <tool/tool_dispatcher.h>
#include <tool/actions.h>

Go to the source code of this file.

Macros

#define VIRT_MIN   (-MAX_AXIS/2.0)
 min X or Y coordinate in virtual space More...
 
#define VIRT_MAX   (MAX_AXIS/2.0)
 max X or Y coordinate in virtual space More...
 

Functions

static const wxString traceScrollSettings (wxT("KicadScrollSettings"))
 Definition for enabling and disabling scroll bar setting trace output. More...
 
static const wxString MaxUndoItemsEntry (wxT("DevelMaxUndoItems"))
 Integer to set the maximum number of undo items on the stack. More...
 
 EVT_MENU_RANGE (ID_POPUP_ZOOM_START_RANGE, ID_POPUP_ZOOM_END_RANGE, EDA_DRAW_FRAME::OnZoom) EVT_MENU_RANGE(ID_POPUP_GRID_LEVEL_1000
 
EDA_DRAW_FRAME::OnSelectGrid EVT_TOOL_RANGE (ID_TB_OPTIONS_SELECT_UNIT_MM, ID_TB_OPTIONS_SELECT_UNIT_INCH, EDA_DRAW_FRAME::OnSelectUnits) EVT_UPDATE_UI_RANGE(ID_TB_OPTIONS_SELECT_UNIT_MM
 
static const wxString ShowGridEntryKeyword (wxT("ShowGrid"))
 Nonzero to show grid (suffix) More...
 
static const wxString GridColorEntryKeyword (wxT("GridColor"))
 Grid color ID (suffix) More...
 
static const wxString LastGridSizeIdKeyword (wxT("_LastGridSize"))
 Most recently used grid size (suffix) More...
 
static const wxString GalDisplayOptionsKeyword (wxT("GalDisplayOptions"))
 GAL Display Options. More...
 

Variables

 ID_POPUP_GRID_USER
 
EDA_DRAW_FRAME::OnSelectGrid ID_TB_OPTIONS_SELECT_UNIT_INCH
 
static const double MAX_AXIS = INT_MAX - 100
 

Macro Definition Documentation

#define VIRT_MAX   (MAX_AXIS/2.0)

max X or Y coordinate in virtual space

Definition at line 882 of file draw_frame.cpp.

Referenced by EDA_DRAW_FRAME::AdjustScrollBars().

#define VIRT_MIN   (-MAX_AXIS/2.0)

min X or Y coordinate in virtual space

Definition at line 881 of file draw_frame.cpp.

Referenced by EDA_DRAW_FRAME::AdjustScrollBars().

Function Documentation

static const wxString traceScrollSettings ( wxT("KicadScrollSettings")  )
static

Definition for enabling and disabling scroll bar setting trace output.

See the wxWidgets documentation on useing the WXTRACE environment variable.

Referenced by EDA_DRAW_FRAME::AdjustScrollBars().

Variable Documentation

const double MAX_AXIS = INT_MAX - 100
static

Definition at line 879 of file draw_frame.cpp.