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
364be1ad
Commit
364be1ad
authored
Oct 25, 2007
by
g_harland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
see 2007-Oct-25 change_log.txt
parent
a3c60f36
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
193 additions
and
193 deletions
+193
-193
change_log.txt
change_log.txt
+11
-0
dialog_display_options.cpp
cvpcb/dialog_display_options.cpp
+63
-121
dialog_display_options.h
cvpcb/dialog_display_options.h
+27
-34
dialog_display_options.pjd
cvpcb/dialog_display_options.pjd
+92
-38
selcolor.cpp.notused
share/selcolor.cpp.notused
+0
-0
No files found.
change_log.txt
View file @
364be1ad
...
...
@@ -4,6 +4,17 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.
2007-Oct-25 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
================================================================================
+ cvpcb
* Fine-tuned contents of dialog_display_options.cpp, dialog_display_options.h,
and dialog_display_options.pjd, so that the controls within the associated
("Display Options") dialog box now also expand if that dialog is expanded.
+ all
* The share/selcolor.cpp file (which is no longer used) has been removed, and
replaced with share/selcolor.cpp.notused
2007-Oct-24 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+ cvpcb:
...
...
cvpcb/dialog_display_options.cpp
View file @
364be1ad
This diff is collapsed.
Click to expand it.
cvpcb/dialog_display_options.h
View file @
364be1ad
...
...
@@ -32,6 +32,7 @@
*/
////@begin forward declarations
class
wxBoxSizer
;
////@end forward declarations
/*!
...
...
@@ -40,17 +41,17 @@
////@begin control identifiers
#define ID_DIALOG 10000
#define EDGE_SELECT 1000
3
#define TEXT_SELECT 1000
4
#define PADFILL_OPT 1000
1
#define PADNUM_OPT 1000
2
#define EDGE_SELECT 1000
1
#define TEXT_SELECT 1000
2
#define PADFILL_OPT 1000
3
#define PADNUM_OPT 1000
4
#define ID_SAVE_CONFIG 10005
#define ID_STATICLINE1 1000
7
#define SYMBOL_
KIDISPLAYOPTIONSFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_
KIDISPLAYOPTIONSFRAME_TITLE _("
Options")
#define SYMBOL_
KI
DISPLAYOPTIONSFRAME_IDNAME ID_DIALOG
#define SYMBOL_
KI
DISPLAYOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_
KI
DISPLAYOPTIONSFRAME_POSITION wxDefaultPosition
#define ID_STATICLINE1 1000
6
#define SYMBOL_
WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_STYLE wxDEFAULT_DIALOG_STYLE|MAYBE_RESIZE_BORDER
#define SYMBOL_
WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_TITLE _("Display
Options")
#define SYMBOL_
WINEDA_FOOTPRINT
DISPLAYOPTIONSFRAME_IDNAME ID_DIALOG
#define SYMBOL_
WINEDA_FOOTPRINT
DISPLAYOPTIONSFRAME_SIZE wxSize(400, 300)
#define SYMBOL_
WINEDA_FOOTPRINT
DISPLAYOPTIONSFRAME_POSITION wxDefaultPosition
////@end control identifiers
/*!
...
...
@@ -62,38 +63,26 @@
#endif
/*!
*
Ki
DisplayOptionsFrame class declaration
*
WinEDA_Footprint
DisplayOptionsFrame class declaration
*/
class
Ki
DisplayOptionsFrame
:
public
wxDialog
class
WinEDA_Footprint
DisplayOptionsFrame
:
public
wxDialog
{
DECLARE_DYNAMIC_CLASS
(
Ki
DisplayOptionsFrame
)
DECLARE_DYNAMIC_CLASS
(
WinEDA_Footprint
DisplayOptionsFrame
)
DECLARE_EVENT_TABLE
()
public
:
/// Constructors
Ki
DisplayOptionsFrame
(
);
KiDisplayOptionsFrame
(
WinEDA_BasePcbFrame
*
parent
,
wxWindowID
id
=
SYMBOL_KIDISPLAYOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_KIDISPLAYOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_KIDISPLAYOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_KIDISPLAYOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_KI
DISPLAYOPTIONSFRAME_STYLE
);
WinEDA_Footprint
DisplayOptionsFrame
(
);
WinEDA_FootprintDisplayOptionsFrame
(
WinEDA_BasePcbFrame
*
parent
,
wxWindowID
id
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_FOOTPRINT
DISPLAYOPTIONSFRAME_STYLE
);
/// Creation
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_
KIDISPLAYOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_KIDISPLAYOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_KIDISPLAYOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_KIDISPLAYOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_KI
DISPLAYOPTIONSFRAME_STYLE
);
bool
Create
(
wxWindow
*
parent
,
wxWindowID
id
=
SYMBOL_
WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_IDNAME
,
const
wxString
&
caption
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_TITLE
,
const
wxPoint
&
pos
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_POSITION
,
const
wxSize
&
size
=
SYMBOL_WINEDA_FOOTPRINTDISPLAYOPTIONSFRAME_SIZE
,
long
style
=
SYMBOL_WINEDA_FOOTPRINT
DISPLAYOPTIONSFRAME_STYLE
);
/// Creates the controls and sizers
void
CreateControls
();
////@begin KiDisplayOptionsFrame event handler declarations
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for EDGE_SELECT
void
OnEdgeSelectSelected
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_RADIOBOX_SELECTED event handler for TEXT_SELECT
void
OnTextSelectSelected
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for PADFILL_OPT
void
OnPadfillOptClick
(
wxCommandEvent
&
event
);
/// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for PADNUM_OPT
void
OnPadnumOptClick
(
wxCommandEvent
&
event
);
////@begin WinEDA_FootprintDisplayOptionsFrame event handler declarations
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SAVE_CONFIG
void
OnSaveConfigClick
(
wxCommandEvent
&
event
);
...
...
@@ -107,28 +96,32 @@ public:
/// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_APPLY
void
OnApplyClick
(
wxCommandEvent
&
event
);
////@end
Ki
DisplayOptionsFrame event handler declarations
////@end
WinEDA_Footprint
DisplayOptionsFrame event handler declarations
////@begin
Ki
DisplayOptionsFrame member function declarations
////@begin
WinEDA_Footprint
DisplayOptionsFrame member function declarations
/// Retrieves bitmap resources
wxBitmap
GetBitmapResource
(
const
wxString
&
name
);
/// Retrieves icon resources
wxIcon
GetIconResource
(
const
wxString
&
name
);
////@end
Ki
DisplayOptionsFrame member function declarations
////@end
WinEDA_Footprint
DisplayOptionsFrame member function declarations
/// Should we show tooltips?
static
bool
ShowToolTips
();
void
UpdateObjectSettings
(
void
);
////@begin KiDisplayOptionsFrame member variables
////@begin WinEDA_FootprintDisplayOptionsFrame member variables
wxBoxSizer
*
OuterBoxSizer
;
wxBoxSizer
*
MainBoxSizer
;
wxRadioBox
*
m_EdgesDisplayOption
;
wxRadioBox
*
m_TextDisplayOption
;
wxBoxSizer
*
ColumnBoxSizer
;
wxCheckBox
*
m_IsShowPadFill
;
wxCheckBox
*
m_IsShowPadNum
;
////@end KiDisplayOptionsFrame member variables
wxBoxSizer
*
BottomBoxSizer
;
////@end WinEDA_FootprintDisplayOptionsFrame member variables
WinEDA_BasePcbFrame
*
m_Parent
;
...
...
cvpcb/dialog_display_options.pjd
View file @
364be1ad
This diff is collapsed.
Click to expand it.
share/selcolor.cpp
→
share/selcolor.cpp
.notused
View file @
364be1ad
File moved
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