Commit 55e3526a67942527f14b3afe28e14dce6535a40c
1 parent
0963b548
Exists in
master
ADD: Icons for measure density
Showing
5 changed files
with
8 additions
and
4 deletions
Show diff stats
1.49 KB
18.2 KB
1.64 KB
18.3 KB
invesalius/gui/frame.py
... | ... | @@ -1438,9 +1438,11 @@ class ObjectToolBar(AuiToolBar): |
1438 | 1438 | path = os.path.join(d, "measure_angle_original.png") |
1439 | 1439 | BMP_ANGLE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) |
1440 | 1440 | |
1441 | - BMP_ELLIPSE = wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR, (48, 48)) | |
1441 | + path = os.path.join(d, "measure_density_ellipse32px.png") | |
1442 | + BMP_ELLIPSE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) | |
1442 | 1443 | |
1443 | - BMP_POLYGON = wx.ArtProvider.GetBitmap(wx.ART_GO_DOWN, wx.ART_TOOLBAR, (48, 48)) | |
1444 | + path = os.path.join(d, "measure_density_polygon32px.png") | |
1445 | + BMP_POLYGON = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) | |
1444 | 1446 | |
1445 | 1447 | #path = os.path.join(d, "tool_annotation_original.png") |
1446 | 1448 | #BMP_ANNOTATE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) |
... | ... | @@ -1467,9 +1469,11 @@ class ObjectToolBar(AuiToolBar): |
1467 | 1469 | path = os.path.join(d, "measure_angle.png") |
1468 | 1470 | BMP_ANGLE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) |
1469 | 1471 | |
1470 | - BMP_ELLIPSE = wx.ArtProvider.GetBitmap(wx.ART_HELP, wx.ART_TOOLBAR, (32, 32)) | |
1472 | + path = os.path.join(d, "measure_density_ellipse28px.png") | |
1473 | + BMP_ELLIPSE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) | |
1471 | 1474 | |
1472 | - BMP_POLYGON = wx.ArtProvider.GetBitmap(wx.ART_GO_DOWN, wx.ART_TOOLBAR, (32, 32)) | |
1475 | + path = os.path.join(d, "measure_density_polygon28px.png") | |
1476 | + BMP_POLYGON = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) | |
1473 | 1477 | |
1474 | 1478 | #path = os.path.join(d, "tool_annotation.png") |
1475 | 1479 | #BMP_ANNOTATE = wx.Bitmap(path, wx.BITMAP_TYPE_PNG) | ... | ... |