mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own.
This commit is contained in:
parent
e299011789
commit
4e1c66b02e
58 changed files with 1088 additions and 1054 deletions
|
|
@ -820,6 +820,11 @@ public:
|
|||
return screenPosition - getScreenPosition();
|
||||
}
|
||||
|
||||
void setAlpha (float newAlpha)
|
||||
{
|
||||
//xxx todo!
|
||||
}
|
||||
|
||||
void setMinimised (bool shouldBeMinimised)
|
||||
{
|
||||
if (shouldBeMinimised)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue