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
8b5f3056
Commit
8b5f3056
authored
Feb 16, 2008
by
CHARRAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeschema: added hierarchical label in setcolor menu
parent
c7ec524f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
eeconfig.h
eeschema/eeconfig.h
+11
-2
eelayer.h
eeschema/eelayer.h
+11
-6
No files found.
eeschema/eeconfig.h
View file @
8b5f3056
...
...
@@ -110,12 +110,20 @@ static PARAM_CFG_SETCOLOR ColorLayerLLabelCfg
BLACK
/* Default value */
);
static
PARAM_CFG_SETCOLOR
ColorLayerHierarLabelCfg
(
INSETUP
,
wxT
(
"ColorHlab"
),
/* Ident String */
&
g_LayerDescr
.
LayerColor
[
LAYER_HIERLABEL
],
/* Parameter address */
BROWN
/* Default value */
);
static
PARAM_CFG_SETCOLOR
ColorLayerGLabelCfg
(
INSETUP
,
wxT
(
"ColorGlab"
),
/* Ident String */
wxT
(
"ColorG
bl
lab"
),
/* Ident String */
&
g_LayerDescr
.
LayerColor
[
LAYER_GLOBLABEL
],
/* Parameter address */
BROWN
/* Default value */
RED
/* Default value */
);
static
PARAM_CFG_SETCOLOR
ColorLayerPinFunCfg
...
...
@@ -485,6 +493,7 @@ PARAM_CFG_BASE* ParamCfgList[] =
&
ColorLayerBusCfg
,
&
ColorLayerJunctionCfg
,
&
ColorLayerLLabelCfg
,
&
ColorLayerHierarLabelCfg
,
&
ColorLayerGLabelCfg
,
&
ColorLayerPinFunCfg
,
&
ColorLayerPinNumCfg
,
...
...
eeschema/eelayer.h
View file @
8b5f3056
...
...
@@ -17,7 +17,7 @@ class wxStdDialogButtonSizer;
// Specify how many elements are contained within laytool_list[]
const
int
NB_BUTT
=
2
3
;
// Includes an element associated with the grid
const
int
NB_BUTT
=
2
4
;
// Includes an element associated with the grid
// Specify how many elements are contained within laytool_index[]
const
int
BUTTON_GROUPS
=
5
;
...
...
@@ -59,7 +59,6 @@ struct ColorButton
int
*
m_Color
;
int
m_Id
;
wxBitmapButton
*
m_Button
;
// int m_State; // (Commented out until when it is actually used.)
};
struct
ButtonIndex
...
...
@@ -187,10 +186,15 @@ static ColorButton Layer_SheetName_Item =
static
ColorButton
Layer_SheetLabel_Item
=
{
_
(
"SheetLabel
"
),
// Title
_
(
"SheetLabel
(Pin Sheet)"
),
// Title
ADR
(
LAYER_SHEETLABEL
)
// Adr of optional parameter
};
static
ColorButton
Layer_HierarchicalLabel_Item
=
{
_
(
"Hierarchical Label"
),
// Title
ADR
(
LAYER_HIERLABEL
)
// Adr of optional parameter
};
static
ColorButton
Layer_Erc_Warning_Item
=
{
...
...
@@ -235,6 +239,7 @@ static ColorButton* laytool_list[NB_BUTT] = {
&
Layer_SheetFileName_Item
,
&
Layer_SheetName_Item
,
&
Layer_SheetLabel_Item
,
&
Layer_HierarchicalLabel_Item
,
&
Layer_Erc_Warning_Item
,
&
Layer_Erc_Error_Item
,
...
...
@@ -258,19 +263,19 @@ static ButtonIndex MsgDevice_Item =
static
ButtonIndex
Msg_Sheets
=
{
_
(
"Sheets"
),
// Title
19
// Index to first bitmap button in group
20
// Index to first bitmap button in group
};
static
ButtonIndex
Msg_ErcMarck
=
{
_
(
"Erc Mark"
),
// Title
2
1
// Index to first bitmap button in group
2
2
// Index to first bitmap button in group
};
static
ButtonIndex
Msg_Other
=
{
_
(
"Other"
),
// Title
2
2
// Index to first bitmap button in group
2
3
// Index to first bitmap button in group
};
...
...
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