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
b4369243
Commit
b4369243
authored
Mar 16, 2014
by
unknown
Committed by
jean-pierre charras
Mar 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning removal, patches from Camille 019
parent
91c53a94
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
13 deletions
+18
-13
class_layer_box_selector.h
include/class_layer_box_selector.h
+1
-1
hotkeys_basic.h
include/hotkeys_basic.h
+4
-3
richio.h
include/richio.h
+1
-1
wxPcbStruct.h
include/wxPcbStruct.h
+2
-2
idf.cpp
pcbnew/exporters/idf.cpp
+2
-2
vrml_board.cpp
pcbnew/exporters/vrml_board.cpp
+1
-1
vrml_board.h
pcbnew/exporters/vrml_board.h
+1
-1
pns_line_placer.cpp
pcbnew/router/pns_line_placer.cpp
+2
-0
pns_line_placer.h
pcbnew/router/pns_line_placer.h
+1
-1
bright_box.cpp
pcbnew/tools/bright_box.cpp
+2
-0
bright_box.h
pcbnew/tools/bright_box.h
+1
-1
No files found.
include/class_layer_box_selector.h
View file @
b4369243
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#include <colors.h> // EDA_COLOR_T definition
#include <colors.h> // EDA_COLOR_T definition
#include <layers_id_colors_and_visibility.h>
#include <layers_id_colors_and_visibility.h>
class
EDA_HOTKEY_CONFIG
;
struct
EDA_HOTKEY_CONFIG
;
/* Basic class to build a layer list.
/* Basic class to build a layer list.
* this is an basic abstract class to build a layer list selector.
* this is an basic abstract class to build a layer list selector.
...
...
include/hotkeys_basic.h
View file @
b4369243
...
@@ -143,10 +143,11 @@ wxString ReturnKeyNameFromCommandId( EDA_HOTKEY** aList, int aCommandId );
...
@@ -143,10 +143,11 @@ wxString ReturnKeyNameFromCommandId( EDA_HOTKEY** aList, int aCommandId );
*/
*/
int
ReturnKeyCodeFromKeyName
(
const
wxString
&
keyname
);
int
ReturnKeyCodeFromKeyName
(
const
wxString
&
keyname
);
/* An helper enum for AddHotkeyName function
/**
* In menus we can an a hot key, or an accelerator , or sometimes just a comment
* An helper enum for AddHotkeyName function
* In menus we can add a hot key, or an accelerator , or sometimes just a comment
* Hot keys can perform actions using the current mouse cursor position
* Hot keys can perform actions using the current mouse cursor position
* Accelerators perform
s
the same action as the associated menu
* Accelerators perform the same action as the associated menu
* A comment is used in tool tips for some tools (zoom ..)
* A comment is used in tool tips for some tools (zoom ..)
* to show the hot key that performs this action
* to show the hot key that performs this action
*/
*/
...
...
include/richio.h
View file @
b4369243
...
@@ -155,7 +155,7 @@ struct IO_ERROR // : std::exception
...
@@ -155,7 +155,7 @@ struct IO_ERROR // : std::exception
/**
/**
*
Class
PARSE_ERROR
*
Struct
PARSE_ERROR
* contains a filename or source description, a problem input line, a line number,
* contains a filename or source description, a problem input line, a line number,
* a byte offset, and an error message which contains the the caller's report and his
* a byte offset, and an error message which contains the the caller's report and his
* call site information: CPP source file, function, and line number.
* call site information: CPP source file, function, and line number.
...
...
include/wxPcbStruct.h
View file @
b4369243
...
@@ -61,8 +61,8 @@ class BOARD_ITEM;
...
@@ -61,8 +61,8 @@ class BOARD_ITEM;
class
PCB_LAYER_BOX_SELECTOR
;
class
PCB_LAYER_BOX_SELECTOR
;
class
NETLIST
;
class
NETLIST
;
class
REPORTER
;
class
REPORTER
;
class
PARSE_ERROR
;
struct
PARSE_ERROR
;
class
IO_ERROR
;
struct
IO_ERROR
;
class
FP_LIB_TABLE
;
class
FP_LIB_TABLE
;
/**
/**
...
...
pcbnew/exporters/idf.cpp
View file @
b4369243
...
@@ -568,8 +568,8 @@ bool IDF_BOARD::WriteDrills( void )
...
@@ -568,8 +568,8 @@ bool IDF_BOARD::WriteDrills( void )
fprintf
(
layoutFile
,
".DRILLED_HOLES
\n
"
);
fprintf
(
layoutFile
,
".DRILLED_HOLES
\n
"
);
std
::
list
<
struct
IDF_DRILL_DATA
*>::
iterator
ds
=
drills
.
begin
();
std
::
list
<
class
IDF_DRILL_DATA
*>::
iterator
ds
=
drills
.
begin
();
std
::
list
<
struct
IDF_DRILL_DATA
*>::
iterator
de
=
drills
.
end
();
std
::
list
<
class
IDF_DRILL_DATA
*>::
iterator
de
=
drills
.
end
();
while
(
ds
!=
de
)
while
(
ds
!=
de
)
{
{
...
...
pcbnew/exporters/vrml_board.cpp
View file @
b4369243
...
@@ -712,7 +712,7 @@ bool VRML_LAYER::Tesselate( VRML_LAYER* holes )
...
@@ -712,7 +712,7 @@ bool VRML_LAYER::Tesselate( VRML_LAYER* holes )
std
::
ostringstream
ostr
;
std
::
ostringstream
ostr
;
ostr
<<
"Tesselate():FAILED: "
<<
holes
->
GetError
();
ostr
<<
"Tesselate():FAILED: "
<<
holes
->
GetError
();
error
=
ostr
.
str
();
error
=
ostr
.
str
();
return
NULL
;
return
false
;
}
}
if
(
Fault
)
if
(
Fault
)
...
...
pcbnew/exporters/vrml_board.h
View file @
b4369243
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
#define M_PI4 ( M_PI / 4.0 )
#define M_PI4 ( M_PI / 4.0 )
#endif
#endif
struct
GLUtesselator
;
class
GLUtesselator
;
struct
VERTEX_3D
struct
VERTEX_3D
{
{
...
...
pcbnew/router/pns_line_placer.cpp
View file @
b4369243
...
@@ -31,6 +31,8 @@
...
@@ -31,6 +31,8 @@
using
boost
::
optional
;
using
boost
::
optional
;
const
double
PNS_LINE_PLACER
::
m_shoveLengthThreshold
=
1.7
;
PNS_LINE_PLACER
::
PNS_LINE_PLACER
(
PNS_NODE
*
aWorld
)
PNS_LINE_PLACER
::
PNS_LINE_PLACER
(
PNS_NODE
*
aWorld
)
{
{
m_initial_direction
=
DIRECTION_45
(
DIRECTION_45
::
N
);
m_initial_direction
=
DIRECTION_45
(
DIRECTION_45
::
N
);
...
...
pcbnew/router/pns_line_placer.h
View file @
b4369243
...
@@ -111,7 +111,7 @@ public:
...
@@ -111,7 +111,7 @@ public:
PNS_NODE
*
GetCurrentNode
()
const
;
PNS_NODE
*
GetCurrentNode
()
const
;
private
:
private
:
static
const
double
m_shoveLengthThreshold
=
1
.
7
;
static
const
double
m_shoveLengthThreshold
;
bool
handleViaPlacement
(
PNS_LINE
&
aHead
);
bool
handleViaPlacement
(
PNS_LINE
&
aHead
);
...
...
pcbnew/tools/bright_box.cpp
View file @
b4369243
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
using
namespace
KIGFX
;
using
namespace
KIGFX
;
const
double
BRIGHT_BOX
::
LineWidth
=
100000.0
;
BRIGHT_BOX
::
BRIGHT_BOX
(
BOARD_ITEM
*
aItem
)
:
BRIGHT_BOX
::
BRIGHT_BOX
(
BOARD_ITEM
*
aItem
)
:
EDA_ITEM
(
NOT_USED
),
// this item is never added to a BOARD so it needs no type
EDA_ITEM
(
NOT_USED
),
// this item is never added to a BOARD so it needs no type
item
(
aItem
)
item
(
aItem
)
...
...
pcbnew/tools/bright_box.h
View file @
b4369243
...
@@ -54,7 +54,7 @@ public:
...
@@ -54,7 +54,7 @@ public:
private
:
private
:
static
const
int
BrightBoxLayer
=
ITEM_GAL_LAYER
(
GP_OVERLAY
);
static
const
int
BrightBoxLayer
=
ITEM_GAL_LAYER
(
GP_OVERLAY
);
static
const
KIGFX
::
COLOR4D
BrightColor
;
static
const
KIGFX
::
COLOR4D
BrightColor
;
static
const
double
LineWidth
=
100000
.
0
;
static
const
double
LineWidth
;
BOARD_ITEM
*
item
;
BOARD_ITEM
*
item
;
};
};
...
...
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