Skip to content

Commit

Permalink
Since it only works in AU, ifdef image display for now
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Dec 16, 2018
1 parent 7784cf4 commit 071a94c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/common/gui/SurgeGUIEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,8 @@ void SurgeGUIEditor::openOrRecreateEditor()
getSurgeBitmap(IDB_BUTTON_ABOUT), nopoint, false);
frame->addView(b_about);

// ZOOM CONTROL
#if TARGET_AUDIOUNIT
// ZOOM CONTROL for now is only implemented in the Audio Unit host
CHSwitch2* mp_zoom =
new CHSwitch2(CRect( 892-77, 526, 892 - 40, 526 + 12 ), this, tag_mp_zoom, 2, 12, 1, 2,
getSurgeBitmap(IDB_BUTTON_MINUSPLUS), nopoint, false);
Expand All @@ -1080,8 +1081,8 @@ void SurgeGUIEditor::openOrRecreateEditor()
Comments->setFontColor( kBlackCColor );
Comments->setHoriAlign(kRightText);
frame->addView(Comments);

// END ZOOM CONTROL
#endif

infowindow = new CParameterTooltip(CRect(0, 0, 0, 0));
frame->addView(infowindow);
Expand Down

0 comments on commit 071a94c

Please sign in to comment.