Commit bd1ee3bf authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD #288] added some icons

parent 07842619
......@@ -28,6 +28,7 @@
#include "../../common/WColor.h"
#include "../../kernel/WKernel.h"
#include "WMClusterParamDisplay.h"
#include "clusterParamDisplay.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMClusterParamDisplay )
......@@ -46,6 +47,11 @@ boost::shared_ptr< WModule > WMClusterParamDisplay::factory() const
return boost::shared_ptr< WModule >( new WMClusterParamDisplay() );
}
const char** WMClusterParamDisplay::getXPMIcon() const
{
return clusterParamDisplay_xpm;
}
void WMClusterParamDisplay::connectors()
{
typedef WModuleInputForwardData< WDataSetFibers > InFiberType;
......
......@@ -67,6 +67,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 * clusterParamDisplay_xpm[] = {
"32 32 244 2",
" c None",
". c #AA7E00",
"+ c #F8BA00",
"@ c #FFB700",
"# c #FFAF00",
"$ c #FFA900",
"% c #FFB400",
"& c #FFB600",
"* c #FFB900",
"= c #FFC800",
"- c #FFA100",
"; c #FF9A00",
"> c #FF9300",
", c #FF8E00",
"' c #FF8C00",
") c #FF8A00",
"! c #FF8B00",
"~ c #FFA500",
"{ c #FFB000",
"] c #FFBB00",
"^ c #FFA800",
"/ c #FF7D00",
"( c #FF7800",
"_ c #FF7400",
": c #FF7300",
"< c #FF7600",
"[ c #FF7A00",
"} c #FF8100",
"| c #FF8700",
"1 c #FF9000",
"2 c #FFAA00",
"3 c #FFC000",
"4 c #FFD400",
"5 c #FF6900",
"6 c #FF5E00",
"7 c #FF5D00",
"8 c #FF6000",
"9 c #FF6500",
"0 c #FF6B00",
"a c #FF7200",
"b c #FF7C00",
"c c #FF9200",
"d c #FF9F00",
"e c #FFAC00",
"f c #FFBD00",
"g c #AB8400",
"h c #FF5200",
"i c #FF4700",
"j c #FF4900",
"k c #FF4F00",
"l c #FF5500",
"m c #FF6800",
"n c #FF7F00",
"o c #FF8D00",
"p c #FF9B00",
"q c #FFBA00",
"r c #C99E00",
"s c #FF4100",
"t c #FF3E00",
"u c #FF4000",
"v c #FF4A00",
"w c #FF5400",
"x c #FF6100",
"y c #FF6E00",
"z c #FF7B00",
"A c #FFAB00",
"B c #FFBC00",
"C c #E7B900",
"D c #FF3B00",
"E c #FF4E00",
"F c #FF9C00",
"G c #FFAE00",
"H c #FFBF00",
"I c #F7CA00",
"J c #B49400",
"K c #FF3800",
"L c #FF3C00",
"M c #FF4C00",
"N c #FF5C00",
"O c #FF6C00",
"P c #FF7E00",
"Q c #FF8F00",
"R c #FFB300",
"S c #FFC600",
"T c #FAD400",
"U c #FF3F00",
"V c #FF7000",
"W c #FF8200",
"X c #FF9500",
"Y c #FFCF00",
"Z c #ECCE00",
"` c #FF4200",
" . c #FF5100",
".. c #FF6400",
"+. c #FF7700",
"@. c #FF9D00",
"#. c #FFB100",
"$. c #FFC500",
"%. c #FFD900",
"&. c #B19300",
"*. c #FF4600",
"=. c #FF5900",
"-. c #FF8000",
";. c #FF9400",
">. c #FFD100",
",. c #DDC000",
"'. c #FF4400",
"). c #FF6200",
"!. c #FFB500",
"~. c #FFC900",
"{. c #FFDE00",
"]. c #FF4500",
"^. c #FF5A00",
"/. c #FF6F00",
"(. c #FF8400",
"_. c #FF9900",
":. c #FFC300",
"<. c #FFD800",
"[. c #B29300",
"}. c #FF5300",
"|. c #FFBE00",
"1. c #BC9E00",
"2. c #FF4D00",
"3. c #FF6300",
"4. c #FFA400",
"5. c #BA9B00",
"6. c #FF2500",
"7. c #FF3300",
"8. c #FF5F00",
"9. c #FF7500",
"0. c #FFCC00",
"a. c #B99900",
"b. c #FF1D00",
"c. c #FF3100",
"d. c #FF8900",
"e. c #FF9E00",
"f. c #FFCA00",
"g. c #AA8800",
"h. c #FF0800",
"i. c #FF1800",
"j. c #FF2E00",
"k. c #FF5B00",
"l. c #FF7100",
"m. c #F20000",
"n. c #FF0200",
"o. c #FF2F00",
"p. c #F6C200",
"q. c #DB0000",
"r. c #ED0000",
"s. c #FF0400",
"t. c #FF1B00",
"u. c #FF3000",
"v. c #CC9F00",
"w. c #C70000",
"x. c #F10000",
"y. c #FF1E00",
"z. c #FF3400",
"A. c #A57E00",
"B. c #690000",
"C. c #7C0000",
"D. c #910000",
"E. c #A20000",
"F. c #B70000",
"G. c #CC0000",
"H. c #E20000",
"I. c #F70000",
"J. c #FF0D00",
"K. c #FF2200",
"L. c #FF7900",
"M. c #490000",
"N. c #520000",
"O. c #620000",
"P. c #740000",
"Q. c #850000",
"R. c #990000",
"S. c #AC0000",
"T. c #C00000",
"U. c #D50000",
"V. c #EA0000",
"W. c #FE0000",
"X. c #FF1400",
"Y. c #FF2900",
"Z. c #AF8100",
"`. c #540000",
" + c #580000",
".+ c #650000",
"++ c #730000",
"@+ c #830000",
"#+ c #940000",
"$+ c #A50000",
"%+ c #B80000",
"&+ c #CB0000",
"*+ c #DF0000",
"=+ c #F30000",
"-+ c #FF1C00",
";+ c #FFB800",
">+ c #630000",
",+ c #6C0000",
"'+ c #780000",
")+ c #930000",
"!+ c #A30000",
"~+ c #B40000",
"{+ c #C50000",
"]+ c #D70000",
"^+ c #FD0000",
"/+ c #FF1100",
"(+ c #FF3A00",
"_+ c #7D0000",
":+ c #770000",
"<+ c #800000",
"[+ c #8B0000",
"}+ c #980000",
"|+ c #B30000",
"1+ c #C30000",
"2+ c #D30000",
"3+ c #E50000",
"4+ c #F60000",
"5+ c #FF0A00",
"6+ c #FF4300",
"7+ c #FF5600",
"8+ c #8D0000",
"9+ c #960000",
"0+ c #9F0000",
"a+ c #AA0000",
"b+ c #B60000",
"c+ c #C40000",
"d+ c #E30000",
"e+ c #F40000",
"f+ c #FF0500",
"g+ c #FF1600",
"h+ c #FFA200",
"i+ c #AB0000",
"j+ c #BE0000",
"k+ c #C90000",
"l+ c #D60000",
"m+ c #E40000",
"n+ c #FF0300",
"o+ c #FF3500",
"p+ c #E10300",
"q+ c #E60500",
"r+ c #EC0600",
"s+ c #F70900",
"t+ c #FF1000",
"u+ c #FF3200",
" ",
" . ",
" + @ # $ # % & * ",
" = - ; > , ' ) ! ' > ~ { ] ",
" ^ ! / ( _ : _ < [ } | 1 ; 2 3 4 ",
" / 5 6 7 7 8 9 0 a b | c d e f g ",
" h i j k l 6 m _ n o p 2 q r ",
" s t u v w x y z ! ; A B C ",
" D s E 7 0 z ! F G H I J ",
" K L M N O P Q - R S T ",
" U M 6 V W X ^ ] Y Z ",
" ` ...+.) @.#.$.%.&. ",
" *.=.0 -.;.^ B >.,. ",
" '.E ).< ! d !.~.{. ",
" ].^./.(._.G :.<.[. ",
" t }.m / > ^ |.4 1. ",
" K 2.3.( , 4.* Y 5. ",
" 6.7.j 8.9.! - & 0.a. ",
" b.c.*.N a d.e.% f.g. ",
" h.i.j.].k.l.| @.R ~. ",
" m.n.i.o.].N a | @.R p. ",
" q.r.s.t.u.i 7 : d.d % v. ",
" w.q.x.h.y.z.v 8 9.! - & A. ",
" B.C.D.E.F.G.H.I.J.K.K E 3.L.Q 4.3 ",
" M.N.O.P.Q.R.S.T.U.V.W.X.Y.t }.m P > ^ Z. ",
" `. +.+++@+#+$+%+&+*+=+h.-+u.].^./.(._.;+ ",
" >+,+'+Q.)+!+~+{+]+V.^+/+6.(+2.x < ! ^ ",
" _+:+<+[+}+$+|+1+2+3+4+5+b.u.6+7+0 n 4. ",
" R.8+9+0+a+b+c+2+d+e+f+g+Y.D E x -.h+ ",
" |+i+~+j+k+l+m+=+n+X.6.o+M O ",
" p+q+r+s+t+y.u+]. ",
" "};
......@@ -48,6 +48,7 @@
#include "../../graphicsEngine/WTriangleMesh2.h"
#include "../../kernel/WKernel.h"
#include "WMClusterSlicer.h"
#include "clusterSlicer.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE( WMClusterSlicer )
......@@ -70,6 +71,11 @@ boost::shared_ptr< WModule > WMClusterSlicer::factory() const
return boost::shared_ptr< WModule >( new WMClusterSlicer() );
}
const char** WMClusterSlicer::getXPMIcon() const
{
return clusterSlicer_xpm;
}
const std::string WMClusterSlicer::getName() const
{
return "Cluster Slicer";
......
......@@ -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:
/**
......
/* XPM */
static const char * clusterSlicer_xpm[] = {
"32 32 235 2",
" c None",
". c #000000",
"+ c #EB0A02",
"@ c #EC1903",
"# c #EC2806",
"$ c #F21402",
"% c #F91E01",
"& c #FC3001",
"* c #F94806",
"= c #E96C1A",
"- c #F62102",
"; c #FE2B00",
"> c #FF3D00",
", c #FE5202",
"' c #F86D0B",
") c #FB800D",
"! c #F53105",
"~ c #FC3F02",
"{ c #FF5100",
"] c #FF6500",
"^ c #FF7700",
"/ c #FF8B04",
"( c #FF9B01",
"_ c #F85907",
": c #FF6301",
"< c #FF8B00",
"[ c #FF9E00",
"} c #FFAE00",
"| c #FEC001",
"1 c #EACC12",
"2 c #F67415",
"3 c #FC7909",
"4 c #FF8800",
"5 c #FF9D00",
"6 c #FFB000",
"7 c #FFC200",
"8 c #FFD400",
"9 c #FCE503",
"0 c #EDF00F",
"a c #FE8A09",
"b c #FF9800",
"c c #FFC300",
"d c #FFD600",
"e c #FFEB00",
"f c #FFF700",
"g c #D3DE27",
"h c #B9CB3B",
"i c #FFA601",
"j c #FFBE00",
"k c #FFD300",
"l c #FFE900",
"m c #FEF901",
"n c #E5E51B",
"o c #D4D52B",
"p c #B7C141",
"q c #A8B34F",
"r c #F5BE0D",
"s c #FFCB00",
"t c #FFE300",
"u c #FFFA00",
"v c #DEE020",
"w c #CCCC33",
"x c #C0BF41",
"y c #B1B14E",
"z c #A0A55A",
"A c #959C63",
"B c #E7D816",
"C c #E2E31D",
"D c #CBCC33",
"E c #B8B847",
"F c #A8A857",
"G c #9B9A65",
"H c #8F9070",
"I c #878975",
"J c #828578",
"K c #C2D832",
"L c #E5E719",
"M c #D5D42B",
"N c #BCBB43",
"O c #A6A659",
"P c #93946C",
"Q c #84847B",
"R c #787788",
"S c #72728C",
"T c #70728C",
"U c #BFD831",
"V c #CCD42D",
"W c #C4C43A",
"X c #AFAE51",
"Y c #979669",
"Z c #80817F",
"` c #6E6F91",
" . c #60609F",
".. c #5858A7",
"+. c #62639D",
"@. c #6B6A95",
"#. c #B2C241",
"$. c #AFB54B",
"%. c #A2A25D",
"&. c #8A8A76",
"*. c #71718E",
"=. c #5B5DA3",
"-. c #494AB6",
";. c #3F3FC0",
">. c #4B4AB5",
",. c #605FA1",
"'. c #6D6D93",
"). c #9EA858",
"!. c #939868",
"~. c #808080",
"{. c #66669A",
"]. c #4D4DB2",
"^. c #2625DA",
"/. c #2726D9",
"(. c #3736C8",
"_. c #4E4EB1",
":. c #686997",
"<. c #797C83",
"[. c #898E71",
"}. c #7B7C83",
"|. c #2929D6",
"1. c #1414EB",
"2. c #1313EC",
"3. c #4546B9",
"4. c #62629D",
"5. c #7A7D83",
"6. c #8A9170",
"7. c #767887",
"8. c #4747B9",
"9. c #2B2BD4",
"0. c #1717E8",
"a. c #1616E8",
"b. c #4647B8",
"c. c #61619E",
"d. c #7D7E82",
"e. c #91966B",
"f. c #9DA95B",
"g. c #666699",
"h. c #5251AF",
"i. c #3A3AC5",
"j. c #2A2BD3",
"k. c #393AC5",
"l. c #5050AF",
"m. c #686896",
"n. c #83827D",
"o. c #9B9D64",
"p. c #A9B252",
"q. c #AFC346",
"r. c #5E5EA1",
"s. c #4F50AF",
"t. c #4445BA",
"u. c #75758A",
"v. c #8D8C73",
"w. c #A8A659",
"x. c #BBBE43",
"y. c #62649C",
"z. c #5F609F",
"A. c #5F5EA0",
"B. c #666599",
"C. c #74748B",
"D. c #85867A",
"E. c #9A9A65",
"F. c #DFE121",
"G. c #DEF31D",
"H. c #C0E43F",
"I. c #71738C",
"J. c #7E7E81",
"K. c #8A8975",
"L. c #979866",
"M. c #ABAA55",
"N. c #D7D728",
"O. c #F0F011",
"P. c #F6F708",
"Q. c #E5E31D",
"R. c #848976",
"S. c #8F946C",
"T. c #9F9F60",
"U. c #AEAD51",
"V. c #D0D12F",
"W. c #E5E71A",
"X. c #F9F607",
"Y. c #FFEF00",
"Z. c #FED704",
"`. c #9AA55D",
" + c #ADB350",
".+ c #D3D32E",
"++ c #E4E51C",
"@+ c #F3F20B",
"#+ c #FDF002",
"$+ c #FFDF00",
"%+ c #FFC800",
"&+ c #FFB301",
"*+ c #C9D432",
"=+ c #E9EB16",
"-+ c #F8F607",
";+ c #FCF202",
">+ c #FFE500",
",+ c #FFCF00",
"'+ c #FFBA00",
")+ c #FFA301",
"!+ c #FB9005",
"~+ c #BDDE39",
"{+ c #E5F117",
"]+ c #FBF004",
"^+ c #FFAA00",
"/+ c #FF9400",
"(+ c #F88205",
"_+ c #E7760F",
":+ c #F3E410",
"<+ c #FFD102",
"[+ c #FFBD00",
"}+ c #FFAC00",
"|+ c #FF9900",
"1+ c #FF8400",
"2+ c #FC6F02",
"3+ c #F16207",
"4+ c #FCBF0A",
"5+ c #FE9902",
"6+ c #FF8600",
"7+ c #FF7200",
"8+ c #FF5D00",
"9+ c #EC3C03",
"0+ c #FF9A05",
"a+ c #F98808",
"b+ c #FC7603",
"c+ c #FF6100",
"d+ c #FC3900",
"e+ c #F12B01",
"f+ c #DE7111",
"g+ c #FE3C00",
"h+ c #FA2701",
"i+ c #F41800",
"j+ c #F13501",
"k+ c #EA2201",
"l+ c #E81000",
" . . ",
" + @ # . . ",
" $ % & * = . . ",
" - ; > , ' ) . . ",
" ! ~ { ] ^ / ( . . ",
" _ : ^ < [ } | 1 . . ",
" 2 3 4 5 6 7 8 9 0 . . ",
" a b } c d e f . g h . ",
" i j k l m . n o p q . ",
" r s t u . v w x y z A . ",
" B f . C D E F G H I J . . ",
" K . L M N O P Q R S T . . ",
" . U V W X Y Z ` .... +.@. . ",
" . #.$.%.&.*.=.-.. ;.>.,.'. . ",
" . ).!.~.{.].. ^./.(._.:.<. . ",
" . [.}. .. |.1.2.|.3.4.5.6. . ",
" . 7.. 8.9.0.a.9.b.c.d.e.f. . ",
" . . g.h.i.9.j.k.l.m.n.o.p.q.. ",
". . r.s.t.t._. .u.v.w.x.. ",
" . y.z.A.B.C.D.E.y . F.G.H. ",
" . I.7.J.K.L.M.. N.O.P.Q. ",
" . R.S.T.U.. V.W.X.Y.Z. ",
" . `. +. .+++@+#+$+%+&+ ",
" . . *+=+-+;+>+,+'+)+!+ . ",
" . . ~+{+]+t k j ^+/+(+_+ . ",
" . . :+<+[+}+|+1+2+3+. ",
" . . 4+}+5+6+7+8+. 9+ ",
" . 0+a+b+c+. d+e+ ",
" . f+. g+h+i+ ",
" . . j+k+l+ ",
" . . ",
" . "};
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