equal
deleted
inserted
replaced
81 |
81 |
82 def InitHighlightPensBrushes(self): |
82 def InitHighlightPensBrushes(self): |
83 """ |
83 """ |
84 Init global pens and brushes |
84 Init global pens and brushes |
85 """ |
85 """ |
86 global HIGHLIGHT |
|
87 if not HIGHLIGHT: |
86 if not HIGHLIGHT: |
88 HIGHLIGHT['DROP_PEN'] = wx.Pen(wx.Colour(0, 128, 255)) |
87 HIGHLIGHT['DROP_PEN'] = wx.Pen(wx.Colour(0, 128, 255)) |
89 HIGHLIGHT['DROP_BRUSH'] = wx.Brush(wx.Colour(0, 128, 255, 128)) |
88 HIGHLIGHT['DROP_BRUSH'] = wx.Brush(wx.Colour(0, 128, 255, 128)) |
90 HIGHLIGHT['RESIZE_PEN'] = wx.Pen(wx.Colour(200, 200, 200)) |
89 HIGHLIGHT['RESIZE_PEN'] = wx.Pen(wx.Colour(200, 200, 200)) |
91 HIGHLIGHT['RESIZE_BRUSH'] = wx.Brush(wx.Colour(200, 200, 200)) |
90 HIGHLIGHT['RESIZE_BRUSH'] = wx.Brush(wx.Colour(200, 200, 200)) |