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 }