Commit 618f7d42d3f9a96c5905b0454f5b8e2445369ada
1 parent
54c78726
Exists in
master
Converted all icons to png
Showing
67 changed files
with
33 additions
and
33 deletions
Show diff stats
icons/be.bmp
No preview for this file type
595 Bytes
icons/brush_circle.jpg
1.17 KB
1.07 KB
icons/brush_square.jpg
1022 Bytes
934 Bytes
icons/ca.bmp
No preview for this file type
307 Bytes
icons/cs.bmp
No preview for this file type
646 Bytes
icons/de_DE.bmp
No preview for this file type
562 Bytes
icons/el_GR.bmp
No preview for this file type
576 Bytes
icons/en.bmp
No preview for this file type
957 Bytes
icons/es.bmp
No preview for this file type
472 Bytes
icons/fr.bmp
No preview for this file type
360 Bytes
icons/it.bmp
No preview for this file type
icons/it.png
icons/ja.bmp
No preview for this file type
431 Bytes
icons/ko.bmp
No preview for this file type
721 Bytes
icons/layout_data_only.gif
1.17 KB
icons/layout_data_only.png
icons/layout_data_only_original.gif
788 Bytes
icons/layout_data_only_original.png
icons/layout_full.gif
1.17 KB
icons/layout_full.png
icons/layout_full_original.gif
804 Bytes
icons/layout_full_original.png
icons/measure_angle.jpg
701 Bytes
icons/measure_angle.png
icons/measure_angle_original.jpg
1.79 KB
icons/measure_angle_original.png
icons/object_add.gif
1.58 KB
icons/object_colour.jpg
360 Bytes
352 Bytes
icons/object_invisible.jpg
297 Bytes
284 Bytes
icons/object_remove.gif
1.65 KB
icons/object_visible.jpg
1.88 KB
3.34 KB
icons/pt.bmp
No preview for this file type
651 Bytes
icons/pt_BR.bmp
No preview for this file type
596 Bytes
icons/ro.bmp
No preview for this file type
278 Bytes
icons/ru.bmp
No preview for this file type
289 Bytes
icons/text.gif
243 Bytes
icons/text.png
icons/tool_rotate_original.gif
1.63 KB
icons/tool_rotate_original.png
icons/tr_TR.bmp
No preview for this file type
409 Bytes
icons/zh_TW.bmp
No preview for this file type
846 Bytes
invesalius/gui/data_notebook.py
@@ -542,13 +542,13 @@ class MasksListCtrlPanel(InvListCtrl): | @@ -542,13 +542,13 @@ class MasksListCtrlPanel(InvListCtrl): | ||
542 | def __init_image_list(self): | 542 | def __init_image_list(self): |
543 | self.imagelist = wx.ImageList(16, 16) | 543 | self.imagelist = wx.ImageList(16, 16) |
544 | 544 | ||
545 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg")) | 545 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png")) |
546 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 546 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
547 | bitmap.SetWidth(16) | 547 | bitmap.SetWidth(16) |
548 | bitmap.SetHeight(16) | 548 | bitmap.SetHeight(16) |
549 | img_null = self.imagelist.Add(bitmap) | 549 | img_null = self.imagelist.Add(bitmap) |
550 | 550 | ||
551 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg")) | 551 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png")) |
552 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 552 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
553 | bitmap.SetWidth(16) | 553 | bitmap.SetWidth(16) |
554 | bitmap.SetHeight(16) | 554 | bitmap.SetHeight(16) |
@@ -556,7 +556,7 @@ class MasksListCtrlPanel(InvListCtrl): | @@ -556,7 +556,7 @@ class MasksListCtrlPanel(InvListCtrl): | ||
556 | 556 | ||
557 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) | 557 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) |
558 | 558 | ||
559 | - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg")) | 559 | + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png")) |
560 | 560 | ||
561 | def OnEditLabel(self, evt): | 561 | def OnEditLabel(self, evt): |
562 | if not evt.IsEditCancelled(): | 562 | if not evt.IsEditCancelled(): |
@@ -872,13 +872,13 @@ class SurfacesListCtrlPanel(InvListCtrl): | @@ -872,13 +872,13 @@ class SurfacesListCtrlPanel(InvListCtrl): | ||
872 | def __init_image_list(self): | 872 | def __init_image_list(self): |
873 | self.imagelist = wx.ImageList(16, 16) | 873 | self.imagelist = wx.ImageList(16, 16) |
874 | 874 | ||
875 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg")) | 875 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png")) |
876 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 876 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
877 | bitmap.SetWidth(16) | 877 | bitmap.SetWidth(16) |
878 | bitmap.SetHeight(16) | 878 | bitmap.SetHeight(16) |
879 | img_null = self.imagelist.Add(bitmap) | 879 | img_null = self.imagelist.Add(bitmap) |
880 | 880 | ||
881 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg")) | 881 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png")) |
882 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 882 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
883 | bitmap.SetWidth(16) | 883 | bitmap.SetWidth(16) |
884 | bitmap.SetHeight(16) | 884 | bitmap.SetHeight(16) |
@@ -886,7 +886,7 @@ class SurfacesListCtrlPanel(InvListCtrl): | @@ -886,7 +886,7 @@ class SurfacesListCtrlPanel(InvListCtrl): | ||
886 | 886 | ||
887 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) | 887 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) |
888 | 888 | ||
889 | - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg")) | 889 | + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png")) |
890 | 890 | ||
891 | def OnBeginLabelEdit(self, evt): | 891 | def OnBeginLabelEdit(self, evt): |
892 | if evt.GetColumn() == 1: | 892 | if evt.GetColumn() == 1: |
@@ -1113,13 +1113,13 @@ class MeasuresListCtrlPanel(InvListCtrl): | @@ -1113,13 +1113,13 @@ class MeasuresListCtrlPanel(InvListCtrl): | ||
1113 | def __init_image_list(self): | 1113 | def __init_image_list(self): |
1114 | self.imagelist = wx.ImageList(16, 16) | 1114 | self.imagelist = wx.ImageList(16, 16) |
1115 | 1115 | ||
1116 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg")) | 1116 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png")) |
1117 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 1117 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
1118 | bitmap.SetWidth(16) | 1118 | bitmap.SetWidth(16) |
1119 | bitmap.SetHeight(16) | 1119 | bitmap.SetHeight(16) |
1120 | img_null = self.imagelist.Add(bitmap) | 1120 | img_null = self.imagelist.Add(bitmap) |
1121 | 1121 | ||
1122 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg")) | 1122 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png")) |
1123 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 1123 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
1124 | bitmap.SetWidth(16) | 1124 | bitmap.SetWidth(16) |
1125 | bitmap.SetHeight(16) | 1125 | bitmap.SetHeight(16) |
@@ -1127,7 +1127,7 @@ class MeasuresListCtrlPanel(InvListCtrl): | @@ -1127,7 +1127,7 @@ class MeasuresListCtrlPanel(InvListCtrl): | ||
1127 | 1127 | ||
1128 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) | 1128 | self.SetImageList(self.imagelist,wx.IMAGE_LIST_SMALL) |
1129 | 1129 | ||
1130 | - self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg")) | 1130 | + self.image_gray = Image.open(os.path.join(inv_paths.ICON_DIR, "object_colour.png")) |
1131 | 1131 | ||
1132 | def OnBeginLabelEdit(self, evt): | 1132 | def OnBeginLabelEdit(self, evt): |
1133 | if evt.GetColumn() == 1: | 1133 | if evt.GetColumn() == 1: |
@@ -1278,19 +1278,19 @@ class AnnotationsListCtrlPanel(wx.ListCtrl): | @@ -1278,19 +1278,19 @@ class AnnotationsListCtrlPanel(wx.ListCtrl): | ||
1278 | def __init_image_list(self): | 1278 | def __init_image_list(self): |
1279 | self.imagelist = wx.ImageList(16, 16) | 1279 | self.imagelist = wx.ImageList(16, 16) |
1280 | 1280 | ||
1281 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.jpg")) | 1281 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_visible.png")) |
1282 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 1282 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
1283 | bitmap.SetWidth(16) | 1283 | bitmap.SetWidth(16) |
1284 | bitmap.SetHeight(16) | 1284 | bitmap.SetHeight(16) |
1285 | img_check = self.imagelist.Add(bitmap) | 1285 | img_check = self.imagelist.Add(bitmap) |
1286 | 1286 | ||
1287 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.jpg")) | 1287 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_invisible.png")) |
1288 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 1288 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
1289 | bitmap.SetWidth(16) | 1289 | bitmap.SetWidth(16) |
1290 | bitmap.SetHeight(16) | 1290 | bitmap.SetHeight(16) |
1291 | img_null = self.imagelist.Add(bitmap) | 1291 | img_null = self.imagelist.Add(bitmap) |
1292 | 1292 | ||
1293 | - image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_colour.jpg")) | 1293 | + image = wx.Image(os.path.join(inv_paths.ICON_DIR, "object_colour.png")) |
1294 | bitmap = wx.Bitmap(image.Scale(16, 16)) | 1294 | bitmap = wx.Bitmap(image.Scale(16, 16)) |
1295 | bitmap.SetWidth(16) | 1295 | bitmap.SetWidth(16) |
1296 | bitmap.SetHeight(16) | 1296 | bitmap.SetHeight(16) |
invesalius/gui/frame.py
@@ -1943,11 +1943,11 @@ class LayoutToolBar(AuiToolBar): | @@ -1943,11 +1943,11 @@ class LayoutToolBar(AuiToolBar): | ||
1943 | d = inv_paths.ICON_DIR | 1943 | d = inv_paths.ICON_DIR |
1944 | if sys.platform == 'darwin': | 1944 | if sys.platform == 'darwin': |
1945 | # Bitmaps for show/hide task panel item | 1945 | # Bitmaps for show/hide task panel item |
1946 | - p = os.path.join(d, "layout_data_only_original.gif") | ||
1947 | - self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF) | 1946 | + p = os.path.join(d, "layout_data_only_original.png") |
1947 | + self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG) | ||
1948 | 1948 | ||
1949 | - p = os.path.join(d, "layout_full_original.gif") | ||
1950 | - self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF) | 1949 | + p = os.path.join(d, "layout_full_original.png") |
1950 | + self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG) | ||
1951 | 1951 | ||
1952 | # Bitmaps for show/hide task item | 1952 | # Bitmaps for show/hide task item |
1953 | p = os.path.join(d, "text_inverted_original.png") | 1953 | p = os.path.join(d, "text_inverted_original.png") |
@@ -1958,11 +1958,11 @@ class LayoutToolBar(AuiToolBar): | @@ -1958,11 +1958,11 @@ class LayoutToolBar(AuiToolBar): | ||
1958 | 1958 | ||
1959 | else: | 1959 | else: |
1960 | # Bitmaps for show/hide task panel item | 1960 | # Bitmaps for show/hide task panel item |
1961 | - p = os.path.join(d, "layout_data_only.gif") | ||
1962 | - self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF) | 1961 | + p = os.path.join(d, "layout_data_only.png") |
1962 | + self.BMP_WITH_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG) | ||
1963 | 1963 | ||
1964 | - p = os.path.join(d, "layout_full.gif") | ||
1965 | - self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_GIF) | 1964 | + p = os.path.join(d, "layout_full.png") |
1965 | + self.BMP_WITHOUT_MENU = wx.Bitmap(str(p), wx.BITMAP_TYPE_PNG) | ||
1966 | 1966 | ||
1967 | # Bitmaps for show/hide task item | 1967 | # Bitmaps for show/hide task item |
1968 | p = os.path.join(d, "text_inverted.png") | 1968 | p = os.path.join(d, "text_inverted.png") |
invesalius/gui/language_dialog.py
@@ -71,8 +71,8 @@ class ComboBoxLanguage: | @@ -71,8 +71,8 @@ class ComboBoxLanguage: | ||
71 | self.bitmapCmb = bitmapCmb = BitmapComboBox(parent, style=wx.CB_READONLY) | 71 | self.bitmapCmb = bitmapCmb = BitmapComboBox(parent, style=wx.CB_READONLY) |
72 | for key in self.locales_key: | 72 | for key in self.locales_key: |
73 | # Based on composed flag filename, get bitmap | 73 | # Based on composed flag filename, get bitmap |
74 | - filepath = os.path.join(ICON_DIR, "%s.bmp"%(key)) | ||
75 | - bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_BMP) | 74 | + filepath = os.path.join(ICON_DIR, "%s.png" % (key)) |
75 | + bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_PNG) | ||
76 | # Add bitmap and info to Combo | 76 | # Add bitmap and info to Combo |
77 | bitmapCmb.Append(dict_locales[key], bmp, key) | 77 | bitmapCmb.Append(dict_locales[key], bmp, key) |
78 | # Set default combo item if available on the list | 78 | # Set default combo item if available on the list |
@@ -123,8 +123,8 @@ class LanguageDialog(wx.Dialog): | @@ -123,8 +123,8 @@ class LanguageDialog(wx.Dialog): | ||
123 | # self.bitmapCmb = bitmapCmb = BitmapComboBox(self, style=wx.CB_READONLY) | 123 | # self.bitmapCmb = bitmapCmb = BitmapComboBox(self, style=wx.CB_READONLY) |
124 | # for key in self.locales_key: | 124 | # for key in self.locales_key: |
125 | # # Based on composed flag filename, get bitmap | 125 | # # Based on composed flag filename, get bitmap |
126 | - # filepath = os.path.join(ICON_DIR, "%s.bmp"%(key)) | ||
127 | - # bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_BMP) | 126 | + # filepath = os.path.join(ICON_DIR, "%s.png"%(key)) |
127 | + # bmp = wx.Bitmap(filepath, wx.BITMAP_TYPE_PNG) | ||
128 | # # Add bitmap and info to Combo | 128 | # # Add bitmap and info to Combo |
129 | # bitmapCmb.Append(dict_locales[key], bmp, key) | 129 | # bitmapCmb.Append(dict_locales[key], bmp, key) |
130 | # # Set default combo item if available on the list | 130 | # # Set default combo item if available on the list |
invesalius/gui/task_slice.py
@@ -689,11 +689,11 @@ class EditionTools(wx.Panel): | @@ -689,11 +689,11 @@ class EditionTools(wx.Panel): | ||
689 | ## LINE 2 | 689 | ## LINE 2 |
690 | menu = wx.Menu() | 690 | menu = wx.Menu() |
691 | 691 | ||
692 | - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG) | 692 | + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG) |
693 | item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle")) | 693 | item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle")) |
694 | item.SetBitmap(CIRCLE_BMP) | 694 | item.SetBitmap(CIRCLE_BMP) |
695 | 695 | ||
696 | - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG) | 696 | + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG) |
697 | item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square")) | 697 | item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square")) |
698 | item2.SetBitmap(SQUARE_BMP) | 698 | item2.SetBitmap(SQUARE_BMP) |
699 | 699 | ||
@@ -804,8 +804,8 @@ class EditionTools(wx.Panel): | @@ -804,8 +804,8 @@ class EditionTools(wx.Panel): | ||
804 | threshold_range=(thresh_min, thresh_max)) | 804 | threshold_range=(thresh_min, thresh_max)) |
805 | 805 | ||
806 | def OnMenu(self, evt): | 806 | def OnMenu(self, evt): |
807 | - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG) | ||
808 | - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG) | 807 | + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG) |
808 | + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG) | ||
809 | 809 | ||
810 | brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE, | 810 | brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE, |
811 | MENU_BRUSH_SQUARE: const.BRUSH_SQUARE} | 811 | MENU_BRUSH_SQUARE: const.BRUSH_SQUARE} |
@@ -853,11 +853,11 @@ class WatershedTool(EditionTools): | @@ -853,11 +853,11 @@ class WatershedTool(EditionTools): | ||
853 | ## LINE 2 | 853 | ## LINE 2 |
854 | menu = wx.Menu() | 854 | menu = wx.Menu() |
855 | 855 | ||
856 | - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG) | 856 | + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG) |
857 | item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle")) | 857 | item = wx.MenuItem(menu, MENU_BRUSH_CIRCLE, _("Circle")) |
858 | item.SetBitmap(CIRCLE_BMP) | 858 | item.SetBitmap(CIRCLE_BMP) |
859 | 859 | ||
860 | - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG) | 860 | + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG) |
861 | item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square")) | 861 | item2 = wx.MenuItem(menu, MENU_BRUSH_SQUARE, _("Square")) |
862 | item2.SetBitmap(SQUARE_BMP) | 862 | item2.SetBitmap(SQUARE_BMP) |
863 | 863 | ||
@@ -974,8 +974,8 @@ class WatershedTool(EditionTools): | @@ -974,8 +974,8 @@ class WatershedTool(EditionTools): | ||
974 | self.gradient_thresh.SetMaxValue(thresh_max) | 974 | self.gradient_thresh.SetMaxValue(thresh_max) |
975 | 975 | ||
976 | def OnMenu(self, evt): | 976 | def OnMenu(self, evt): |
977 | - SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.jpg"), wx.BITMAP_TYPE_JPEG) | ||
978 | - CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.jpg"), wx.BITMAP_TYPE_JPEG) | 977 | + SQUARE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_square.png"), wx.BITMAP_TYPE_PNG) |
978 | + CIRCLE_BMP = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "brush_circle.png"), wx.BITMAP_TYPE_PNG) | ||
979 | 979 | ||
980 | brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE, | 980 | brush = {MENU_BRUSH_CIRCLE: const.BRUSH_CIRCLE, |
981 | MENU_BRUSH_SQUARE: const.BRUSH_SQUARE} | 981 | MENU_BRUSH_SQUARE: const.BRUSH_SQUARE} |
invesalius/gui/task_tools.py
@@ -79,7 +79,7 @@ class InnerTaskPanel(wx.Panel): | @@ -79,7 +79,7 @@ class InnerTaskPanel(wx.Panel): | ||
79 | 79 | ||
80 | # Image(s) for buttons | 80 | # Image(s) for buttons |
81 | BMP_ANNOTATE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "annotation.png"), wx.BITMAP_TYPE_PNG) | 81 | BMP_ANNOTATE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "annotation.png"), wx.BITMAP_TYPE_PNG) |
82 | - BMP_ANGLE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_angle.jpg"), wx.BITMAP_TYPE_JPEG) | 82 | + BMP_ANGLE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_angle.png"), wx.BITMAP_TYPE_PNG) |
83 | BMP_DISTANCE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_line.png"), wx.BITMAP_TYPE_PNG) | 83 | BMP_DISTANCE = wx.Bitmap(os.path.join(inv_paths.ICON_DIR, "measure_line.png"), wx.BITMAP_TYPE_PNG) |
84 | BMP_ANNOTATE.SetWidth(25) | 84 | BMP_ANNOTATE.SetWidth(25) |
85 | BMP_ANNOTATE.SetHeight(25) | 85 | BMP_ANNOTATE.SetHeight(25) |