add files not currently available in source (e.g. docs, modules, etc.)
set svn:eol-style property to native for all ascii files to support cross platform development
This commit is contained in:
+47
-47
@@ -7,7 +7,7 @@
|
||||
#endif
|
||||
|
||||
#include "fctsys.h"
|
||||
#include <wx/fontdlg.h>
|
||||
#include <wx/fontdlg.h>
|
||||
#include "common.h"
|
||||
#include "id.h"
|
||||
|
||||
@@ -50,8 +50,8 @@ wxSize minsize;
|
||||
/******************************************/
|
||||
WinEDA_BasicFrame::~WinEDA_BasicFrame(void)
|
||||
/******************************************/
|
||||
{
|
||||
if ( m_Parent->m_HtmlCtrl ) delete m_Parent->m_HtmlCtrl;
|
||||
{
|
||||
if ( m_Parent->m_HtmlCtrl ) delete m_Parent->m_HtmlCtrl;
|
||||
m_Parent->m_HtmlCtrl = NULL;
|
||||
}
|
||||
|
||||
@@ -226,49 +226,49 @@ void WinEDA_BasicFrame::GetKicadAbout(wxCommandEvent& event)
|
||||
Print_Kicad_Infos(this);
|
||||
}
|
||||
|
||||
/********************************************************************/
|
||||
void WinEDA_BasicFrame::ProcessFontPreferences(int id)
|
||||
/********************************************************************/
|
||||
{
|
||||
wxFont font;
|
||||
|
||||
switch (id)
|
||||
{
|
||||
/********************************************************************/
|
||||
void WinEDA_BasicFrame::ProcessFontPreferences(int id)
|
||||
/********************************************************************/
|
||||
{
|
||||
wxFont font;
|
||||
|
||||
switch (id)
|
||||
{
|
||||
|
||||
case ID_PREFERENCES_FONT:
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_FONT_STATUS:
|
||||
{
|
||||
font = wxGetFontFromUser(this, *g_StdFont);
|
||||
if ( font.Ok() )
|
||||
{
|
||||
int pointsize = font.GetPointSize();
|
||||
*g_StdFont = font;
|
||||
SetFont(*g_StdFont);
|
||||
if ( GetStatusBar() )
|
||||
GetStatusBar()->SetFont(*g_StdFont);
|
||||
g_StdFontPointSize = pointsize;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case ID_PREFERENCES_FONT_DIALOG:
|
||||
{
|
||||
font = wxGetFontFromUser(this, *g_DialogFont);
|
||||
if ( font.Ok() )
|
||||
{
|
||||
int pointsize = font.GetPointSize();
|
||||
*g_DialogFont = font;
|
||||
SetFont(*g_DialogFont);
|
||||
g_DialogFontPointSize = pointsize;
|
||||
g_FixedFontPointSize = pointsize;
|
||||
case ID_PREFERENCES_FONT:
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_FONT_STATUS:
|
||||
{
|
||||
font = wxGetFontFromUser(this, *g_StdFont);
|
||||
if ( font.Ok() )
|
||||
{
|
||||
int pointsize = font.GetPointSize();
|
||||
*g_StdFont = font;
|
||||
SetFont(*g_StdFont);
|
||||
if ( GetStatusBar() )
|
||||
GetStatusBar()->SetFont(*g_StdFont);
|
||||
g_StdFontPointSize = pointsize;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case ID_PREFERENCES_FONT_DIALOG:
|
||||
{
|
||||
font = wxGetFontFromUser(this, *g_DialogFont);
|
||||
if ( font.Ok() )
|
||||
{
|
||||
int pointsize = font.GetPointSize();
|
||||
*g_DialogFont = font;
|
||||
SetFont(*g_DialogFont);
|
||||
g_DialogFontPointSize = pointsize;
|
||||
g_FixedFontPointSize = pointsize;
|
||||
g_FixedFont->SetPointSize(g_FixedFontPointSize);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default: DisplayError(this, wxT("WinEDA_BasicFrame::ProcessFontPreferences Internal Error") );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default: DisplayError(this, wxT("WinEDA_BasicFrame::ProcessFontPreferences Internal Error") );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user