2021-11-01 11:20:13 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
2025-01-01 13:30:11 -08:00
|
|
|
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
|
2021-11-01 11:20:13 +00:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2024-10-01 21:44:50 +01:00
|
|
|
#pragma once
|
2021-11-01 11:20:13 +00:00
|
|
|
|
2024-10-01 21:44:50 +01:00
|
|
|
#include "panel_sym_display_options_base.h"
|
2021-11-01 11:20:13 +00:00
|
|
|
|
|
|
|
class APP_SETTINGS_BASE;
|
|
|
|
class GAL_OPTIONS_PANEL;
|
2024-10-01 21:44:50 +01:00
|
|
|
class SYMBOL_EDITOR_SETTINGS;
|
2021-11-01 11:20:13 +00:00
|
|
|
|
|
|
|
|
2024-10-01 21:44:50 +01:00
|
|
|
class PANEL_SYM_DISPLAY_OPTIONS : public PANEL_SYM_DISPLAY_OPTIONS_BASE
|
2021-11-01 11:20:13 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
PANEL_SYM_DISPLAY_OPTIONS( wxWindow* aParent, APP_SETTINGS_BASE* aAppSettings );
|
|
|
|
|
|
|
|
bool TransferDataToWindow() override;
|
|
|
|
bool TransferDataFromWindow() override;
|
|
|
|
|
|
|
|
void ResetPanel() override;
|
|
|
|
|
2024-10-01 21:44:50 +01:00
|
|
|
private:
|
|
|
|
void loadSymEditorSettings( SYMBOL_EDITOR_SETTINGS* aCfg );
|
|
|
|
|
2021-11-01 11:20:13 +00:00
|
|
|
private:
|
|
|
|
GAL_OPTIONS_PANEL* m_galOptsPanel;
|
|
|
|
};
|