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
b58beebb
Commit
b58beebb
authored
Jun 13, 2007
by
raburton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set native eol on newly added text files
parent
89b3eb5a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
699 additions
and
699 deletions
+699
-699
cleaningoptions_dialog.cpp
pcbnew/cleaningoptions_dialog.cpp
+255
-255
cleaningoptions_dialog.h
pcbnew/cleaningoptions_dialog.h
+115
-115
win_eda_cleaningoptionsframe.cpp
pcbnew/win_eda_cleaningoptionsframe.cpp
+220
-220
win_eda_cleaningoptionsframe.h
pcbnew/win_eda_cleaningoptionsframe.h
+109
-109
No files found.
pcbnew/cleaningoptions_dialog.cpp
View file @
b58beebb
This diff is collapsed.
Click to expand it.
pcbnew/cleaningoptions_dialog.h
View file @
b58beebb
/////////////////////////////////////////////////////////////////////////////
// Name: cleaningoptions_dialog.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 25/05/2007 14:24:54
// RCS-ID:
// Copyright: GNU License
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 25/05/2007 14:24:54
#ifndef _CLEANINGOPTIONS_DIALOG_H_
#define _CLEANINGOPTIONS_DIALOG_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "cleaningoptions_dialog.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_WIN_EDA_CLEANINGOPTIONSFRAME 10000
#define ID_CHECKBOX_CLEAN_VIAS 10001
#define ID_CHECKBOX_MERGE_SEGMENTS 10003
#define ID_CHECKBOX1 10005
#define ID_CHECKBOX 10004
#define ID_BUTTON_EXECUTE 10006
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE _("Cleaning options")
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME ID_WIN_EDA_CLEANINGOPTIONSFRAME
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* WinEDA_CleaningOptionsFrame class declaration
*/
class
WinEDA_CleaningOptionsFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
WinEDA_CleaningOptionsFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
WinEDA_CleaningOptionsFrame
();
WinEDA_CleaningOptionsFrame
(
WinEDA_PcbFrame
*
parent
,
wxDC
*
DC
,
wxWindowID
id
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Destructor
~
WinEDA_CleaningOptionsFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin WinEDA_CleaningOptionsFrame event handler declarations
/// wxEVT_CLOSE_WINDOW event handler for ID_WIN_EDA_CLEANINGOPTIONSFRAME
void
OnCloseWindow
(
wxCloseEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_EXECUTE
void
OnButtonExecuteClick
(
wxCommandEvent
&
event
);
////@end WinEDA_CleaningOptionsFrame event handler declarations
////@begin WinEDA_CleaningOptionsFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end WinEDA_CleaningOptionsFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin WinEDA_CleaningOptionsFrame member variables
wxCheckBox
*
m_CleanViasOpt
;
wxCheckBox
*
m_MergetSegmOpt
;
wxCheckBox
*
m_DeleteunconnectedOpt
;
wxCheckBox
*
m_ConnectToPadsOpt
;
////@end WinEDA_CleaningOptionsFrame member variables
WinEDA_PcbFrame
*
m_Parent
;
wxDC
*
m_DC
;
};
#endif
// _CLEANINGOPTIONS_DIALOG_H_
/////////////////////////////////////////////////////////////////////////////
// Name: cleaningoptions_dialog.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 25/05/2007 14:24:54
// RCS-ID:
// Copyright: GNU License
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 25/05/2007 14:24:54
#ifndef _CLEANINGOPTIONS_DIALOG_H_
#define _CLEANINGOPTIONS_DIALOG_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "cleaningoptions_dialog.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_WIN_EDA_CLEANINGOPTIONSFRAME 10000
#define ID_CHECKBOX_CLEAN_VIAS 10001
#define ID_CHECKBOX_MERGE_SEGMENTS 10003
#define ID_CHECKBOX1 10005
#define ID_CHECKBOX 10004
#define ID_BUTTON_EXECUTE 10006
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE _("Cleaning options")
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME ID_WIN_EDA_CLEANINGOPTIONSFRAME
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* WinEDA_CleaningOptionsFrame class declaration
*/
class
WinEDA_CleaningOptionsFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
WinEDA_CleaningOptionsFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
WinEDA_CleaningOptionsFrame
();
WinEDA_CleaningOptionsFrame
(
WinEDA_PcbFrame
*
parent
,
wxDC
*
DC
,
wxWindowID
id
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Destructor
~
WinEDA_CleaningOptionsFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin WinEDA_CleaningOptionsFrame event handler declarations
/// wxEVT_CLOSE_WINDOW event handler for ID_WIN_EDA_CLEANINGOPTIONSFRAME
void
OnCloseWindow
(
wxCloseEvent
&
event
);
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_EXECUTE
void
OnButtonExecuteClick
(
wxCommandEvent
&
event
);
////@end WinEDA_CleaningOptionsFrame event handler declarations
////@begin WinEDA_CleaningOptionsFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end WinEDA_CleaningOptionsFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin WinEDA_CleaningOptionsFrame member variables
wxCheckBox
*
m_CleanViasOpt
;
wxCheckBox
*
m_MergetSegmOpt
;
wxCheckBox
*
m_DeleteunconnectedOpt
;
wxCheckBox
*
m_ConnectToPadsOpt
;
////@end WinEDA_CleaningOptionsFrame member variables
WinEDA_PcbFrame
*
m_Parent
;
wxDC
*
m_DC
;
};
#endif
// _CLEANINGOPTIONS_DIALOG_H_
pcbnew/win_eda_cleaningoptionsframe.cpp
View file @
b58beebb
This diff is collapsed.
Click to expand it.
pcbnew/win_eda_cleaningoptionsframe.h
View file @
b58beebb
/////////////////////////////////////////////////////////////////////////////
// Name: win_eda_cleaningoptionsframe.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 25/05/2007 13:39:29
// RCS-ID:
// Copyright: GNU License
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 25/05/2007 13:39:29
#ifndef _WIN_EDA_CLEANINGOPTIONSFRAME_H_
#define _WIN_EDA_CLEANINGOPTIONSFRAME_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "win_eda_cleaningoptionsframe.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_WIN_EDA_CLEANINGOPTIONSFRAME 10000
#define ID_CHECKBOX_CLEAN_VIAS 10001
#define ID_CHECKBOX_MERGE_SEGMENTS 10003
#define ID_CHECKBOX_DELETE_NULL_SEGM 10002
#define ID_CHECKBOX1 10005
#define ID_CHECKBOX 10004
#define ID_BUTTON_EXECUTE 10006
#define ID_TEXTCTRL1 10007
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE _("Cleaning options")
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME ID_WIN_EDA_CLEANINGOPTIONSFRAME
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* Win_EDA_CleaningOptionsFrame class declaration
*/
class
Win_EDA_CleaningOptionsFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
Win_EDA_CleaningOptionsFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
Win_EDA_CleaningOptionsFrame
();
Win_EDA_CleaningOptionsFrame
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Destructor
~
Win_EDA_CleaningOptionsFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin Win_EDA_CleaningOptionsFrame event handler declarations
////@end Win_EDA_CleaningOptionsFrame event handler declarations
////@begin Win_EDA_CleaningOptionsFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end Win_EDA_CleaningOptionsFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin Win_EDA_CleaningOptionsFrame member variables
wxCheckBox
*
m_CleanViasOpt
;
wxCheckBox
*
m_MergetSegmOpt
;
wxCheckBox
*
m_DeleteNullSegmOpt
;
wxCheckBox
*
m_DeleteunconnectedOpt
;
wxCheckBox
*
m_ConnectToPadsOpt
;
////@end Win_EDA_CleaningOptionsFrame member variables
};
#endif
// _WIN_EDA_CLEANINGOPTIONSFRAME_H_
/////////////////////////////////////////////////////////////////////////////
// Name: win_eda_cleaningoptionsframe.h
// Purpose:
// Author: jean-pierre Charras
// Modified by:
// Created: 25/05/2007 13:39:29
// RCS-ID:
// Copyright: GNU License
// Licence:
/////////////////////////////////////////////////////////////////////////////
// Generated by DialogBlocks (unregistered), 25/05/2007 13:39:29
#ifndef _WIN_EDA_CLEANINGOPTIONSFRAME_H_
#define _WIN_EDA_CLEANINGOPTIONSFRAME_H_
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "win_eda_cleaningoptionsframe.h"
#endif
/*!
* Includes
*/
////@begin includes
#include "wx/valgen.h"
////@end includes
/*!
* Forward declarations
*/
////@begin forward declarations
////@end forward declarations
/*!
* Control identifiers
*/
////@begin control identifiers
#define ID_WIN_EDA_CLEANINGOPTIONSFRAME 10000
#define ID_CHECKBOX_CLEAN_VIAS 10001
#define ID_CHECKBOX_MERGE_SEGMENTS 10003
#define ID_CHECKBOX_DELETE_NULL_SEGM 10002
#define ID_CHECKBOX1 10005
#define ID_CHECKBOX 10004
#define ID_BUTTON_EXECUTE 10006
#define ID_TEXTCTRL1 10007
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE _("Cleaning options")
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME ID_WIN_EDA_CLEANINGOPTIONSFRAME
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
* Win_EDA_CleaningOptionsFrame class declaration
*/
class
Win_EDA_CleaningOptionsFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
Win_EDA_CleaningOptionsFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
Win_EDA_CleaningOptionsFrame
();
Win_EDA_CleaningOptionsFrame
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WIN_EDA_CLEANINGOPTIONSFRAME_STYLE
);
/// Destructor
~
Win_EDA_CleaningOptionsFrame
();
/// Initialises member variables
void
Init
();
/// Creates the controls and sizers
void
CreateControls
();
////@begin Win_EDA_CleaningOptionsFrame event handler declarations
////@end Win_EDA_CleaningOptionsFrame event handler declarations
////@begin Win_EDA_CleaningOptionsFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end Win_EDA_CleaningOptionsFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
////@begin Win_EDA_CleaningOptionsFrame member variables
wxCheckBox
*
m_CleanViasOpt
;
wxCheckBox
*
m_MergetSegmOpt
;
wxCheckBox
*
m_DeleteNullSegmOpt
;
wxCheckBox
*
m_DeleteunconnectedOpt
;
wxCheckBox
*
m_ConnectToPadsOpt
;
////@end Win_EDA_CleaningOptionsFrame member variables
};
#endif
// _WIN_EDA_CLEANINGOPTIONSFRAME_H_
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