Commit 28c4127e by Alexander Wiebel

[ADD #288] icon for arbitrary ROIS. you may like it or not.

parent 0cd25e13
......@@ -43,6 +43,7 @@
#include "../marchingCubes/WMarchingCubesAlgorithm.h"
#include "WMArbitraryRois.h"
#include "arbitraryROI.xpm"
WMArbitraryRois::WMArbitraryRois():
WModule(),
......@@ -65,6 +66,11 @@ boost::shared_ptr< WModule > WMArbitraryRois::factory() const
return boost::shared_ptr< WModule >( new WMArbitraryRois() );
}
const char** WMArbitraryRois::getXPMIcon() const
{
return arbitraryROI_xpm;
}
const std::string WMArbitraryRois::getName() const
{
// Specify your module name here. This name must be UNIQUE!
......
......@@ -86,6 +86,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 * arbitraryROI_xpm[] = {
"32 32 7 1",
" c None",
". c #FF3333",
"+ c #D7D7D7",
"@ c #000000",
"# c #FFB400",
"$ c #FF5E22",
"% c #AA2222",
" ",
" ... ",
" +++ .... ... +++ ",
" ++++ ..... .... +++ ",
" +++++ ..... .... ++++ ",
" +++++ ..... .... ++++ ",
" +++++ ..... .... ++++ ",
" +++++ .... .... ++++ ",
" +++++ .... .... ++++",
" ++++ .... .... ++++",
" +++++ ..... .... +++",
" +++++ ..... ... +++",
" ++++ .... ... +++",
" ++++ .... ... +++",
" +++++ .... ... +++",
" +++++ .... ... +++",
" ++++ .... @@ ... +++",
" +++++ .... @##@ ... +++",
" +++++ .... @###@ ... +++",
" +++++ ....@####@$$$. ++++",
" +++++ @@%%%%#####%%%. ++++",
" +++++@#$$$$#####$$$@@ +++ ",
" ++++@##$$$$####$$$#@ +++ ",
" +++++@##$$$$###$$$$#@++++ ",
" +++++ @###$$$###$$$$#@++++ ",
" +++++ @##$$$$###$$$##@+++ ",
" +++++ @#$$$$##$$$$#@++++ ",
" +++++ @#$$$###$$$$#@++++ ",
" ++++ @@#$$$###$$$##@+++ ",
" +++ @@###$$$###$$$#@ +++ ",
" @###############@ ",
" @###########@@@@ "};
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