Commit 2bd36bf1 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD] icon for triangle mesh renderer

parent eabc1ee5
......@@ -30,6 +30,7 @@
#include "../../common/datastructures/WTriangleMesh.h"
#include "WMTriangleMeshRenderer.h"
#include "trianglemeshrenderer.xpm"
WMTriangleMeshRenderer::WMTriangleMeshRenderer():
WModule(),
......@@ -49,6 +50,11 @@ boost::shared_ptr< WModule > WMTriangleMeshRenderer::factory() const
return boost::shared_ptr< WModule >( new WMTriangleMeshRenderer() );
}
const char** WMTriangleMeshRenderer::getXPMIcon() const
{
return trianglemeshrenderer_xpm;
}
const std::string WMTriangleMeshRenderer::getName() const
{
// Specify your module name here. This name must be UNIQUE!
......
......@@ -81,6 +81,11 @@ public:
*/
virtual boost::shared_ptr< WModule > factory() const;
/**
* Get the icon for this module in XPM format.
*/
virtual const char** getXPMIcon() const;
protected:
/**
......
/* XPM */
static const char * trianglemeshrenderer_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