2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #include "bbcreaMaracasVisuBitmapButtonIcon.h"
5 #include "bbcreaMaracasVisuPackage.h"
6 namespace bbcreaMaracasVisu
9 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,BitmapButtonIcon)
10 BBTK_BLACK_BOX_IMPLEMENTATION(BitmapButtonIcon,bbtk::AtomicBlackBox);
12 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
14 void BitmapButtonIcon::Process()
16 int index = bbGetInputIndex();
18 wxBitmap icon1(one_xpm);
19 wxBitmap icon2(two_xpm);
20 wxBitmap icon3(three_xpm);
21 wxBitmap icon4(four_xpm);
22 wxBitmap icon5(five_xpm);
24 if(index==1){ bbSetOutputIcon( icon1 ); }
25 if(index==2){ bbSetOutputIcon( icon2 ); }
26 if(index==3){ bbSetOutputIcon( icon3 ); }
27 if(index==4){ bbSetOutputIcon( icon4 ); }
28 if(index==5){ bbSetOutputIcon( icon5 ); }
31 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
33 void BitmapButtonIcon::bbUserSetDefaultValues()
38 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
40 void BitmapButtonIcon::bbUserInitializeProcessing()
45 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
47 void BitmapButtonIcon::bbUserFinalizeProcessing()
52 // EO namespace bbcreaMaracasVisu