KiCad PCB EDA Suite
|
page layout editor main file. More...
#include <fctsys.h>
#include <kiface_i.h>
#include <confirm.h>
#include <gestfich.h>
#include <worksheet_shape_builder.h>
#include <pl_editor_frame.h>
#include <hotkeys.h>
#include <build_version.h>
#include <wx/file.h>
#include <wx/snglinst.h>
Go to the source code of this file.
Classes | |
struct | PGE::IFACE |
Namespaces | |
PGE | |
Functions | |
PGE::IFACE KIFACE_I | PGE::kiface ("pl_editor", KIWAY::FACE_PL_EDITOR) |
IFACE (const char *aName, KIWAY::FACE_T aType) | |
bool | OnKifaceStart (PGM_BASE *aProgram, int aCtlBits) override |
void | OnKifaceEnd () override |
wxWindow * | CreateWindow (wxWindow *aParent, int aClassId, KIWAY *aKiway, int aCtlBits=0) override |
void * | IfaceOrAddress (int aDataId) override |
Function IfaceOrAddress return a pointer to the requested object. More... | |
KIFACE_I & | Kiface () |
Global KIFACE_I "get" accessor. More... | |
MY_API (KIFACE *) KIFACE_GETTER(int *aKIFACEversion | |
PGM_BASE & | Pgm () |
The global Program "get" accessor. More... | |
Variables | |
static PGM_BASE * | process |
int | aKiwayVersion |
int PGM_BASE * | aProgram |
return & | kiface |
page layout editor main file.
Definition in file pl_editor.cpp.
|
override |
Definition at line 144 of file pl_editor.cpp.
kiface::IFACE | ( | const char * | aName, |
KIWAY::FACE_T | aType | ||
) |
Definition at line 136 of file pl_editor.cpp.
|
override |
Function IfaceOrAddress return a pointer to the requested object.
The safest way to use this is to retrieve a pointer to a static instance of an interface, similar to how the KIFACE interface is exported. But if you know what you are doing use it to retrieve anything you want.
aDataId | identifies which object you want the address of. |
Definition at line 173 of file pl_editor.cpp.
References WORKSHEET_LAYOUT::GetTheInstance(), PL_EDITOR_FRAME::LoadPageLayoutDescrFile(), PL_EDITOR_FRAME::OnNewPageLayout(), and WORKSHEET_LAYOUT::SetPageLayout().
KIFACE_I& Kiface | ( | ) |
Global KIFACE_I "get" accessor.
Definition at line 100 of file pl_editor.cpp.
References PGE::kiface().
MY_API | ( | KIFACE * | ) |
|
override |
|
override |
PGM_BASE& Pgm | ( | ) |
The global Program "get" accessor.
Implemented in: 1) common/single_top.cpp, 2) kicad/kicad.cpp, and 3) scripting/kiway.i
Definition at line 112 of file pl_editor.cpp.
References process, and program.
int aKiwayVersion |
Definition at line 105 of file pl_editor.cpp.
int PGM_BASE* aProgram |
Definition at line 106 of file pl_editor.cpp.
Referenced by PGE::IFACE::IFACE().
return& kiface |
Definition at line 108 of file pl_editor.cpp.
|
static |
Definition at line 98 of file pl_editor.cpp.
Referenced by Pgm().