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
a95237d8
Commit
a95237d8
authored
Oct 26, 2007
by
g_harland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set svn:eol-style (native) attribute on new pcbnew/class_marker.h file
parent
2a5676b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
46 deletions
+46
-46
class_marker.h
pcbnew/class_marker.h
+46
-46
No files found.
pcbnew/class_marker.h
View file @
a95237d8
/***************************************/
/***************************************/
/* Markers: used to show a drc problem */
/* Markers: used to show a drc problem */
/***************************************/
/***************************************/
#ifndef CLASS_MARKER_H
#ifndef CLASS_MARKER_H
#define CLASS_MARKER_H
#define CLASS_MARKER_H
#include "base_struct.h"
#include "base_struct.h"
class
MARQUEUR
:
public
BOARD_ITEM
class
MARQUEUR
:
public
BOARD_ITEM
{
{
public
:
public
:
wxPoint
m_Pos
;
wxPoint
m_Pos
;
char
*
m_Bitmap
;
/* Shape (bitmap) */
char
*
m_Bitmap
;
/* Shape (bitmap) */
int
m_Type
;
int
m_Type
;
int
m_Color
;
/* color */
int
m_Color
;
/* color */
wxString
m_Diag
;
/* Associated text (comment) */
wxString
m_Diag
;
/* Associated text (comment) */
wxSize
m_Size
;
/* Size of the graphic symbol */
wxSize
m_Size
;
/* Size of the graphic symbol */
public
:
public
:
MARQUEUR
(
BOARD_ITEM
*
StructFather
);
MARQUEUR
(
BOARD_ITEM
*
StructFather
);
~
MARQUEUR
();
~
MARQUEUR
();
void
UnLink
();
void
UnLink
();
void
Draw
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
,
int
DrawMode
);
void
Draw
(
WinEDA_DrawPanel
*
panel
,
wxDC
*
DC
,
int
DrawMode
);
/**
/**
* Function Display_Infos
* Function Display_Infos
* has knowledge about the frame and how and where to put status information
* has knowledge about the frame and how and where to put status information
* about this object into the frame's message panel.
* about this object into the frame's message panel.
* @param frame A WinEDA_DrawFrame in which to print status information.
* @param frame A WinEDA_DrawFrame in which to print status information.
*/
*/
void
Display_Infos
(
WinEDA_DrawFrame
*
frame
);
void
Display_Infos
(
WinEDA_DrawFrame
*
frame
);
/**
/**
* Function HitTest
* Function HitTest
* tests if the given wxPoint is within the bounds of this object.
* tests if the given wxPoint is within the bounds of this object.
* @param ref_pos A wxPoint to test
* @param ref_pos A wxPoint to test
* @return bool - true if a hit, else false
* @return bool - true if a hit, else false
*/
*/
bool
HitTest
(
const
wxPoint
&
ref_pos
);
bool
HitTest
(
const
wxPoint
&
ref_pos
);
};
};
#endif // end #ifndef CLASS_MARKER_H
#endif // end #ifndef CLASS_MARKER_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