LAF + FrontEnd Macro Floating tile
-
Laf kills the display for the FrontEndMacropanel floating tile (the header text and boxes).
I can't find anything in the list in the source code that relates to it.. any ideas @Christoph-Hart ?
"drawAlertWindow", "getAlertWindowMarkdownStyleData", "drawAlertWindowIcon", "drawPopupMenuBackground", "drawPopupMenuItem", "drawToggleButton", "drawRotarySlider", "drawLinearSlider", "drawDialogButton", "drawComboBox", "drawNumberTag", "createPresetBrowserIcons", "drawPresetBrowserBackground", "drawPresetBrowserDialog", "drawPresetBrowserColumnBackground", "drawPresetBrowserListItem", "drawPresetBrowserSearchBar", "drawPresetBrowserTag", "drawTableBackground", "drawTablePath", "drawTablePoint", "drawTableRuler", "drawScrollbar", "drawMidiDropper", "drawThumbnailBackground", "drawThumbnailText", "drawThumbnailPath", "drawThumbnailRange", "drawThumbnailRuler", "getThumbnailRenderOptions", "drawAhdsrBackground", "drawAhdsrBall", "drawAhdsrPath", "drawKeyboardBackground", "drawWhiteNote", "drawBlackNote", "drawSliderPackBackground", "drawSliderPackFlashOverlay", "drawSliderPackRightClickLine", "drawSliderPackTextPopup", "getIdealPopupMenuItemSize", "drawTableRowBackground", "drawTableCell", "drawTableHeaderBackground", "drawTableHeaderColumn", "drawFilterDragHandle", "drawFilterBackground", "drawFilterPath", "drawFilterGridLines", "drawAnalyserBackground", "drawAnalyserPath", "drawAnalyserGrid", "drawMatrixPeakMeter"
-
-
@d-healey thanks!
-
@DanH @d-healey How Can I customize Normal / Inverted button including color ? All assigned parameters and source,destination etc Text?
Content.makeFrontInterface(600, 600); Engine.setFrontendMacros(["LFO 1", "LFO 2", "ModADSR"]); const var laf = Engine.createGlobalScriptLookAndFeel(); laf.registerFunction("drawTableHeaderBackground", function(g, obj) { Console.print(trace(obj)); g.setColour(Colours.cyan); g.fillRect(obj.area); g.setColour(Colours.red); g.drawAlignedText("Ram", obj.area, "left"); }); laf.registerFunction("drawTableBackground", function(g, obj) { Console.print(trace(obj)); g.setColour(Colours.blue); g.fillRect(obj.area); }); laf.registerFunction("drawTableCell", function(g, obj) { Console.print(trace(obj)); g.setColour(Colours.blue); g.fillRect(obj.area); }); laf.registerFunction("drawTableHeaderColumn", function(g, obj) { g.setColour(Colours.pink); g.fillRect(obj.area); }); laf.registerFunction("drawTableRowBackground", function(g, obj) { Console.print(trace(obj)); g.setColour(Colours.pink); g.fillRect(obj.area); });
-
@DabDab You can play around with the floating tile colours, but there isn't much customisation available without editing the source code.
-
@d-healey Oh...
-
Ihave been able to change some text but still no luck for All .. like Inverted / Normal Button, Selection Color etc.