Skip to content

Commit

Permalink
update Meander to v2.0.34
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Nov 21, 2024
1 parent dea8bfe commit db1b839
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ $(BUILD_DIR)/LyraeModules/%.cpp.o: LyraeModules/%.cpp
$(foreach m,$(LYRAE_CUSTOM),$(call custom_module_names,$(m),Lyrae)) \
-DpluginInstance=pluginInstance__Lyrae

$(BUILD_DIR)/Meander/src/Meander.cpp.o: Meander/src/Meander.cpp
$(BUILD_DIR)/Meander/src/%.cpp.o: Meander/src/%.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Compiling $<"
$(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@ \
Expand Down
14 changes: 11 additions & 3 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,9 @@ extern Model* modelZeta;
#undef modelDelta

// Meander
extern int panelTheme;
extern int Meander_panelTheme;
extern int MSQ_panelTheme;
extern int MSP_panelTheme;
#include "Meander/src/plugin.hpp"

// MindMeldModular
Expand Down Expand Up @@ -2651,8 +2653,12 @@ static void initStatic__Meander()
if (spl.ok())
{
// for dark theme
panelTheme = 1;
Meander_panelTheme = 1;
MSQ_panelTheme = 1;
MSP_panelTheme = 1;
p->addModel(modelMeander);
p->addModel(modelModeScaleQuant);
p->addModel(modelModeScaleProgressions);
}
}

Expand Down Expand Up @@ -3607,7 +3613,9 @@ void updateStaticPluginsDarkMode()
}
// meander
{
panelTheme = darkMode ? 1 : 0;
Meander_panelTheme = darkMode ? 1 : 0;
MSQ_panelTheme = darkMode ? 1 : 0;
MSP_panelTheme = darkMode ? 1 : 0;
}
// glue the giant
{
Expand Down

0 comments on commit db1b839

Please sign in to comment.