PCBNew UI normalization and global variable reductions.
* All: remove all remaining occurrences of g_DialogFont and dialog font menu handers. * All: remove all remaining non-standard fonts and button text colors from common dialogs. * PCBNew: remove all non-standard fonts and button text colors from dialogs. * PCBNew: update project library and path dialog to match changes to CVPCB version. * EESchema: update project library and path dialog to match changes to CVPCB version. * EESchema: save vertical/horizontal line direction setting between sessions.
This commit is contained in:
@@ -114,49 +114,6 @@ WinEDA_DrawFrame::~WinEDA_DrawFrame()
|
||||
}
|
||||
|
||||
|
||||
/****************************************************************/
|
||||
void WinEDA_DrawFrame::AddFontSelectionMenu( wxMenu* main_menu )
|
||||
/*****************************************************************/
|
||||
|
||||
/* create the submenu for font selection and setup font size
|
||||
*/
|
||||
{
|
||||
wxMenu* fontmenu = new wxMenu();
|
||||
|
||||
ADD_MENUITEM( fontmenu,
|
||||
ID_PREFERENCES_FONT_DIALOG,
|
||||
_( "Dialog boxes" ),
|
||||
fonts_xpm );
|
||||
|
||||
ADD_MENUITEM_WITH_HELP_AND_SUBMENU( main_menu,
|
||||
fontmenu,
|
||||
ID_PREFERENCES_FONT,
|
||||
_( "&Font" ),
|
||||
_( "Choose font type and size for dialogs, infos and status box" ),
|
||||
fonts_xpm );
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
void WinEDA_DrawFrame::ProcessFontPreferences( wxCommandEvent& event )
|
||||
/********************************************************************/
|
||||
{
|
||||
int id = event.GetId();
|
||||
|
||||
switch( id )
|
||||
{
|
||||
case ID_PREFERENCES_FONT:
|
||||
case ID_PREFERENCES_FONT_DIALOG:
|
||||
WinEDA_BasicFrame::ProcessFontPreferences( id );
|
||||
break;
|
||||
|
||||
default:
|
||||
DisplayError( this, wxT( "WinEDA_DrawFrame::ProcessFontPreferences " \
|
||||
"Internal Error" ) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**************************************************************/
|
||||
void WinEDA_DrawFrame::Affiche_Message( const wxString& message )
|
||||
/**************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user