//===== // 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) //===== #include "bbcreaMaracasVisuBitmapButtonIcon.h" #include "bbcreaMaracasVisuPackage.h" namespace bbcreaMaracasVisu { BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,BitmapButtonIcon) BBTK_BLACK_BOX_IMPLEMENTATION(BitmapButtonIcon,bbtk::AtomicBlackBox); //===== // 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) //===== void BitmapButtonIcon::Process() { int index = bbGetInputIndex(); wxBitmap icon1(one_xpm); wxBitmap icon2(two_xpm); wxBitmap icon3(three_xpm); wxBitmap icon4(four_xpm); wxBitmap icon5(five_xpm); if(index==1){ bbSetOutputIcon( icon1 ); } if(index==2){ bbSetOutputIcon( icon2 ); } if(index==3){ bbSetOutputIcon( icon3 ); } if(index==4){ bbSetOutputIcon( icon4 ); } if(index==5){ bbSetOutputIcon( icon5 ); } } //===== // 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) //===== void BitmapButtonIcon::bbUserSetDefaultValues() { } //===== // 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) //===== void BitmapButtonIcon::bbUserInitializeProcessing() { } //===== // 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) //===== void BitmapButtonIcon::bbUserFinalizeProcessing() { } } // EO namespace bbcreaMaracasVisu