KiCad PCB EDA Suite
eda_base_frame.cpp File Reference
#include <bitmaps.h>
#include <bitmap_store.h>
#include <dialog_shim.h>
#include <dialogs/panel_common_settings.h>
#include <dialogs/panel_mouse_settings.h>
#include <dialogs/panel_data_collection.h>
#include <eda_dde.h>
#include <file_history.h>
#include <id.h>
#include <kiface_base.h>
#include <menus_helpers.h>
#include <hotkeys_basic.h>
#include <panel_hotkeys_editor.h>
#include <paths.h>
#include <confirm.h>
#include <panel_pcm_settings.h>
#include <pgm_base.h>
#include <settings/app_settings.h>
#include <settings/common_settings.h>
#include <settings/settings_manager.h>
#include <project/project_local_settings.h>
#include <tool/action_manager.h>
#include <tool/action_menu.h>
#include <tool/action_toolbar.h>
#include <tool/actions.h>
#include <tool/common_control.h>
#include <tool/tool_manager.h>
#include <tool/tool_dispatcher.h>
#include <trace_helpers.h>
#include <widgets/paged_dialog.h>
#include <widgets/wx_infobar.h>
#include <widgets/wx_aui_art_providers.h>
#include <wx/app.h>
#include <wx/config.h>
#include <wx/display.h>
#include <wx/stdpaths.h>
#include <wx/string.h>
#include <wx/treebook.h>
#include <kiplatform/app.h>
#include <kiplatform/ui.h>
#include <functional>
#include <kiface_ids.h>

Go to the source code of this file.

Macros

#define CREATE_PANEL(key)   kiface->CreateKiWindow( book, key, &Kiway() )
 

Functions

 wxDEFINE_EVENT (UNITS_CHANGED, wxCommandEvent)
 
static const wxSize minSize (FRAME_T aFrameType)
 
static const wxSize defaultSize (FRAME_T aFrameType)
 

Macro Definition Documentation

◆ CREATE_PANEL

#define CREATE_PANEL (   key)    kiface->CreateKiWindow( book, key, &Kiway() )

Function Documentation

◆ defaultSize()

static const wxSize defaultSize ( FRAME_T  aFrameType)
static

Definition at line 87 of file eda_base_frame.cpp.

88{
89 switch( aFrameType )
90 {
92 return wxSize( 850, 540 );
93
94 default:
95 return wxSize( 1280, 720 );
96 }
97}
@ KICAD_MAIN_FRAME_T
Definition: frame_type.h:64

References KICAD_MAIN_FRAME_T.

Referenced by EDA_BASE_FRAME::commonInit(), EDA_BASE_FRAME::LoadWindowState(), SPLIT_BUTTON::SPLIT_BUTTON(), and STD_BITMAP_BUTTON::STD_BITMAP_BUTTON().

◆ minSize()

static const wxSize minSize ( FRAME_T  aFrameType)
static

Definition at line 74 of file eda_base_frame.cpp.

75{
76 switch( aFrameType )
77 {
79 return wxSize( 406, 354 );
80
81 default:
82 return wxSize( 500, 400 );
83 }
84}

References KICAD_MAIN_FRAME_T.

Referenced by EDA_BASE_FRAME::commonInit(), and EDA_BASE_FRAME::LoadWindowState().

◆ wxDEFINE_EVENT()

wxDEFINE_EVENT ( UNITS_CHANGED  ,
wxCommandEvent   
)