commit 3b76a035e7c32bf6b2c04f5f23c59abab7798409
parent 9f2071f879eed2e5bafe8120c4a0cd152b46fa90
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Fri, 18 Apr 2014 18:34:48 -0400
Minor ifdef for Carla Embedding
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/UI/VirKeyboard.fl b/src/UI/VirKeyboard.fl
@@ -76,10 +76,17 @@ rndvelocity=0;} {}
code {int ox=x(),oy=y(),lx=w(),ly=h()-1,i;
\#ifdef NTK_GUI
+\#ifdef CARLA_VERSION_STRING
+ Fl_Image *white_up = Fl_Shared_Image::get( gUiPixmapPath + "white_key.png" );
+ Fl_Image *white_down = Fl_Shared_Image::get( gUiPixmapPath + "white_key_pressed.png" );
+ Fl_Image *black_up = Fl_Shared_Image::get( gUiPixmapPath + "black_key.png" );
+ Fl_Image *black_down = Fl_Shared_Image::get( gUiPixmapPath + "black_key_pressed.png" );
+\#else
Fl_Image *white_up = Fl_Shared_Image::get( PIXMAP_PATH "white_key.png" );
Fl_Image *white_down = Fl_Shared_Image::get( PIXMAP_PATH "white_key_pressed.png" );
Fl_Image *black_up = Fl_Shared_Image::get( PIXMAP_PATH "black_key.png" );
Fl_Image *black_down = Fl_Shared_Image::get( PIXMAP_PATH "black_key_pressed.png" );
+ \#endif
//On error fetch everything from source directory