Warning removal, patches from Camille 019
This commit is contained in:
parent
91c53a947a
commit
b436924380
|
@ -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.
|
||||||
|
|
|
@ -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 performs 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
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue