Commit 77d45186df91e8fd1475e3d5076fdf5ba4c121ec
1 parent
18b9f819
Exists in
master
and in
68 other branches
ENH: Add UnZoom
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/gui/frame.py
| ... | ... | @@ -357,7 +357,7 @@ class ObjectToolBar(wx.ToolBar): |
| 357 | 357 | wx.BITMAP_TYPE_PNG) |
| 358 | 358 | BMP_ZOOM = wx.Bitmap("../icons/tool_zoom_original.png", |
| 359 | 359 | wx.BITMAP_TYPE_PNG) |
| 360 | - BMP_ZOOM_OUT = wx.Bitmap("../icons/tool_zoom_out_original.png", | |
| 360 | + BMP_ZOOM_OUT = wx.Bitmap("../icons/tool_zoom_select_original.png", | |
| 361 | 361 | wx.BITMAP_TYPE_PNG) |
| 362 | 362 | BMP_CONTRAST = wx.Bitmap("../icons/tool_contrast.png", |
| 363 | 363 | wx.BITMAP_TYPE_PNG) |
| ... | ... | @@ -365,12 +365,12 @@ class ObjectToolBar(wx.ToolBar): |
| 365 | 365 | BMP_ROTATE = wx.Bitmap("../icons/tool_rotate.gif", wx.BITMAP_TYPE_GIF) |
| 366 | 366 | BMP_TRANSLATE = wx.Bitmap("../icons/tool_translate.gif", wx.BITMAP_TYPE_GIF) |
| 367 | 367 | BMP_ZOOM = wx.Bitmap("../icons/tool_zoom.png", wx.BITMAP_TYPE_PNG) |
| 368 | - BMP_ZOOM_OUT = wx.Bitmap("../icons/tool_zoom_out.png", wx.BITMAP_TYPE_PNG) | |
| 368 | + BMP_ZOOM_SELECT = wx.Bitmap("../icons/tool_zoom_select.png", wx.BITMAP_TYPE_PNG) | |
| 369 | 369 | BMP_CONTRAST = wx.Bitmap("../icons/tool_contrast.png", wx.BITMAP_TYPE_PNG) |
| 370 | 370 | |
| 371 | 371 | |
| 372 | 372 | self.AddLabelTool(1, "Zoom in image", BMP_ZOOM, kind = wx.ITEM_CHECK) |
| 373 | - self.AddLabelTool(2, "Zoom out image", BMP_ZOOM_OUT, kind = wx.ITEM_CHECK) | |
| 373 | + self.AddLabelTool(2, "Zoom out image", BMP_ZOOM_SELECT, kind = wx.ITEM_CHECK) | |
| 374 | 374 | self.AddLabelTool(3, "Rotate image", BMP_ROTATE, kind = wx.ITEM_CHECK) |
| 375 | 375 | self.AddLabelTool(4, "Translate image", BMP_TRANSLATE, kind = wx.ITEM_CHECK) |
| 376 | 376 | self.AddLabelTool(5, "Bright and contrast adjustment", BMP_CONTRAST, kind = wx.ITEM_CHECK) | ... | ... |