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
bad6cdaa
Commit
bad6cdaa
authored
Apr 04, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TEXTE_MODULE relative position is updated when absolute position is changed (and viceversa).
parent
1ef68d73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
class_text_mod.h
pcbnew/class_text_mod.h
+3
-1
No files found.
pcbnew/class_text_mod.h
View file @
bad6cdaa
...
...
@@ -87,11 +87,13 @@ public:
virtual
void
SetPosition
(
const
wxPoint
&
aPos
)
{
m_Pos
=
aPos
;
SetLocalCoord
();
}
void
Move
(
const
wxPoint
&
aMoveVector
)
{
m_Pos
+=
aMoveVector
;
SetLocalCoord
();
}
void
Rotate
(
const
wxPoint
&
aRotCentre
,
double
aAngle
);
...
...
@@ -110,7 +112,7 @@ public:
void
SetVisible
(
bool
isVisible
)
{
m_NoShow
=
!
isVisible
;
}
bool
IsVisible
()
const
{
return
!
m_NoShow
;
}
void
SetPos0
(
const
wxPoint
&
aPos
)
{
m_Pos0
=
aPos
;
}
void
SetPos0
(
const
wxPoint
&
aPos
)
{
m_Pos0
=
aPos
;
SetDrawCoord
();
}
const
wxPoint
&
GetPos0
()
const
{
return
m_Pos0
;
}
void
Copy
(
TEXTE_MODULE
*
source
);
// copy structure
...
...
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