@@ -3,6 +3,9 @@ Tip: Use `git checkout v0.4.0` for example to check out any previous version men | |||||
### dev | ### dev | ||||
- Audible Instruments | |||||
- Added Low CPU mode to Braids for draft-quality rendering | |||||
### v0.4.0 | ### v0.4.0 | ||||
- Cables can now stack on output ports | - Cables can now stack on output ports | ||||
@@ -26,6 +26,7 @@ struct Plugin { | |||||
/** Optional metadata for the Add Module context menu */ | /** Optional metadata for the Add Module context menu */ | ||||
std::string homepageUrl; | std::string homepageUrl; | ||||
std::string manualUrl; | std::string manualUrl; | ||||
std::string version; | |||||
}; | }; | ||||
struct Model { | struct Model { | ||||
@@ -8,7 +8,7 @@ std::string gApplicationVersion = | |||||
#ifdef VERSION | #ifdef VERSION | ||||
TOSTRING(VERSION); | TOSTRING(VERSION); | ||||
#else | #else | ||||
"dev"; | |||||
""; | |||||
#endif | #endif | ||||
std::string gApiHost = "http://api.vcvrack.com"; | std::string gApiHost = "http://api.vcvrack.com"; | ||||
@@ -434,6 +434,12 @@ struct AddPluginMenuItem : MenuItem { | |||||
menu->pushChild(item); | menu->pushChild(item); | ||||
} | } | ||||
if (!plugin->version.empty()) { | |||||
MenuLabel *item = new MenuLabel(); | |||||
item->text = "Version: v" + plugin->version; | |||||
menu->pushChild(item); | |||||
} | |||||
return menu; | return menu; | ||||
} | } | ||||
}; | }; | ||||
@@ -324,7 +324,10 @@ void guiRun() { | |||||
mouseButtonStickyPop(); | mouseButtonStickyPop(); | ||||
// Set window title | // Set window title | ||||
std::string title = gApplicationName + " " + gApplicationVersion; | |||||
std::string title = gApplicationName; | |||||
if (!gApplicationVersion.empty()) { | |||||
title += " v" + gApplicationVersion; | |||||
} | |||||
if (!gRackWidget->lastPath.empty()) { | if (!gRackWidget->lastPath.empty()) { | ||||
title += " - "; | title += " - "; | ||||
title += extractFilename(gRackWidget->lastPath); | title += extractFilename(gRackWidget->lastPath); | ||||