mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Allowed the MidiKeyboardComponent up/down buttons to be non-opaque.
This commit is contained in:
parent
4a00747683
commit
d10d19e4bf
1 changed files with 2 additions and 6 deletions
|
|
@ -26,11 +26,8 @@ class MidiKeyboardUpDownButton : public Button
|
|||
{
|
||||
public:
|
||||
MidiKeyboardUpDownButton (MidiKeyboardComponent& comp, const int d)
|
||||
: Button (String::empty),
|
||||
owner (comp),
|
||||
delta (d)
|
||||
: Button (String::empty), owner (comp), delta (d)
|
||||
{
|
||||
setOpaque (true);
|
||||
}
|
||||
|
||||
void clicked() override
|
||||
|
|
@ -60,8 +57,7 @@ private:
|
|||
};
|
||||
|
||||
//==============================================================================
|
||||
MidiKeyboardComponent::MidiKeyboardComponent (MidiKeyboardState& s,
|
||||
const Orientation o)
|
||||
MidiKeyboardComponent::MidiKeyboardComponent (MidiKeyboardState& s, Orientation o)
|
||||
: state (s),
|
||||
xOffset (0),
|
||||
blackNoteLength (1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue