KiCad PCB EDA Suite
PANEL_GAL_DISPLAY_OPTIONS Class Reference

#include <panel_gal_display_options.h>

Inheritance diagram for PANEL_GAL_DISPLAY_OPTIONS:

Public Member Functions

 PANEL_GAL_DISPLAY_OPTIONS (wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
 

Private Member Functions

bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 

Private Attributes

GAL_OPTIONS_PANELm_galOptsPanel
 

Detailed Description

Definition at line 29 of file panel_gal_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_GAL_DISPLAY_OPTIONS()

PANEL_GAL_DISPLAY_OPTIONS::PANEL_GAL_DISPLAY_OPTIONS ( wxWindow *  aParent,
APP_SETTINGS_BASE aAppSettings 
)

Definition at line 26 of file panel_gal_display_options.cpp.

27 :
28 wxPanel( aParent, wxID_ANY )
29{
30 auto mainSizer = new wxBoxSizer( wxHORIZONTAL );
31 SetSizer( mainSizer );
32
33 // install GAL options pane
34 m_galOptsPanel = new GAL_OPTIONS_PANEL( this, aAppSettings );
35 mainSizer->Add( m_galOptsPanel, 1, wxEXPAND | wxLEFT, 5 );
36
37 // a spacer to take up the other half of the width
38 auto spacer = new wxPanel( this, wxID_ANY );
39 mainSizer->Add( spacer, 1, wxEXPAND | wxLEFT, 5 );
40}

References m_galOptsPanel.

Member Function Documentation

◆ TransferDataFromWindow()

bool PANEL_GAL_DISPLAY_OPTIONS::TransferDataFromWindow ( )
overrideprivate

Definition at line 50 of file panel_gal_display_options.cpp.

51{
53 return true;
54}
bool TransferDataFromWindow() override
Read the options set in the UI into the given options object.

References m_galOptsPanel, and GAL_OPTIONS_PANEL::TransferDataFromWindow().

◆ TransferDataToWindow()

bool PANEL_GAL_DISPLAY_OPTIONS::TransferDataToWindow ( )
overrideprivate

Definition at line 43 of file panel_gal_display_options.cpp.

44{
46 return true;
47}
bool TransferDataToWindow() override
Load the panel controls from the given opt.

References m_galOptsPanel, and GAL_OPTIONS_PANEL::TransferDataToWindow().

Member Data Documentation

◆ m_galOptsPanel

GAL_OPTIONS_PANEL* PANEL_GAL_DISPLAY_OPTIONS::m_galOptsPanel
private

The documentation for this class was generated from the following files: