Commit 60fb4e71 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD] another new icon. changed one icon.

parent 5d24e076
......@@ -28,6 +28,7 @@
#include <vector>
#include "WMDistanceMap.h"
#include "distancemap.xpm"
#include "../../kernel/WKernel.h"
#include "../../kernel/WModuleFactory.h"
......@@ -54,6 +55,12 @@ boost::shared_ptr< WModule > WMDistanceMap::factory() const
return boost::shared_ptr< WModule >( new WMDistanceMap() );
}
const char** WMDistanceMap::getXPMIcon() const
{
return distancemap_xpm;
}
const std::string WMDistanceMap::getName() const
{
return "Distance Map";
......
......@@ -75,6 +75,12 @@ public:
*/
virtual boost::shared_ptr< WModule > factory() const;
/**
* Get the icon for this module in XPM format.
*/
virtual const char** getXPMIcon() const;
protected:
/**
* Entry point after loading the module. Runs in separate thread.
......
......@@ -29,7 +29,7 @@
#include "WMDistanceMap.h"
#include "WMDistanceMapIsosurface.h"
#include "distancemap.xpm"
#include "distancemapIsosurface.xpm"
#include "../../kernel/WKernel.h"
#include "../../kernel/WModuleFactory.h"
......@@ -63,7 +63,7 @@ boost::shared_ptr< WModule > WMDistanceMapIsosurface::factory() const
const char** WMDistanceMapIsosurface::getXPMIcon() const
{
return distancemap_xpm;
return distancemapIsosurface_xpm;
}
void WMDistanceMapIsosurface::moduleMain()
......
......@@ -68,7 +68,6 @@ public:
*/
virtual const char** getXPMIcon() const;
/**
* Determine what to do if a property was changed.
* \param propertyName Name of the property.
......
src/modules/distanceMap/distancemap.png

10.1 KB | W: | H:

src/modules/distanceMap/distancemap.png

13.3 KB | W: | H:

src/modules/distanceMap/distancemap.png
src/modules/distanceMap/distancemap.png
src/modules/distanceMap/distancemap.png
src/modules/distanceMap/distancemap.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment