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

[ADD] icons for three modules

parent 33064210
......@@ -38,6 +38,7 @@
#include "../../math/WVector3D.h"
#include "../data/WMData.h"
#include "WMBoundingBox.h"
#include "boundingbox.xpm"
WMBoundingBox::WMBoundingBox():
WModule()
......@@ -57,6 +58,11 @@ boost::shared_ptr< WModule > WMBoundingBox::factory() const
return boost::shared_ptr< WModule >( new WMBoundingBox() );
}
const char** WMBoundingBox::getXPMIcon() const
{
return boundingbox_xpm;
}
const std::string WMBoundingBox::getName() const
{
return "Bounding Box";
......
......@@ -83,6 +83,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 * boundingbox_xpm[] = {
"16 16 2 1",
" c None",
". c #000000",
" . ",
" ..... ",
" .. . ... ",
" . . ... ",
"... . ..",
". .... .. .",
". .. . .",
". . ... .",
". .. . .",
". .. ... .",
". .. .. .",
".. . ... .",
".. . . ",
" ... . .. ",
" ... . . ",
" ... "};
......@@ -37,6 +37,7 @@
#include "../../kernel/WKernel.h"
#include "WMFiberDisplay2.h"
#include "fiberdisplay.xpm"
WMFiberDisplay2::WMFiberDisplay2()
: WModule(),
......@@ -53,6 +54,11 @@ boost::shared_ptr< WModule > WMFiberDisplay2::factory() const
return boost::shared_ptr< WModule >( new WMFiberDisplay2() );
}
const char** WMFiberDisplay2::getXPMIcon() const
{
return fiberdisplay_xpm;
}
osg::ref_ptr< osg::Geode > WMFiberDisplay2::genFiberGeode()
{
using osg::ref_ptr;
......
......@@ -73,6 +73,11 @@ public:
*/
virtual boost::shared_ptr< WModule > factory() const;
/**
* Get the icon for this module in XPM format.
*/
virtual const char** getXPMIcon() const;
/**
* Determine what to do if a property was changed.
* \param propertyName Name of the property.
......
/* XPM */
static const char * fiberdisplay_xpm[] = {
"16 16 87 1",
" c None",
". c #8162D6",
"+ c #7568DD",
"@ c #6366D8",
"# c #8479E0",
"$ c #8699DF",
"% c #827CD8",
"& c #7C71D9",
"* c #6251D2",
"= c #6C69D7",
"- c #7673DD",
"; c #9089E1",
"> c #8B9ADF",
", c #74C08A",
"' c #6597C1",
") c #6883CB",
"! c #698ECE",
"~ c #6B71D1",
"{ c #828CBA",
"] c #997DBA",
"^ c #8795E4",
"/ c #8BA5C4",
"( c #7CB0AF",
"_ c #85BD95",
": c #6B96B4",
"< c #53BF8A",
"[ c #6A8BBB",
"} c #7E98BB",
"| c #6C9B9F",
"1 c #4A8984",
"2 c #5E8E8B",
"3 c #8879AE",
"4 c #948EC5",
"5 c #8BA7BA",
"6 c #6DC298",
"7 c #60C673",
"8 c #66CC6D",
"9 c #7CABBA",
"0 c #63AC9D",
"a c #6CC963",
"b c #91AA8A",
"c c #8DA984",
"d c #8C9BB5",
"e c #4C63C8",
"f c #7D6FE5",
"g c #9FA3BF",
"h c #6BBC8E",
"i c #4DBE84",
"j c #66C476",
"k c #62CC5F",
"l c #6DC353",
"m c #71B792",
"n c #7DC669",
"o c #53BE78",
"p c #6D9E97",
"q c #85AE81",
"r c #8A987F",
"s c #8488AB",
"t c #917CE0",
"u c #78C4A4",
"v c #77C84D",
"w c #67B650",
"x c #7BA364",
"y c #74BC56",
"z c #58C24C",
"A c #70C669",
"B c #83B282",
"C c #65A18E",
"D c #58C96D",
"E c #7FB194",
"F c #5BC580",
"G c #63B76E",
"H c #70B974",
"I c #74B76F",
"J c #6FBD57",
"K c #69BD5E",
"L c #60B364",
"M c #53BF53",
"N c #6DC468",
"O c #54A9A1",
"P c #63AFA2",
"Q c #6DAE8C",
"R c #6FAE9C",
"S c #81C869",
"T c #81C664",
"U c #61AA82",
"V c #8D8F99",
" ",
" ",
" ",
" .+@# ",
" $%&*=-;> ",
" ,')!~{]^/(_ ",
" :<[}|12345678 ",
" 90abcdefghijkl ",
" mnopqrstuvwxyz ",
" ABCDEFGHIJKLMN ",
" OPQR ",
" STUV ",
" ",
" ",
" ",
" "};
......@@ -46,6 +46,7 @@
#include "../../kernel/WModuleInputData.h"
#include "../data/WMData.h"
#include "WMNavSlices.h"
#include "navslices.xpm"
WMNavSlices::WMNavSlices():
WModule()
......@@ -69,6 +70,11 @@ boost::shared_ptr< WModule > WMNavSlices::factory() const
return boost::shared_ptr< WModule >( new WMNavSlices() );
}
const char** WMNavSlices::getXPMIcon() const
{
return navslices_xpm;
}
const std::string WMNavSlices::getName() const
{
return "Navigation Slice Module";
......
......@@ -90,6 +90,12 @@ 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 * navslices_xpm[] = {
"16 16 59 1",
" c None",
". c #000000",
"+ c #666666",
"@ c #262626",
"# c #7B7B7B",
"$ c #676767",
"% c #8E8E8E",
"& c #4B4B4B",
"* c #B3B3B3",
"= c #848484",
"- c #9D9D9D",
"; c #464646",
"> c #3C3C3C",
", c #808080",
"' c #4C4C4C",
") c #8D8D8D",
"! c #969696",
"~ c #767676",
"{ c #6E6E6E",
"] c #585858",
"^ c #898989",
"/ c #5E5E5E",
"( c #C0C0C0",
"_ c #E1E1E1",
": c #D0D0D0",
"< c #6F6F6F",
"[ c #707070",
"} c #191919",
"| c #7A7A7A",
"1 c #4E4E4E",
"2 c #D8D8D8",
"3 c #E5E5E5",
"4 c #999999",
"5 c #BFBFBF",
"6 c #BBBBBB",
"7 c #2C2C2C",
"8 c #A7A7A7",
"9 c #CCCCCC",
"0 c #D9D9D9",
"a c #8F8F8F",
"b c #141414",
"c c #333333",
"d c #858585",
"e c #3A3A3A",
"f c #F8F8F8",
"g c #F2F2F2",
"h c #A9A9A9",
"i c #B2B2B2",
"j c #050505",
"k c #868686",
"l c #6D6D6D",
"m c #505050",
"n c #DEDEDE",
"o c #B6B6B6",
"p c #9B9B9B",
"q c #616161",
"r c #888888",
"s c #AFAFAF",
"t c #818181",
" .. ",
" .... ... ",
" .......... ",
" ..+@#.$..... ",
" .%&*.=-;>... ",
" .,%.')!~{].. ",
" .^../(_:<[...",
" }|..-1234=...",
" .56.78:,90ab..",
" ..cd.1efghi=.. ",
"..jkl.mnopcq... ",
"....].rst%..... ",
" ............ ",
" ......... ",
" .. ",
" .. "};
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