#include <FadingSplashScreen.hpp>
This code was initially made by Warmonger, from Juce Forum Modified by me.
Public Member Functions | |
FadingSplashScreen (juce::DocumentWindow *main) | |
Constructor. | |
int | getDesktopWindowStyleFlags () const |
Get the desktop windows style flags. | |
void | paint (juce::Graphics &g) |
The (obvious) paint method. | |
void | showSplash (int startMillis, int stopMillis, juce::Image *image) |
Show the splash screen with the given image (should be in ImageCache), and start the timer. | |
void | timerCallback () |
The timer callback used to fade out the image. | |
~FadingSplashScreen () | |
Destructor. |
FadingSplashScreen::FadingSplashScreen | ( | juce::DocumentWindow * | main | ) | [inline] |
Constructor.
FadingSplashScreen::~FadingSplashScreen | ( | ) | [inline] |
Destructor.
int FadingSplashScreen::getDesktopWindowStyleFlags | ( | ) | const [inline] |
Get the desktop windows style flags.
void FadingSplashScreen::paint | ( | juce::Graphics & | g | ) | [inline] |
The (obvious) paint method.
void FadingSplashScreen::showSplash | ( | int | startMillis, | |
int | stopMillis, | |||
juce::Image * | image | |||
) | [inline] |
Show the splash screen with the given image (should be in ImageCache), and start the timer.
void FadingSplashScreen::timerCallback | ( | ) | [inline] |
The timer callback used to fade out the image.