Browse Source

Merge branch 'master' of https://github.com/VCVRack/Rack into 2017-10-bontric-midi-interface-revamp

tags/v0.5.0
ben 7 years ago
parent
commit
cbd18a32a8
5 changed files with 15 additions and 2 deletions
  1. +3
    -0
      CHANGELOG.md
  2. +1
    -0
      include/plugin.hpp
  3. +1
    -1
      src/app.cpp
  4. +6
    -0
      src/app/RackWidget.cpp
  5. +4
    -1
      src/gui.cpp

+ 3
- 0
CHANGELOG.md View File

@@ -3,6 +3,9 @@ Tip: Use `git checkout v0.4.0` for example to check out any previous version men

### dev

- Audible Instruments
- Added Low CPU mode to Braids for draft-quality rendering


### v0.4.0
- Cables can now stack on output ports


+ 1
- 0
include/plugin.hpp View File

@@ -26,6 +26,7 @@ struct Plugin {
/** Optional metadata for the Add Module context menu */
std::string homepageUrl;
std::string manualUrl;
std::string version;
};

struct Model {


+ 1
- 1
src/app.cpp View File

@@ -8,7 +8,7 @@ std::string gApplicationVersion =
#ifdef VERSION
TOSTRING(VERSION);
#else
"dev";
"";
#endif
std::string gApiHost = "http://api.vcvrack.com";



+ 6
- 0
src/app/RackWidget.cpp View File

@@ -434,6 +434,12 @@ struct AddPluginMenuItem : MenuItem {
menu->pushChild(item);
}

if (!plugin->version.empty()) {
MenuLabel *item = new MenuLabel();
item->text = "Version: v" + plugin->version;
menu->pushChild(item);
}

return menu;
}
};


+ 4
- 1
src/gui.cpp View File

@@ -324,7 +324,10 @@ void guiRun() {
mouseButtonStickyPop();

// Set window title
std::string title = gApplicationName + " " + gApplicationVersion;
std::string title = gApplicationName;
if (!gApplicationVersion.empty()) {
title += " v" + gApplicationVersion;
}
if (!gRackWidget->lastPath.empty()) {
title += " - ";
title += extractFilename(gRackWidget->lastPath);


Loading…
Cancel
Save