KiCad PCB EDA Suite
wxstruct.h File Reference

Base window classes and related definitions. More...

#include <vector>
#include <wx/socket.h>
#include <wx/log.h>
#include <wx/config.h>
#include <wx/wxhtml.h>
#include <wx/laywin.h>
#include <wx/aui/aui.h>
#include <wx/docview.h>
#include <fctsys.h>
#include <common.h>
#include <layers_id_colors_and_visibility.h>
#include <frame_type.h>

Go to the source code of this file.

Classes

class  EDA_BASE_FRAME
 Class EDA_BASE_FRAME is the base frame for deriving all KiCad main window classes. More...
 
class  EDA_PANEINFO
 Specialization of the wxAuiPaneInfo class for KiCad panels. More...
 

Macros

#define KICAD_DEFAULT_DRAWFRAME_STYLE   wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS
 
#define CREATE_BACKUP_FILE   true
 
#define NO_BACKUP_FILE   false
 
#define AUTOSAVE_PREFIX_FILENAME   wxT( "_saved_" )
 Prefix to create filenames for schematic files or other difile when auto-saved to retrieve a crash. More...
 

Enumerations

enum  id_librarytype { LIBRARY_TYPE_EESCHEMA, LIBRARY_TYPE_PCBNEW, LIBRARY_TYPE_DOC, LIBRARY_TYPE_SYMBOL }
 

Variables

const wxChar traceAutoSave []
 Custom trace mask to enable and disable auto save tracing. More...
 

Detailed Description

Base window classes and related definitions.

Definition in file wxstruct.h.

Macro Definition Documentation

#define AUTOSAVE_PREFIX_FILENAME   wxT( "_saved_" )

Prefix to create filenames for schematic files or other difile when auto-saved to retrieve a crash.

The auto-saved filenames are AUTOSAVE_PREFIX_FILENAME + <sourcefilename> where <sourcefilename> is the flename without path of the auto-saved file Warning: avoid any special charactoer like / \ $ % which can create issues on Unix or Window with filenames or env var expansion.

Definition at line 71 of file wxstruct.h.

Referenced by EDA_BASE_FRAME::CheckForAutoSaveFile(), SCH_EDIT_FRAME::doAutoSave(), SCH_EDIT_FRAME::OnCloseWindow(), and SCH_EDIT_FRAME::SaveEEFile().

#define CREATE_BACKUP_FILE   true

Definition at line 59 of file wxstruct.h.

Referenced by PCB_EDIT_FRAME::OpenProjectFiles().

#define KICAD_DEFAULT_DRAWFRAME_STYLE   wxDEFAULT_FRAME_STYLE | wxWANTS_CHARS

Definition at line 55 of file wxstruct.h.

#define NO_BACKUP_FILE   false

Enumeration Type Documentation

Enumerator
LIBRARY_TYPE_EESCHEMA 
LIBRARY_TYPE_PCBNEW 
LIBRARY_TYPE_DOC 
LIBRARY_TYPE_SYMBOL 

Definition at line 90 of file wxstruct.h.

Variable Documentation

const wxChar traceAutoSave[]