Part: deactivate and remove the remaining XPM icons, and use SVG icons instead

This commit is contained in:
vocx-fc
2019-10-02 02:30:57 -05:00
committed by wmayer
parent 022442ca7f
commit 4775def51b
6 changed files with 707 additions and 111 deletions

View File

@@ -69,8 +69,8 @@
#include <Gui/Language/Translator.h>
#include "Resources/icons/Part_Feature.xpm"
#include "Resources/icons/Part_FeatureImport.xpm"
// #include "Resources/icons/Part_Feature.xpm"
// #include "Resources/icons/Part_FeatureImport.xpm"
// use a different name to CreateCommand()
void CreatePartCommands(void);
@@ -224,9 +224,9 @@ PyMOD_INIT_FUNC(PartGui)
loadPartResource();
// register bitmaps
Gui::BitmapFactoryInst& rclBmpFactory = Gui::BitmapFactory();
rclBmpFactory.addXPM("Part_Feature",(const char**) PartFeature_xpm);
rclBmpFactory.addXPM("Part_FeatureImport",(const char**) PartFeatureImport_xpm);
// Gui::BitmapFactoryInst& rclBmpFactory = Gui::BitmapFactory();
// rclBmpFactory.addXPM("Part_Feature",(const char**) PartFeature_xpm);
// rclBmpFactory.addXPM("Part_FeatureImport",(const char**) PartFeatureImport_xpm);
PyMOD_Return(partGuiModule);
}