23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
24 |
24 |
25 |
25 |
26 from datetime import datetime |
26 from datetime import datetime |
27 from time import time as gettime |
27 from time import time as gettime |
|
28 from weakref import proxy |
|
29 |
28 import numpy |
30 import numpy |
29 |
|
30 import wx |
31 import wx |
31 |
32 |
32 from controls.CustomToolTip import CustomToolTip, TOOLTIP_WAIT_PERIOD |
33 from controls.CustomToolTip import CustomToolTip, TOOLTIP_WAIT_PERIOD |
33 from editors.DebugViewer import DebugViewer, REFRESH_PERIOD |
34 from editors.DebugViewer import DebugViewer, REFRESH_PERIOD |
34 from targets.typemapping import LogLevelsCount, LogLevels |
35 from targets.typemapping import LogLevelsCount, LogLevels |
35 from util.BitmapLibrary import GetBitmap |
36 from util.BitmapLibrary import GetBitmap |
36 from weakref import proxy |
37 |
37 |
38 |
38 THUMB_SIZE_RATIO = 1. / 8. |
39 THUMB_SIZE_RATIO = 1. / 8. |
39 |
40 |
40 |
41 |
41 def ArrowPoints(direction, width, height, xoffset, yoffset): |
42 def ArrowPoints(direction, width, height, xoffset, yoffset): |