mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a version of Path::addEllipse that takes a Rectangle
This commit is contained in:
parent
549b08312e
commit
1a2a50f71d
4 changed files with 24 additions and 21 deletions
|
|
@ -452,8 +452,7 @@ void LookAndFeel_V2::drawAlertBox (Graphics& g, AlertWindow& alert,
|
|||
colour = alert.getAlertType() == AlertWindow::InfoIcon ? (uint32) 0x605555ff : (uint32) 0x40b69900;
|
||||
character = alert.getAlertType() == AlertWindow::InfoIcon ? 'i' : '?';
|
||||
|
||||
icon.addEllipse ((float) iconRect.getX(), (float) iconRect.getY(),
|
||||
(float) iconRect.getWidth(), (float) iconRect.getHeight());
|
||||
icon.addEllipse (iconRect.toFloat());
|
||||
}
|
||||
|
||||
GlyphArrangement ga;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue