Commit 381165db authored by Alexander Wiebel's avatar Alexander Wiebel

[ADD] icon for WMContourTree

parent 2ca25853
......@@ -35,6 +35,7 @@
#include "../../dataHandler/datastructures/WJoinContourTree.h"
#include "../../kernel/WKernel.h"
#include "WMContourTree.h"
#include "contourTree.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMContourTree )
......@@ -53,6 +54,11 @@ boost::shared_ptr< WModule > WMContourTree::factory() const
return boost::shared_ptr< WModule >( new WMContourTree() );
}
const char** WMContourTree::getXPMIcon() const
{
return contourTree_xpm;
}
const std::string WMContourTree::getName() const
{
return "Contour Tree";
......
......@@ -77,6 +77,11 @@ 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.
......
/* XPM */
static const char * contourTree_xpm[] = {
"32 32 2 1",
" c None",
". c #000000",
" ",
" ... ",
" ..... ",
" ..... ",
" ..... ",
" .... ",
" . . ",
" .. . ",
" . ..... ",
" .. .... ",
" . .... ",
" .. .... ",
" ... ... ",
" ..... . . ",
" ..... . . ",
" ..... ... .. ",
" ... ..... . ",
" . . ..... . ",
" .. .. ..... .. ",
" . . ... . ",
" . .. . ",
" .. . .. ",
" . .... .... ",
" ... .... .... ",
" ..... .... .... ",
" ..... .... .... ",
" ..... .. ",
" ... ",
" ",
" ",
" ",
" "};
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