gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

treeViewStyle.h (399B)


      1 #pragma once
      2 
      3 #include "uiObjectStyle.h"
      4 
      5 namespace genericUI
      6 {
      7 	class TreeViewStyle : public UiObjectStyle
      8 	{
      9 	public:
     10 		TreeViewStyle(Editor& _editor) : UiObjectStyle(_editor) {}
     11 
     12 		void apply(Editor& _editor, const UiObject& _object) override;
     13 
     14 		void apply(juce::TreeView& _target) const;
     15 
     16 		bool boldRootItems() const { return m_boldRootItems; }
     17 
     18 	private:
     19 		bool m_boldRootItems = true;
     20 	};
     21 }