Browse Source

Set larger default zoom level. Fix bug in translucent MenuOverlay

background.
tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
c932654768
3 changed files with 5 additions and 4 deletions
  1. +1
    -1
      src/app/TipWindow.cpp
  2. +1
    -1
      src/settings.cpp
  3. +3
    -2
      src/ui/MenuOverlay.cpp

+ 1
- 1
src/app/TipWindow.cpp View File

@@ -46,7 +46,7 @@ static std::vector<TipInfo> tipInfos = {
{"Follow VCV Rack on Twitter for new modules, product announcements, and development news.", "Twitter @vcvrack", "https://twitter.com/vcvrack"}, // reviewed
{"Did you know that patch cables in Rack can carry up to 16 signals? You can use this feature to build polyphonic patches with modules having the “Polyphonic” tag. Cables carrying more than 1 signal appear thicker than normal cables. To try out polyphony, add the VCV MIDI-CV module to your patch, right-click its panel, and select your desired number of polyphonic channels.", "Learn more about polyphony in VCV Rack", "https://vcvrack.com/manual/Polyphony"}, // reviewed
{"Know C++ programming and want to create your own modules for Rack? Developing Rack modules is a great way to learn digital signal processing and quickly test your ideas with an easy-to-learn platform.\n\nDownload the Rack SDK and follow the official tutorial to get started.", "Plugin Development Tutorial", "https://vcvrack.com/manual/PluginDevelopmentTutorial"}, // reviewed
{"Confused about how to use a particular module? Right-click its panel and choose “Info > User manual”.\n\nYou can also open the module's Info menu to view the module's tags, website, VCV Library entry, and changelog.", "", ""}, // reviewed
{"Wondering how to use a particular module? Right-click its panel and choose “Info > User manual”.\n\nYou can also open the module's Info menu to view the module's tags, website, VCV Library entry, and changelog.", "", ""}, // reviewed
{"Did you know that ModularGrid is interconnected with the VCV Library? If a Eurorack version of a Rack module is available, right-click its panel and choose “Info > ModularGrid”, or click the “ModularGrid” link on its VCV Library page.\nOn ModularGrid.net, search for the “Available for VCV Rack” link if a hardware module has a virtual Rack version.", "Example: Grayscale Permutation on ModularGrid", "https://www.modulargrid.net/e/grayscale-permutation-18hp"}, // reviewed
// {"", "", ""},
};


+ 1
- 1
src/settings.cpp View File

@@ -19,7 +19,7 @@ bool headless = false;
std::string token;
math::Vec windowSize;
math::Vec windowPos;
float zoom = 0.0;
float zoom = 0.25;
bool invertZoom = false;
float cableOpacity = 0.5;
float cableTension = 0.5;


+ 3
- 2
src/ui/MenuOverlay.cpp View File

@@ -6,9 +6,10 @@ namespace ui {


void MenuOverlay::draw(const DrawArgs& args) {
// Possible translucent background
// Translucent background
nvgBeginPath(args.vg);
nvgRect(args.vg, 0, 0, VEC_ARGS(box.size));
nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.333));
nvgFillColor(args.vg, nvgRGBAf(0, 0, 0, 0.33));
nvgFill(args.vg);

OpaqueWidget::draw(args);


Loading…
Cancel
Save