Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
3823d660
Commit
3823d660
authored
Nov 07, 2007
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed not used files. french kicad.po updated
parent
1e896d17
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
228 additions
and
2275 deletions
+228
-2275
change_log.txt
change_log.txt
+6
-0
svg_print.cpp.notused
common/svg_print.cpp.notused
+0
-509
svg_print.h.notused
common/svg_print.h.notused
+0
-125
svg_print.pjd.notused
common/svg_print.pjd.notused
+0
-1081
eestatus.cpp.notused
eeschema/eestatus.cpp.notused
+0
-332
kicad.mo
internat/fr/kicad.mo
+0
-0
kicad.po
internat/fr/kicad.po
+222
-228
No files found.
change_log.txt
View file @
3823d660
...
...
@@ -4,6 +4,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Nov-02 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+ all
removed not used files
2007-Nov-07 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
================================================================================
+ all
...
...
common/svg_print.cpp.notused
deleted
100644 → 0
View file @
1e896d17
This diff is collapsed.
Click to expand it.
common/svg_print.h.notused
deleted
100644 → 0
View file @
1e896d17
/////////////////////////////////////////////////////////////////////////////
// Name: svg_print.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 27/10/2007 12:48:35
// RCS-ID:
// Copyright: License GNU
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 27/10/2007 12:48:35
#ifndef _SVG_PRINT_H_
#define _SVG_PRINT_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "svg_print.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
#include "wx/spinctrl.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
class wxSpinCtrl;
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_DIALOG 10000
#define ID_SPINCTRL 10003
#define ID_RADIOBOX_SETPRINTMODE 10007
#define ID_CHECKBOX 10004
#define ID_RADIOBOX 10005
#define ID_PRINT_EXECUTE 10002
#define ID_TEXTCTRL 10001
#define ID_TEXTCTRL1 10006
#define SYMBOL_WINEDA_PRINTSVGFRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|MAYBE_RESIZE_BORDER
#define SYMBOL_WINEDA_PRINTSVGFRAME_TITLE _("Create SVG file")
#define SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME ID_DIALOG
#define SYMBOL_WINEDA_PRINTSVGFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_PRINTSVGFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* WinEDA_PrintSVGFrame class declaration
*/
class WinEDA_PrintSVGFrame: public wxDialog
{
DECLARE_DYNAMIC_CLASS( WinEDA_PrintSVGFrame )
DECLARE_EVENT_TABLE()
public:
/// Constructors
WinEDA_PrintSVGFrame();
WinEDA_PrintSVGFrame( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE );
/// Creation
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WINEDA_PRINTSVGFRAME_IDNAME, const wxString& caption = SYMBOL_WINEDA_PRINTSVGFRAME_TITLE, const wxPoint& pos = SYMBOL_WINEDA_PRINTSVGFRAME_POSITION, const wxSize& size = SYMBOL_WINEDA_PRINTSVGFRAME_SIZE, long style = SYMBOL_WINEDA_PRINTSVGFRAME_STYLE );
/// Destructor
~WinEDA_PrintSVGFrame();
/// Initialises member variables
void Init();
/// Creates the controls and sizers
void CreateControls();
////@begin WinEDA_PrintSVGFrame event handler declarations
/// wxEVT_CLOSE_WINDOW event handler for ID_DIALOG
void OnCloseWindow( wxCloseEvent& event );
/// wxEVT_COMMAND_SPINCTRL_UPDATED event handler for ID_SPINCTRL
void OnSpinctrlUpdated( wxSpinEvent& event );
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for ID_RADIOBOX_SETPRINTMODE
void OnRadioboxSetprintmodeSelected( wxCommandEvent& event );
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_PRINT_EXECUTE
void OnPrintExecuteClick( wxCommandEvent& event );
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_CLOSE
void OnCloseClick( wxCommandEvent& event );
////@end WinEDA_PrintSVGFrame event handler declarations
////@begin WinEDA_PrintSVGFrame member function declarations
/// Retrieves bitmap resources
wxBitmap GetBitmapResource( const wxString& name );
/// Retrieves icon resources
wxIcon GetIconResource( const wxString& name );
////@end WinEDA_PrintSVGFrame member function declarations
/// Should we show tooltips?
static bool ShowToolTips();
////@begin WinEDA_PrintSVGFrame member variables
wxSpinCtrl* m_ButtPenWidth;
wxRadioBox* m_ModeColorOption;
wxCheckBox* m_Print_Sheet_Ref;
wxRadioBox* m_PagesOption;
wxTextCtrl* m_FileNameCtrl;
wxTextCtrl* m_MessagesBox;
////@end WinEDA_PrintSVGFrame member variables
};
#endif
// _SVG_PRINT_H_
common/svg_print.pjd.notused
deleted
100644 → 0
View file @
1e896d17
This diff is collapsed.
Click to expand it.
eeschema/eestatus.cpp.notused
deleted
100644 → 0
View file @
1e896d17
/*****************************************************/
/* Gestion de la configuration generale de EESCHEMA */
/*****************************************************/
/* Gestion de la fenetre de selection des librarires actives, de leur chemin
et du format des netlistes gnres
*/
#include "fctsys.h"
#include "common.h"
#include "program.h"
#include "libcmp.h"
#include "general.h"
#include "protos.h"
#include "netlist.h"
#include "id.h"
/* Fonctions Locales */
/***********/
enum {
SAVE_CFG = 1000,
DEL_LIB,
ADD_LIB,
INSERT_LIB,
FORMAT_NETLIST
};
/* Forward declarations */
/* Routines Locales */
/*************************************************/
/* classe derivee pour la frame de Configuration */
/*************************************************/
class WinEDA_ConfigFrame: public wxDialog
{
private:
protected:
public:
WinEDA_SchematicFrame * m_Parent;
wxListBox * m_ListLibr;
wxRadioBox *m_NetFormatBox;
bool m_LibListChanged;
WinEDA_EnterText * LibDirCtrl;
// Constructor and destructor
WinEDA_ConfigFrame(WinEDA_SchematicFrame *parent, const wxPoint& pos);
~WinEDA_ConfigFrame() {};
void OnCloseWindow(wxCloseEvent & event);
void CreateListFormatsNetListes(const wxPoint & pos);
void SaveCfg(wxCommandEvent& event);
void LibDelFct(wxCommandEvent& event);
void AddOrInsertLibrary(wxCommandEvent& event);
void ReturnNetFormat(wxCommandEvent& event);
void ChangeSetup();
DECLARE_EVENT_TABLE()
};
/* Construction de la table des evenements pour WinEDA_ConfigFrame */
BEGIN_EVENT_TABLE(WinEDA_ConfigFrame, wxDialog)
EVT_BUTTON(SAVE_CFG, WinEDA_ConfigFrame::SaveCfg)
EVT_BUTTON(DEL_LIB, WinEDA_ConfigFrame::LibDelFct)
EVT_BUTTON(ADD_LIB, WinEDA_ConfigFrame::AddOrInsertLibrary)
EVT_BUTTON(INSERT_LIB, WinEDA_ConfigFrame::AddOrInsertLibrary)
EVT_RADIOBOX(FORMAT_NETLIST, WinEDA_ConfigFrame::ReturnNetFormat)
EVT_CLOSE(WinEDA_ConfigFrame::OnCloseWindow)
END_EVENT_TABLE()
/******************************************************************/
void WinEDA_SchematicFrame::InstallConfigFrame(const wxPoint & pos)
/******************************************************************/
{
WinEDA_ConfigFrame * CfgFrame = new WinEDA_ConfigFrame(this, pos);
CfgFrame->ShowModal(); CfgFrame->Destroy();
}
#define X_SIZE 500
#define Y_SIZE 360
/********************************************************************/
WinEDA_ConfigFrame::WinEDA_ConfigFrame(WinEDA_SchematicFrame *parent,
const wxPoint& framepos):
wxDialog(parent, -1, wxEmptyString, framepos, wxSize(X_SIZE, Y_SIZE),
DIALOG_STYLE )
/*****************************************************************/
/* Constructeur de WinEDA_ConfigFrame: la fenetre de config des librairies
*/
{
wxPoint pos;
wxSize size;
int dimy;
wxString msg;
wxButton * Button;
m_Parent = parent;
m_LibListChanged = FALSE;
SetFont(*g_DialogFont);
msg = _("from ") + EDA_Appl->m_CurrentOptionFile;
SetTitle(msg);
/* Creation des boutons de commande */
pos.x = 10; pos.y = 5;
Button = new wxButton(this, SAVE_CFG, _("Save Cfg"), pos);
Button->SetForegroundColour(*wxRED);
pos.x = 230;
Button = new wxButton(this, DEL_LIB, _("Del"), pos);
Button->SetForegroundColour(*wxRED);
pos.x += Button->GetSize().x;
Button = new wxButton(this, ADD_LIB, _("Add"), pos );
Button->SetForegroundColour(wxColor(0,80,0));
pos.x += Button->GetSize().x;
Button = new wxButton(this, INSERT_LIB, _("Ins"), pos );
Button->SetForegroundColour(*wxBLUE);
pos.x = 10; pos.y = 45;
CreateListFormatsNetListes(pos);
pos.x = 235; pos.y = 55;
m_ListLibr = new wxListBox(this,
-1, pos, wxSize(X_SIZE - pos.x -10,225),
0,NULL,
wxLB_ALWAYS_SB|wxLB_SINGLE);
wxStaticText * Msg = new wxStaticText(this, -1, _("Libraries"),
wxPoint(pos.x, pos.y - 14) );
Msg->SetForegroundColour(wxColour(200,0,0) );
m_ListLibr->InsertItems(g_LibName_List, 0);
// Affichage des extensions des diffrents fichiers:
dimy = 17;
pos.x = 10;
pos.y = m_NetFormatBox->GetPosition().y + m_NetFormatBox->GetSize().y + 10;
wxStaticBox * Box = new wxStaticBox(this, -1, _("Files ext:"), pos, wxSize(180,110) );
pos.y += 20; pos.x += 10;
msg = _("Cmp file Ext: ") + g_NetCmpExtBuffer;
wxStaticText * text = new wxStaticText(this, -1, msg, pos);
pos.y += dimy;
msg = _("Net file Ext: ") + g_NetExtBuffer;
text = new wxStaticText(this, -1, msg, pos);
pos.y += dimy;
msg = _("Library file Ext: ") + g_LibExtBuffer;
text = new wxStaticText(this, -1, msg, pos);
pos.y += dimy;
msg = _("Symbol file Ext: ") + g_SymbolExtBuffer;
text = new wxStaticText(this, -1, msg, pos);
pos.y += dimy;
msg = _("Schematic file Ext: ") + g_SchExtBuffer;
text = new wxStaticText(this, -1, msg, pos);
int posY = Box->GetPosition().y + Box->GetSize().y + 30;
pos.x = 10; pos.y = MAX(310, posY);
size.x = X_SIZE - pos.x -10; size.y = -1;
LibDirCtrl = new WinEDA_EnterText(this,
_("Library files path:"), g_UserLibDirBuffer,
pos, size);
pos.y += LibDirCtrl->GetDimension().y + 5;
SetClientSize(wxSize(X_SIZE, pos.y) );
}
/***********************************************************/
void WinEDA_ConfigFrame::OnCloseWindow(wxCloseEvent & event)
/***********************************************************/
{
ChangeSetup();
if ( m_LibListChanged )
{
LoadLibraries(m_Parent);
if ( m_Parent->m_Parent->ViewlibFrame )
m_Parent->m_Parent->ViewlibFrame->ReCreateListLib();
}
EndModal(0);
}
/*******************************************/
void WinEDA_ConfigFrame::ChangeSetup()
/*******************************************/
{
g_UserLibDirBuffer = LibDirCtrl->GetData();
SetRealLibraryPath( wxT("library") );
}
/******************************************************/
void WinEDA_ConfigFrame::SaveCfg(wxCommandEvent& event)
/******************************************************/
{
ChangeSetup();
m_Parent->Save_Config(this);
}
/********************************************************/
void WinEDA_ConfigFrame::LibDelFct(wxCommandEvent& event)
/********************************************************/
{
int ii;
ii = m_ListLibr->GetSelection();
if ( ii < 0 ) return;
g_LibName_List.RemoveAt(ii);
m_ListLibr->Clear();
m_ListLibr->InsertItems(g_LibName_List, 0);
m_LibListChanged = TRUE;
}
/****************************************************************/
void WinEDA_ConfigFrame::AddOrInsertLibrary(wxCommandEvent& event)
/****************************************************************/
/* Insert or add a library to the existing library list:
New library is put in list before (insert) or after (add)
the selection
*/
{
int ii;
wxString FullLibName,ShortLibName, Mask;
ii = m_ListLibr->GetSelection();
if ( ii < 0 ) ii = 0;
ChangeSetup();
if( event.GetId() == ADD_LIB)
{
if( g_LibName_List.GetCount() != 0 ) ii ++; /* Add after selection */
}
Mask = wxT("*") + g_LibExtBuffer;
FullLibName = EDA_FileSelector( _("Library files:"),
g_RealLibDirBuffer, /* Chemin par defaut */
wxEmptyString, /* nom fichier par defaut */
g_LibExtBuffer, /* extension par defaut */
Mask, /* Masque d'affichage */
this,
wxFD_OPEN,
TRUE
);
if ( FullLibName.IsEmpty() ) return;
ShortLibName = MakeReducedFileName(FullLibName,g_RealLibDirBuffer,g_LibExtBuffer);
//Add or insert new library name
if (FindLibrary(ShortLibName) == NULL)
{
m_LibListChanged = TRUE;
g_LibName_List.Insert(ShortLibName, ii);
m_ListLibr->Clear();
m_ListLibr->InsertItems(g_LibName_List, 0);
}
else DisplayError(this, _("Library already in use"));
}
/**************************************************************/
void WinEDA_ConfigFrame::ReturnNetFormat(wxCommandEvent& event)
/**************************************************************/
{
int ii;
ii = m_NetFormatBox->GetSelection();
if ( ii == 0 ) g_NetFormat = NET_TYPE_PCBNEW;
if ( ii == 1 ) g_NetFormat = NET_TYPE_ORCADPCB2;
else if ( ii == 2 ) g_NetFormat = NET_TYPE_CADSTAR;
else if ( ii == 3 ) g_NetFormat = NET_TYPE_SPICE;
else if ( g_NetFormat < NET_TYPE_CUSTOM1 ) g_NetFormat = NET_TYPE_CUSTOM1;
}
/***********************************************************************/
void WinEDA_ConfigFrame::CreateListFormatsNetListes(const wxPoint & pos)
/***********************************************************************/
/* Message de wxRadioBox de selection type netliste */
{
wxString Net_Select[] =
{ wxT("&PcbNew"), wxT("&OrcadPcb2"), wxT("&CadStar"), wxT("&Spice"), wxT("Other")};
m_NetFormatBox = new wxRadioBox(this, FORMAT_NETLIST,
_("NetList Formats:"),
pos, wxSize(-1,-1),
5, Net_Select, 1, wxRA_SPECIFY_COLS);
switch( g_NetFormat )
{
case NET_TYPE_NOT_INIT:
case NET_TYPE_PCBNEW:
m_NetFormatBox->SetSelection(0);
break;
case NET_TYPE_ORCADPCB2:
m_NetFormatBox->SetSelection(1);
break;
case NET_TYPE_CADSTAR:
m_NetFormatBox->SetSelection(2);
break;
case NET_TYPE_SPICE:
m_NetFormatBox->SetSelection(3);
break;
default:
m_NetFormatBox->SetSelection(4);
break;
}
}
internat/fr/kicad.mo
View file @
3823d660
No preview for this file type
internat/fr/kicad.po
View file @
3823d660
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment