~pierre-parent-k/kicad/length-tunning

« back to all changes in this revision

Viewing changes to include/worksheet_shape_builder.h

  • Committer: Pierre Parent
  • Date: 2014-07-06 10:32:13 UTC
  • mfrom: (4798.1.179 kicad)
  • Revision ID: pierre.parent@insa-rouen.fr-20140706103213-wjsdy0hc9q6wbz5v
Merge with lp:kicad 4977

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    EDA_COLOR_T GetColor() const { return m_color; }
60
60
    WS_DRAW_TYPE GetType() const { return m_type; };
61
61
 
62
 
    WORKSHEET_DATAITEM* GetParent() { return m_parent; }
 
62
    WORKSHEET_DATAITEM* GetParent() const { return m_parent; }
63
63
 
64
64
    /** The function to draw a WS_DRAW_ITEM
65
65
     */
69
69
     * Abstract function: should exist for derived items
70
70
     * return true if the point aPosition is on the item
71
71
     */
72
 
    virtual bool HitTest( const wxPoint& aPosition) = 0;
 
72
    virtual bool HitTest( const wxPoint& aPosition) const = 0;
73
73
 
74
74
    /**
75
75
     * Abstract function: should exist for derived items
124
124
     * Virtual function
125
125
     * return true if the point aPosition is on the line
126
126
     */
127
 
    virtual bool HitTest( const wxPoint& aPosition);
 
127
    virtual bool HitTest( const wxPoint& aPosition) const;
128
128
 
129
129
    /**
130
130
     * return true if the point aPosition is on the starting point of this item.
174
174
     * Virtual function
175
175
     * return true if the point aPosition is inside one polygon
176
176
     */
177
 
    virtual bool HitTest( const wxPoint& aPosition);
 
177
    virtual bool HitTest( const wxPoint& aPosition) const;
178
178
 
179
179
    /**
180
180
     * return true if the point aPosition is on the starting point of this item.
202
202
     * Virtual function
203
203
     * return true if the point aPosition is on one edge of the rectangle
204
204
     */
205
 
    virtual bool HitTest( const wxPoint& aPosition);
 
205
    virtual bool HitTest( const wxPoint& aPosition) const;
206
206
 
207
207
    /**
208
208
     * return true if the point aPosition is on the starting point of this item.
239
239
     * Virtual function
240
240
     * return true if the point aPosition is on the text
241
241
     */
242
 
    virtual bool HitTest( const wxPoint& aPosition);
 
242
    virtual bool HitTest( const wxPoint& aPosition) const;
243
243
 
244
244
    /**
245
245
     * return true if the point aPosition is on the starting point of this item.
274
274
     * Virtual function
275
275
     * return true if the point aPosition is on bitmap
276
276
     */
277
 
    virtual bool HitTest( const wxPoint& aPosition);
 
277
    virtual bool HitTest( const wxPoint& aPosition) const;
278
278
 
279
279
    /**
280
280
     * return true if the point aPosition is on the reference point of this item.