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
bb861b81
Commit
bb861b81
authored
Feb 14, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing comments in the PLACEMENT_TOOL class.
parent
902d0e3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
11 deletions
+25
-11
placement_tool.h
pcbnew/tools/placement_tool.h
+25
-11
No files found.
pcbnew/tools/placement_tool.h
View file @
bb861b81
...
...
@@ -29,10 +29,6 @@
class
SELECTION_TOOL
;
/**
* TODO description
*/
class
PLACEMENT_TOOL
:
public
TOOL_INTERACTIVE
{
public
:
...
...
@@ -45,26 +41,44 @@ public:
/// @copydoc TOOL_INTERACTIVE::Init()
bool
Init
();
/// TODO
/**
* Function AlignTop()
* Sets Y coordinate of the selected items to the value of the top-most selected item Y coordinate.
*/
int
AlignTop
(
const
TOOL_EVENT
&
aEvent
);
/// TODO
/**
* Function AlignBottom()
* Sets Y coordinate of the selected items to the value of the bottom-most selected item Y coordinate.
*/
int
AlignBottom
(
const
TOOL_EVENT
&
aEvent
);
/// TODO
/**
* Function AlignLeft()
* Sets X coordinate of the selected items to the value of the left-most selected item X coordinate.
*/
int
AlignLeft
(
const
TOOL_EVENT
&
aEvent
);
/// TODO
/**
* Function AlignRight()
* Sets X coordinate of the selected items to the value of the right-most selected item X coordinate.
*/
int
AlignRight
(
const
TOOL_EVENT
&
aEvent
);
/// TODO
/**
* Function DistributeHorizontally()
* Distributes the selected items along the X axis.
*/
int
DistributeHorizontally
(
const
TOOL_EVENT
&
aEvent
);
/// TODO
/**
* Function DistributeVertically()
* Distributes the selected items along the Y axis.
*/
int
DistributeVertically
(
const
TOOL_EVENT
&
aEvent
);
private
:
///
TODO
///
> Sets up handlers for various events.
void
setTransitions
();
SELECTION_TOOL
*
m_selectionTool
;
...
...
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