Commit ee68d20e authored by CHARRAS's avatar CHARRAS
Browse files

create new file cross-probing.cpp Move RemoteCommand() and SendMessageToEESCHEMA() to it

parent a97b0dab
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,13 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with 
Please add newer entries at the top, list the date and your name with 
email address.
email address.


2007-Oct-6 UPDATE   Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+ pcbnew
	create new file cross-probing.cpp
	move RemoteCommand() and SendMessageToEESCHEMA() to cross-probing.cpp




2007-Oct-3 UPDATE   Dick Hollenbeck <dick@softplc.com>
2007-Oct-3 UPDATE   Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
+7 −8
Original line number Original line Diff line number Diff line
@@ -26,8 +26,7 @@ class WinEDA_DrawPanel : public EDA_DRAW_PANEL
public:
public:
    int               m_Ident;
    int               m_Ident;
    WinEDA_DrawFrame* m_Parent;
    WinEDA_DrawFrame* m_Parent;
    EDA_Rect          m_ClipBox;    /* position et taille de la fenetre de trace
    EDA_Rect          m_ClipBox;    		// the clipbox used in screen redraw (usually gives the visible area in internal units)
                                     *  pour les "RePaint" d'ecran */
    wxPoint           m_CursorStartPos;     // utile dans controles du mouvement curseur
    wxPoint           m_CursorStartPos;     // utile dans controles du mouvement curseur
    int               m_Scroll_unit;        //	Valeur de l'unite de scroll en pixels pour les barres de scroll
    int               m_Scroll_unit;        //	Valeur de l'unite de scroll en pixels pour les barres de scroll
    int               m_ScrollButt_unit;    //	Valeur de l'unite de scroll en pixels pour les boutons de scroll
    int               m_ScrollButt_unit;    //	Valeur de l'unite de scroll en pixels pour les boutons de scroll
@@ -35,14 +34,14 @@ public:
    bool              m_AbortRequest;       // Flag d'arret de commandes longues
    bool              m_AbortRequest;       // Flag d'arret de commandes longues
    bool              m_AbortEnable;        // TRUE si menu ou bouton Abort doit etre affiche
    bool              m_AbortEnable;        // TRUE si menu ou bouton Abort doit etre affiche


    bool              m_AutoPAN_Enable;     // TRUE pour autoriser auto pan (autorisation g��ale)
    bool              m_AutoPAN_Enable;     // TRUE to allow auto pan
    bool              m_AutoPAN_Request;    // TRUE pour auto pan (lorsque auto pan n�essaire)
    bool              m_AutoPAN_Request;    // TRUE to request an auto pan (will be made only if m_AutoPAN_Enable = true)


    int               m_IgnoreMouseEvents;  ///< when non-zero, then ignore mouse events
    int               m_IgnoreMouseEvents;  //  when non-zero (true), then ignore mouse events


    bool              m_Block_Enable;       // TRUE pour autoriser Bloc Commandes (autorisation g��ale)
    bool              m_Block_Enable;       // TRUE to accept Block Commands
    int               m_CanStartBlock;      // >= 0 (ou >= n) si un bloc peut demarrer
    int               m_CanStartBlock;      // >= 0 (or >= n) if a block can start
    // (filtrage des commandes de debut de bloc )
    // usefull ot avoid false start block in certain cases (like switch from a sheet to an other scheet
    int               m_PanelDefaultCursor; // Current mouse cursor default shape id for this window
    int               m_PanelDefaultCursor; // Current mouse cursor default shape id for this window
    int               m_PanelCursor;        // Current mouse cursor shape id for this window
    int               m_PanelCursor;        // Current mouse cursor shape id for this window
    int               m_CursorLevel;        // Index for cursor redraw in XOR mode
    int               m_CursorLevel;        // Index for cursor redraw in XOR mode
+9 −10
Original line number Original line Diff line number Diff line
@@ -359,13 +359,13 @@ public:
class DRAWSEGMENT : public BOARD_ITEM
class DRAWSEGMENT : public BOARD_ITEM
{
{
public:
public:
    int     m_Width;            // 0 = line, > 0 = tracks, bus ...
    int     m_Width;            // 0 = line. if > 0 = tracks, bus ...
    wxPoint m_Start;            // Line start point
    wxPoint m_Start;            // Line start point
    wxPoint m_End;              // Line end point
    wxPoint m_End;              // Line end point
    
    
    int m_Shape;                // forme: Segment , Cercle..
    int m_Shape;                // Shape: line, Circle, Arc
    int m_Type;                 // numero de sous type ( cotation.. )
    int m_Type;                 // Used in complex associations ( Dimensions.. )
    int m_Angle;                // pour les arcs: "longueur" de l'arc en 1/10 deg
    int m_Angle;                // Used only for Arcs: Arc angle in 1/10 deg


public:
public:
    DRAWSEGMENT( BOARD_ITEM* StructFather, KICAD_T idtype = TYPEDRAWSEGMENT );
    DRAWSEGMENT( BOARD_ITEM* StructFather, KICAD_T idtype = TYPEDRAWSEGMENT );
@@ -375,7 +375,7 @@ public:
    bool    WriteDrawSegmentDescr( FILE* File );
    bool    WriteDrawSegmentDescr( FILE* File );
    bool    ReadDrawSegmentDescr( FILE* File, int* LineNum );
    bool    ReadDrawSegmentDescr( FILE* File, int* LineNum );


    /* supprime du chainage la structure Struct */
    /* remove this from the linked list */
    void    UnLink();
    void    UnLink();


    void    Copy( DRAWSEGMENT* source );
    void    Copy( DRAWSEGMENT* source );
@@ -429,18 +429,17 @@ public:
};
};




/************************************/
/***************************************/
/* Gestion des marqueurs sur le PCB */
/* Markers: used to show a drc problem */
/************************************/
/***************************************/


class MARQUEUR : public BOARD_ITEM
class MARQUEUR : public BOARD_ITEM
{
{
    /* Description d'un marqueur */
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;               /* couleur */
    int      m_Color;               /* color */
    wxString m_Diag;                /* Associated text (comment) */
    wxString m_Diag;                /* Associated text (comment) */


public:
public:
−529 B (129 KiB)

File changed.

No diff preview for this file type.

+2042 −2095

File changed.

Preview size limit exceeded, changes collapsed.

Loading