mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a virtual getPopupMenuBorderSize() to PopupMenu::LookAndFeelMethods
This commit is contained in:
parent
8e2ab5eeaa
commit
b7a7563a59
4 changed files with 13 additions and 7 deletions
|
|
@ -1104,6 +1104,8 @@ void LookAndFeel_V2::preparePopupMenuWindow (Component&) {}
|
|||
|
||||
bool LookAndFeel_V2::shouldPopupMenuScaleWithTargetComponent (const PopupMenu::Options&) { return true; }
|
||||
|
||||
int LookAndFeel_V2::getPopupMenuBorderSize() { return 2; }
|
||||
|
||||
//==============================================================================
|
||||
void LookAndFeel_V2::fillTextEditorBackground (Graphics& g, int /*width*/, int /*height*/, TextEditor& textEditor)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -182,6 +182,8 @@ public:
|
|||
|
||||
bool shouldPopupMenuScaleWithTargetComponent (const PopupMenu::Options& options) override;
|
||||
|
||||
int getPopupMenuBorderSize() override;
|
||||
|
||||
//==============================================================================
|
||||
void drawComboBox (Graphics&, int width, int height, bool isButtonDown,
|
||||
int buttonX, int buttonY, int buttonW, int buttonH,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue