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

comboboxStyle.h (462B)


      1 #pragma once
      2 
      3 #include "uiObjectStyle.h"
      4 
      5 namespace genericUI
      6 {
      7 	class ComboboxStyle : public UiObjectStyle
      8 	{
      9 	public:
     10 		explicit ComboboxStyle(Editor& _editor);
     11 
     12 		void apply(juce::ComboBox& _target) const;
     13 
     14 	private:
     15 		void drawComboBox(juce::Graphics&, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, juce::ComboBox&) override;
     16 		void positionComboBoxText(juce::ComboBox& box, juce::Label& label) override;
     17 	};
     18 }