Browse Source

More osx build fixes

tags/2018-04-16
falkTX 8 years ago
parent
commit
7d0cad1d3d
3 changed files with 8 additions and 6 deletions
  1. +1
    -1
      ports/dexed/source/AlgoDisplay.cpp
  2. +3
    -3
      ports/dexed/source/PluginEditor.cpp
  3. +4
    -2
      scripts/generate-ttl.sh

+ 1
- 1
ports/dexed/source/AlgoDisplay.cpp View File

@@ -29,7 +29,7 @@ AlgoDisplay::AlgoDisplay() {
inline void displayOp(Graphics &g, char id, int x, int y, char link, char fb) {
const int LINE_SZ = 3;
String t(id);
const String t = String(id);
x *= 25;
x += 3;


+ 3
- 3
ports/dexed/source/PluginEditor.cpp View File

@@ -282,9 +282,9 @@ void DexedAudioProcessorEditor::updateUI() {
void DexedAudioProcessorEditor::rebuildProgramCombobox() {
global.programs->clear(dontSendNotification);
for(int i=0;i<processor->getNumPrograms();i++) {
String id;
id << (i+1) << ". " << processor->getProgramName(i);
global.programs->addItem(id, i+1);
String id_;
id_ << (i+1) << ". " << processor->getProgramName(i);
global.programs->addItem(id_, i+1);
}
global.programs->setSelectedId(processor->getCurrentProgram()+1, dontSendNotification);
}


+ 4
- 2
scripts/generate-ttl.sh View File

@@ -26,8 +26,10 @@ FOLDERS=`find ./lv2/ -name \*.lv2`

for i in $FOLDERS; do
cd $i
FILE=`ls *.$EXT | sort | head -n 1`
$GEN ./$FILE
FILE=`ls *.$EXT 2>/dev/null | sort | head -n 1`
if [ "$FILE"x != ""x ]; then
$GEN ./$FILE
fi
cd ../..
done



Loading…
Cancel
Save