| @@ -307,7 +307,7 @@ struct AppearanceEditor | |||
| getLookAndFeel().drawSpinningWaitAnimation (g, Colours::white, (getWidth() - size) / 2, getHeight() / 2 - 50, size, size); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| repaint(); | |||
| @@ -595,7 +595,7 @@ private: | |||
| public: | |||
| AsyncQuitRetrier() { startTimer (500); } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| stopTimer(); | |||
| delete this; | |||
| @@ -146,7 +146,7 @@ public: | |||
| stopThread (10000); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| if (downloaded.loadFromWebsite()) | |||
| triggerAsyncUpdate(); | |||
| @@ -156,7 +156,7 @@ public: | |||
| "Couldn't connect to the JUCE webserver!"); | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| owner.backgroundUpdateComplete (downloaded); | |||
| } | |||
| @@ -346,7 +346,7 @@ public: | |||
| { | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| for (int i = 0; i < itemsToInstall.size(); ++i) | |||
| { | |||
| @@ -163,7 +163,7 @@ private: | |||
| ScopedPointer<XmlElement> currentXML; | |||
| ScopedPointer<Timer> userDocChangeTimer; | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| void codeDocumentTextInserted (const String& newText, int insertIndex); | |||
| void codeDocumentTextDeleted (int startIndex, int endIndex); | |||
| void userEditedCpp(); | |||
| @@ -54,7 +54,7 @@ public: | |||
| saver (ps), result (Result::ok()) | |||
| {} | |||
| void run() | |||
| void run() override | |||
| { | |||
| setProgress (-1); | |||
| result = saver.save (false); | |||
| @@ -490,7 +490,7 @@ public: | |||
| refresh(); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| refresh(); | |||
| } | |||
| @@ -400,7 +400,7 @@ public: | |||
| startTimer (500); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| stopTimer(); | |||
| commandManager->invoke (info, true); | |||
| @@ -96,8 +96,8 @@ class RolloverHelpComp : public Component, | |||
| public: | |||
| RolloverHelpComp(); | |||
| void paint (Graphics& g); | |||
| void timerCallback(); | |||
| void paint (Graphics&) override; | |||
| void timerCallback() override; | |||
| private: | |||
| Component* lastComp; | |||
| @@ -135,7 +135,7 @@ public: | |||
| stopThread (2000); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| // this is the code that runs this thread - we'll loop continuously, | |||
| // updating the co-ordinates of our blob. | |||
| @@ -963,7 +963,7 @@ public: | |||
| setStatusMessage ("Getting ready..."); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| setProgress (-1.0); // setting a value beyond the range 0 -> 1 will show a spinning bar.. | |||
| setStatusMessage ("Preparing to do some stuff..."); | |||
| @@ -137,7 +137,7 @@ protected: | |||
| PendingMessage* firstMessage; | |||
| MidiOutput(); | |||
| void run(); | |||
| void run() override; | |||
| private: | |||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiOutput) | |||
| @@ -277,7 +277,7 @@ public: | |||
| } | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| JNIEnv* env = getEnv(); | |||
| jshortArray audioBuffer = env->NewShortArray (actualBufferSize * jmax (numDeviceOutputChannels, numDeviceInputChannels)); | |||
| @@ -172,7 +172,7 @@ public: | |||
| oldCallback->audioDeviceStopped(); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| if (recorder != nullptr) recorder->start(); | |||
| if (player != nullptr) player->start(); | |||
| @@ -628,7 +628,7 @@ public: | |||
| callback = newCallback; | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| while (! threadShouldExit()) | |||
| { | |||
| @@ -124,7 +124,7 @@ private: | |||
| jassert (client.input && client.get() != nullptr); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| const int maxEventSize = 16 * 1024; | |||
| snd_midi_event_t* midiParser; | |||
| @@ -291,7 +291,7 @@ public: | |||
| stopTimer(); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| const DiskState state = getDiskState(); | |||
| @@ -759,7 +759,7 @@ public: | |||
| startTimer (100); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| stopTimer(); | |||
| JUCE_COREAUDIOLOG ("CoreAudio device changed callback"); | |||
| @@ -821,7 +821,7 @@ public: | |||
| startTimer (500); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (! insideControlPanelModalLoop) | |||
| { | |||
| @@ -203,7 +203,7 @@ public: | |||
| && SUCCEEDED (discRecorder->SetRecorderProperties (prop)); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| const DiskState state = getDiskState(); | |||
| @@ -910,7 +910,7 @@ private: | |||
| } | |||
| public: | |||
| void run() | |||
| void run() override | |||
| { | |||
| while (! threadShouldExit()) | |||
| { | |||
| @@ -1054,7 +1054,7 @@ public: | |||
| } | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| setMMThreadPriority(); | |||
| @@ -1178,7 +1178,7 @@ private: | |||
| } | |||
| //============================================================================== | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| stop(); | |||
| @@ -324,12 +324,12 @@ struct AAXClasses | |||
| } | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.fillAll (Colours::black); | |||
| } | |||
| void childBoundsChanged (Component*) | |||
| void childBoundsChanged (Component*) override | |||
| { | |||
| if (pluginEditor != nullptr) | |||
| { | |||
| @@ -235,7 +235,7 @@ public: | |||
| } | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (! juce::Component::isMouseButtonDownAnywhere()) | |||
| { | |||
| @@ -499,7 +499,7 @@ protected: | |||
| midiEvents.ensureSize (2048); | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| if (! prepared) | |||
| { | |||
| @@ -280,7 +280,7 @@ public: | |||
| clearSingletonInstance(); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| initialiseJuce_GUI(); | |||
| initialised = true; | |||
| @@ -1038,7 +1038,7 @@ public: | |||
| return 0; | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (shouldDeleteEditor) | |||
| { | |||
| @@ -1353,9 +1353,9 @@ public: | |||
| // have been transferred to another parent which takes over ownership. | |||
| } | |||
| void paint (Graphics&) {} | |||
| void paint (Graphics&) override {} | |||
| void paintOverChildren (Graphics&) | |||
| void paintOverChildren (Graphics&) override | |||
| { | |||
| // this causes an async call to masterIdle() to help | |||
| // creaky old DAWs like Nuendo repaint themselves while we're | |||
| @@ -1365,7 +1365,7 @@ public: | |||
| } | |||
| #if JUCE_MAC | |||
| bool keyPressed (const KeyPress&) | |||
| bool keyPressed (const KeyPress&) override | |||
| { | |||
| // If we have an unused keypress, move the key-focus to a host window | |||
| // and re-inject the event.. | |||
| @@ -1378,13 +1378,13 @@ public: | |||
| return dynamic_cast <AudioProcessorEditor*> (getChildComponent (0)); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (Component* const editor = getChildComponent(0)) | |||
| editor->setBounds (getLocalBounds()); | |||
| } | |||
| void childBoundsChanged (Component* child) | |||
| void childBoundsChanged (Component* child) override | |||
| { | |||
| child->setTopLeftPosition (0, 0); | |||
| @@ -1408,18 +1408,18 @@ public: | |||
| #endif | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| wrapper.tryMasterIdle(); | |||
| } | |||
| #if JUCE_WINDOWS | |||
| void mouseDown (const MouseEvent&) | |||
| void mouseDown (const MouseEvent&) override | |||
| { | |||
| broughtToFront(); | |||
| } | |||
| void broughtToFront() | |||
| void broughtToFront() override | |||
| { | |||
| // for hosts like nuendo, need to also pop the MDI container to the | |||
| // front when our comp is clicked on. | |||
| @@ -37,7 +37,7 @@ public: | |||
| startTimer (1000 / 30); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| // workaround for carbon windows not getting mouse-moves.. | |||
| const Point<int> screenPos (Desktop::getInstance().getMainMouseSource().getScreenPosition()); | |||
| @@ -1286,23 +1286,23 @@ public: | |||
| bool isValid() const { return wrapper.getView() != nil; } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.fillAll (Colours::white); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| wrapper.setSize (getWidth(), getHeight()); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| wrapper.resizeToFitView(); | |||
| startTimer (jmin (713, getTimerInterval() + 51)); | |||
| } | |||
| void childBoundsChanged (Component* child) | |||
| void childBoundsChanged (Component* child) override | |||
| { | |||
| setSize (wrapper.getWidth(), wrapper.getHeight()); | |||
| startTimer (70); | |||
| @@ -1424,20 +1424,20 @@ public: | |||
| bool isValid() const noexcept { return audioComponent != nullptr; } | |||
| //============================================================================== | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.fillAll (Colours::black); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (innerWrapper != nullptr) | |||
| innerWrapper->setSize (getWidth(), getHeight()); | |||
| } | |||
| //============================================================================== | |||
| bool keyStateChanged (bool) { return false; } | |||
| bool keyPressed (const KeyPress&) { return false; } | |||
| bool keyStateChanged (bool) override { return false; } | |||
| bool keyPressed (const KeyPress&) override { return false; } | |||
| //============================================================================== | |||
| AudioUnit getAudioUnit() const { return plugin.audioUnit; } | |||
| @@ -1232,13 +1232,13 @@ public: | |||
| void setCurrentProgramStateInformation (const void* data, int size) { loadFromFXBFile (data, size); } | |||
| //============================================================================== | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (dispatch (effIdle, 0, 0, 0, 0) == 0) | |||
| stopTimer(); | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| // indicates that something about the plugin has changed.. | |||
| updateHostDisplay(); | |||
| @@ -2006,12 +2006,12 @@ public: | |||
| //============================================================================== | |||
| #if JUCE_MAC | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.fillAll (Colours::black); | |||
| } | |||
| #else | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (isOpen) | |||
| { | |||
| @@ -2046,7 +2046,7 @@ public: | |||
| #endif | |||
| //============================================================================== | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (isShowing()) | |||
| { | |||
| @@ -405,7 +405,7 @@ private: | |||
| MidiBuffer* currentMidiInputBuffer; | |||
| MidiBuffer currentMidiOutputBuffer; | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| void clearRenderingSequence(); | |||
| void buildRenderingSequence(); | |||
| bool isAnInputTo (uint32 possibleInputId, uint32 possibleDestinationId, int recursionCheck) const; | |||
| @@ -58,7 +58,7 @@ public: | |||
| paramHasChanged = true; | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (paramHasChanged) | |||
| { | |||
| @@ -46,8 +46,8 @@ public: | |||
| ~GenericAudioProcessorEditor(); | |||
| //============================================================================== | |||
| void paint (Graphics& g); | |||
| void resized(); | |||
| void paint (Graphics&) override; | |||
| void resized() override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -351,7 +351,7 @@ private: | |||
| : StringArray()); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (pool == nullptr) | |||
| { | |||
| @@ -39,7 +39,7 @@ public: | |||
| manager->enableInputLevelMeasurement (false); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| const float newLevel = (float) manager->getCurrentInputLevel(); | |||
| @@ -50,7 +50,7 @@ public: | |||
| } | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| getLookAndFeel().drawLevelMeter (g, getWidth(), getHeight(), | |||
| (float) exp (log (level) / 3.0)); // (add a bit of a skew to make the level more obvious) | |||
| @@ -134,7 +134,7 @@ public: | |||
| flipEnablement (row); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| ListBox::paint (g); | |||
| @@ -778,7 +778,7 @@ public: | |||
| flipEnablement (row); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| ListBox::paint (g); | |||
| @@ -60,14 +60,14 @@ public: | |||
| are shown, with an "advanced" button that shows the rest of them | |||
| */ | |||
| AudioDeviceSelectorComponent (AudioDeviceManager& deviceManager, | |||
| const int minAudioInputChannels, | |||
| const int maxAudioInputChannels, | |||
| const int minAudioOutputChannels, | |||
| const int maxAudioOutputChannels, | |||
| const bool showMidiInputOptions, | |||
| const bool showMidiOutputSelector, | |||
| const bool showChannelsAsStereoPairs, | |||
| const bool hideAdvancedOptionsWithButton); | |||
| int minAudioInputChannels, | |||
| int maxAudioInputChannels, | |||
| int minAudioOutputChannels, | |||
| int maxAudioOutputChannels, | |||
| bool showMidiInputOptions, | |||
| bool showMidiOutputSelector, | |||
| bool showChannelsAsStereoPairs, | |||
| bool hideAdvancedOptionsWithButton); | |||
| /** Destructor */ | |||
| ~AudioDeviceSelectorComponent(); | |||
| @@ -77,9 +77,9 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void childBoundsChanged (Component*); | |||
| void childBoundsChanged (Component*) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -264,35 +264,35 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void mouseMove (const MouseEvent&); | |||
| void mouseMove (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent&); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent&); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseEnter (const MouseEvent&); | |||
| void mouseEnter (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseExit (const MouseEvent&); | |||
| void mouseExit (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&); | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&) override; | |||
| /** @internal */ | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| /** @internal */ | |||
| bool keyStateChanged (bool isKeyDown); | |||
| bool keyStateChanged (bool isKeyDown) override; | |||
| /** @internal */ | |||
| void focusLost (FocusChangeType); | |||
| void focusLost (FocusChangeType) override; | |||
| /** @internal */ | |||
| void handleNoteOn (MidiKeyboardState*, int midiChannel, int midiNoteNumber, float velocity); | |||
| void handleNoteOn (MidiKeyboardState*, int midiChannel, int midiNoteNumber, float velocity) override; | |||
| /** @internal */ | |||
| void handleNoteOff (MidiKeyboardState*, int midiChannel, int midiNoteNumber); | |||
| void handleNoteOff (MidiKeyboardState*, int midiChannel, int midiNoteNumber) override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| protected: | |||
| //============================================================================== | |||
| @@ -447,13 +447,13 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (child == nullptr || ! child->isOpaque()) | |||
| g.fillAll (Colours::white); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (child != nullptr) | |||
| child->setBounds (getLocalBounds()); | |||
| @@ -286,13 +286,13 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (child == nullptr || ! child->isOpaque()) | |||
| g.fillAll (Colours::white); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (child != nullptr && ! isFirefox4) | |||
| child->setBounds (getLocalBounds()); | |||
| @@ -226,7 +226,7 @@ public: | |||
| signalThreadShouldExit(); | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| connection = [[NSURLConnection alloc] initWithRequest: request | |||
| delegate: delegate]; | |||
| @@ -67,7 +67,7 @@ public: | |||
| { | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| while (! threadShouldExit()) | |||
| { | |||
| @@ -134,7 +134,7 @@ public: | |||
| //============================================================================== | |||
| #ifndef DOXYGEN | |||
| void run(); | |||
| void run() override; | |||
| #endif | |||
| //============================================================================== | |||
| @@ -230,7 +230,7 @@ private: | |||
| typedef const ScopedPointer<InterProcessLock::ScopedLockType> ProcessScopedLock; | |||
| InterProcessLock::ScopedLockType* createProcessLock() const; | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| bool saveAsXml(); | |||
| bool saveAsBinary(); | |||
| bool loadAsXml(); | |||
| @@ -52,7 +52,7 @@ private: | |||
| SourceSet sourcesNeedingAnUpdate; | |||
| SourceSet* sourcesBeingIterated; | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| const ReferenceCountedObjectPtr<SharedValueSourceUpdater> localRef (this); | |||
| @@ -91,7 +91,7 @@ private: | |||
| { | |||
| public: | |||
| ChangeBroadcasterCallback(); | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| ChangeBroadcaster* owner; | |||
| }; | |||
| @@ -194,7 +194,7 @@ private: | |||
| void connectionLostInt(); | |||
| void deliverDataInt (const MemoryBlock&); | |||
| bool readNextMessageInt(); | |||
| void run(); | |||
| void run() override; | |||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InterprocessConnection) | |||
| }; | |||
| @@ -86,7 +86,7 @@ private: | |||
| //============================================================================== | |||
| ScopedPointer <StreamingSocket> socket; | |||
| void run(); | |||
| void run() override; | |||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InterprocessConnectionServer) | |||
| }; | |||
| @@ -128,7 +128,7 @@ private: | |||
| return DefWindowProc (h, message, wParam, lParam); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| stopTimer(); | |||
| systemDeviceChanged(); | |||
| @@ -31,7 +31,7 @@ public: | |||
| { | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| owner.timerCallback (timerId); | |||
| } | |||
| @@ -46,7 +46,7 @@ public: | |||
| instance = nullptr; | |||
| } | |||
| void run() | |||
| void run() override | |||
| { | |||
| uint32 lastTime = Time::getMillisecondCounter(); | |||
| MessageManager::MessageBase::Ptr messageToSend (new CallTimersMessage()); | |||
| @@ -192,7 +192,7 @@ private: | |||
| { | |||
| CallTimersMessage() {} | |||
| void messageCallback() | |||
| void messageCallback() override | |||
| { | |||
| if (instance != nullptr) | |||
| instance->callTimers(); | |||
| @@ -272,7 +272,7 @@ private: | |||
| return firstTimer != nullptr ? firstTimer->countdownMs : 1000; | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| startThread (7); | |||
| } | |||
| @@ -67,7 +67,7 @@ public: | |||
| } | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| const uint32 now = Time::getApproximateMillisecondCounter(); | |||
| @@ -404,43 +404,43 @@ protected: | |||
| /** @internal */ | |||
| virtual void internalClickCallback (const ModifierKeys&); | |||
| /** @internal */ | |||
| void handleCommandMessage (int commandId); | |||
| void handleCommandMessage (int commandId) override; | |||
| /** @internal */ | |||
| void mouseEnter (const MouseEvent&); | |||
| void mouseEnter (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseExit (const MouseEvent&); | |||
| void mouseExit (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent&); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent&); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&, Component*); | |||
| bool keyPressed (const KeyPress&, Component*) override; | |||
| /** @internal */ | |||
| bool keyStateChanged (bool isKeyDown, Component*); | |||
| bool keyStateChanged (bool isKeyDown, Component*) override; | |||
| /** @internal */ | |||
| using Component::keyStateChanged; | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void parentHierarchyChanged(); | |||
| void parentHierarchyChanged() override; | |||
| /** @internal */ | |||
| void visibilityChanged(); | |||
| void visibilityChanged() override; | |||
| /** @internal */ | |||
| void focusGained (FocusChangeType); | |||
| void focusGained (FocusChangeType) override; | |||
| /** @internal */ | |||
| void focusLost (FocusChangeType); | |||
| void focusLost (FocusChangeType) override; | |||
| /** @internal */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| /** @internal */ | |||
| void applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo&); | |||
| void applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo&) override; | |||
| /** @internal */ | |||
| void applicationCommandListChanged(); | |||
| void applicationCommandListChanged() override; | |||
| /** @internal */ | |||
| void valueChanged (Value&); | |||
| void valueChanged (Value&) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -160,15 +160,15 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paintButton (Graphics&, bool isMouseOverButton, bool isButtonDown); | |||
| void paintButton (Graphics&, bool isMouseOverButton, bool isButtonDown) override; | |||
| /** @internal */ | |||
| void buttonStateChanged(); | |||
| void buttonStateChanged() override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -311,8 +311,8 @@ private: | |||
| ApplicationCommandTarget* firstTarget; | |||
| void sendListenerInvokeCallback (const ApplicationCommandTarget::InvocationInfo&); | |||
| void handleAsyncUpdate(); | |||
| void globalFocusChanged (Component*); | |||
| void handleAsyncUpdate() override; | |||
| void globalFocusChanged (Component*) override; | |||
| #if JUCE_CATCH_DEPRECATED_CODE_MISUSE | |||
| // This is just here to cause a compile error in old code that hasn't been changed to use the new | |||
| @@ -690,7 +690,7 @@ class StandardCachedComponentImage : public CachedComponentImage | |||
| public: | |||
| StandardCachedComponentImage (Component& c) noexcept : owner (c) {} | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| const Rectangle<int> bounds (owner.getLocalBounds()); | |||
| @@ -1453,7 +1453,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseEnter, mouseExit, mouseDrag, contains | |||
| */ | |||
| virtual void mouseMove (const MouseEvent& event); | |||
| virtual void mouseMove (const MouseEvent& event) override; | |||
| /** Called when the mouse first enters a component. | |||
| @@ -1469,7 +1469,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseExit, mouseDrag, mouseMove, contains | |||
| */ | |||
| virtual void mouseEnter (const MouseEvent& event); | |||
| virtual void mouseEnter (const MouseEvent& event) override; | |||
| /** Called when the mouse moves out of a component. | |||
| @@ -1484,7 +1484,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseEnter, mouseDrag, mouseMove, contains | |||
| */ | |||
| virtual void mouseExit (const MouseEvent& event); | |||
| virtual void mouseExit (const MouseEvent& event) override; | |||
| /** Called when a mouse button is pressed. | |||
| @@ -1499,7 +1499,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseUp, mouseDrag, mouseDoubleClick, contains | |||
| */ | |||
| virtual void mouseDown (const MouseEvent& event); | |||
| virtual void mouseDown (const MouseEvent& event) override; | |||
| /** Called when the mouse is moved while a button is held down. | |||
| @@ -1511,7 +1511,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseDown, mouseUp, mouseMove, contains, setDragRepeatInterval | |||
| */ | |||
| virtual void mouseDrag (const MouseEvent& event); | |||
| virtual void mouseDrag (const MouseEvent& event) override; | |||
| /** Called when a mouse button is released. | |||
| @@ -1526,7 +1526,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseDown, mouseDrag, mouseDoubleClick, contains | |||
| */ | |||
| virtual void mouseUp (const MouseEvent& event); | |||
| virtual void mouseUp (const MouseEvent& event) override; | |||
| /** Called when a mouse button has been double-clicked on a component. | |||
| @@ -1538,7 +1538,7 @@ public: | |||
| the source component in which it occurred | |||
| @see mouseDown, mouseUp | |||
| */ | |||
| virtual void mouseDoubleClick (const MouseEvent& event); | |||
| virtual void mouseDoubleClick (const MouseEvent& event) override; | |||
| /** Called when the mouse-wheel is moved. | |||
| @@ -1556,7 +1556,7 @@ public: | |||
| @param wheel details about the mouse wheel movement | |||
| */ | |||
| virtual void mouseWheelMove (const MouseEvent& event, | |||
| const MouseWheelDetails& wheel); | |||
| const MouseWheelDetails& wheel) override; | |||
| /** Called when a pinch-to-zoom mouse-gesture is used. | |||
| @@ -192,7 +192,7 @@ class MouseDragAutoRepeater : public Timer | |||
| public: | |||
| MouseDragAutoRepeater() {} | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| Desktop& desktop = Desktop::getInstance(); | |||
| int numMiceDown = 0; | |||
| @@ -411,7 +411,7 @@ private: | |||
| ComponentAnimator animator; | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| void resetTimer(); | |||
| ListenerList <MouseListener>& getMouseListeners(); | |||
| @@ -422,7 +422,7 @@ private: | |||
| void setKioskComponent (Component*, bool enableOrDisable, bool allowMenusAndBars); | |||
| void triggerFocusCallback(); | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| Desktop(); | |||
| ~Desktop(); | |||
| @@ -127,7 +127,7 @@ protected: | |||
| ~ModalComponentManager(); | |||
| /** @internal */ | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -83,17 +83,17 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| bool hitTest (int x, int y); | |||
| bool hitTest (int x, int y) override; | |||
| /** @internal */ | |||
| Drawable* createCopy() const; | |||
| Drawable* createCopy() const override; | |||
| /** @internal */ | |||
| Rectangle<float> getDrawableBounds() const; | |||
| Rectangle<float> getDrawableBounds() const override; | |||
| /** @internal */ | |||
| void refreshFromValueTree (const ValueTree& tree, ComponentBuilder& builder); | |||
| /** @internal */ | |||
| ValueTree createValueTree (ComponentBuilder::ImageProvider* imageProvider) const; | |||
| ValueTree createValueTree (ComponentBuilder::ImageProvider* imageProvider) const override; | |||
| /** @internal */ | |||
| static const Identifier valueTreeType; | |||
| @@ -145,11 +145,11 @@ public: | |||
| }; | |||
| /** @internal */ | |||
| Rectangle<float> getDrawableBounds() const; | |||
| Rectangle<float> getDrawableBounds() const override; | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| bool hitTest (int x, int y); | |||
| bool hitTest (int x, int y) override; | |||
| protected: | |||
| //============================================================================== | |||
| @@ -90,17 +90,17 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| Drawable* createCopy() const; | |||
| Drawable* createCopy() const override; | |||
| /** @internal */ | |||
| void refreshFromValueTree (const ValueTree& tree, ComponentBuilder& builder); | |||
| /** @internal */ | |||
| ValueTree createValueTree (ComponentBuilder::ImageProvider* imageProvider) const; | |||
| ValueTree createValueTree (ComponentBuilder::ImageProvider* imageProvider) const override; | |||
| /** @internal */ | |||
| static const Identifier valueTreeType; | |||
| /** @internal */ | |||
| Rectangle<float> getDrawableBounds() const; | |||
| Rectangle<float> getDrawableBounds() const override; | |||
| //============================================================================== | |||
| /** Internally-used class for wrapping a DrawableText's state into a ValueTree. */ | |||
| @@ -179,33 +179,33 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void buttonClicked (Button*); | |||
| void buttonClicked (Button*) override; | |||
| /** @internal */ | |||
| void comboBoxChanged (ComboBox*); | |||
| void comboBoxChanged (ComboBox*) override; | |||
| /** @internal */ | |||
| void textEditorTextChanged (TextEditor&); | |||
| void textEditorTextChanged (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorReturnKeyPressed (TextEditor&); | |||
| void textEditorReturnKeyPressed (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorEscapeKeyPressed (TextEditor&); | |||
| void textEditorEscapeKeyPressed (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorFocusLost (TextEditor&); | |||
| void textEditorFocusLost (TextEditor&) override; | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| void selectionChanged(); | |||
| void selectionChanged() override; | |||
| /** @internal */ | |||
| void fileClicked (const File&, const MouseEvent&); | |||
| void fileClicked (const File&, const MouseEvent&) override; | |||
| /** @internal */ | |||
| void fileDoubleClicked (const File&); | |||
| void fileDoubleClicked (const File&) override; | |||
| /** @internal */ | |||
| void browserRootChanged (const File&); | |||
| void browserRootChanged (const File&) override; | |||
| /** @internal */ | |||
| bool isFileSuitable (const File&) const; | |||
| bool isFileSuitable (const File&) const override; | |||
| /** @internal */ | |||
| bool isDirectorySuitable (const File&) const; | |||
| bool isDirectorySuitable (const File&) const override; | |||
| /** @internal */ | |||
| FilePreviewComponent* getPreviewComponent() const noexcept; | |||
| @@ -46,13 +46,13 @@ public: | |||
| setInterceptsMouseClicks (false, true); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| text.draw (g, getLocalBounds().reduced (6) | |||
| .removeFromTop ((int) text.getHeight()).toFloat()); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| const int buttonHeight = 26; | |||
| @@ -102,7 +102,7 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| getLookAndFeel().drawFileBrowserRow (g, getWidth(), getHeight(), | |||
| file.getFileName(), | |||
| @@ -111,13 +111,13 @@ public: | |||
| index, owner); | |||
| } | |||
| void mouseDown (const MouseEvent& e) | |||
| void mouseDown (const MouseEvent& e) override | |||
| { | |||
| owner.selectRowsBasedOnModifierKeys (index, e.mods, false); | |||
| owner.sendMouseClickMessage (file, e); | |||
| } | |||
| void mouseDoubleClick (const MouseEvent&) | |||
| void mouseDoubleClick (const MouseEvent&) override | |||
| { | |||
| owner.sendDoubleClickMessage (file); | |||
| } | |||
| @@ -168,13 +168,13 @@ public: | |||
| } | |||
| } | |||
| int useTimeSlice() | |||
| int useTimeSlice() override | |||
| { | |||
| updateIcon (false); | |||
| return -1; | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| repaint(); | |||
| } | |||
| @@ -80,28 +80,27 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| int getNumRows(); | |||
| int getNumRows() override; | |||
| /** @internal */ | |||
| void paintListBoxItem (int rowNumber, Graphics& g, int width, int height, bool rowIsSelected); | |||
| void paintListBoxItem (int rowNumber, Graphics& g, int width, int height, bool rowIsSelected) override; | |||
| /** @internal */ | |||
| void deleteKeyPressed (int lastRowSelected); | |||
| void deleteKeyPressed (int lastRowSelected) override; | |||
| /** @internal */ | |||
| void returnKeyPressed (int lastRowSelected); | |||
| void returnKeyPressed (int lastRowSelected) override; | |||
| /** @internal */ | |||
| void listBoxItemDoubleClicked (int row, const MouseEvent&); | |||
| void listBoxItemDoubleClicked (int row, const MouseEvent&) override; | |||
| /** @internal */ | |||
| void selectedRowsChanged (int lastRowSelected); | |||
| void selectedRowsChanged (int lastRowSelected) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| bool isInterestedInFileDrag (const StringArray& files); | |||
| bool isInterestedInFileDrag (const StringArray&) override; | |||
| /** @internal */ | |||
| void filesDropped (const StringArray& files, int, int); | |||
| void filesDropped (const StringArray& files, int, int) override; | |||
| /** @internal */ | |||
| void buttonClicked (Button* button); | |||
| void buttonClicked (Button*) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -66,13 +66,13 @@ public: | |||
| } | |||
| //============================================================================== | |||
| bool mightContainSubItems() { return isDirectory; } | |||
| String getUniqueName() const { return file.getFullPathName(); } | |||
| int getItemHeight() const { return 22; } | |||
| bool mightContainSubItems() override { return isDirectory; } | |||
| String getUniqueName() const override { return file.getFullPathName(); } | |||
| int getItemHeight() const override { return 22; } | |||
| var getDragSourceDescription() { return owner.getDragAndDropDescription(); } | |||
| var getDragSourceDescription() override { return owner.getDragAndDropDescription(); } | |||
| void itemOpennessChanged (bool isNowOpen) | |||
| void itemOpennessChanged (bool isNowOpen) override | |||
| { | |||
| if (isNowOpen) | |||
| { | |||
| @@ -150,7 +150,7 @@ public: | |||
| return false; | |||
| } | |||
| void changeListenerCallback (ChangeBroadcaster*) | |||
| void changeListenerCallback (ChangeBroadcaster*) override | |||
| { | |||
| rebuildItemsFromContentList(); | |||
| } | |||
| @@ -167,7 +167,7 @@ public: | |||
| } | |||
| } | |||
| void paintItem (Graphics& g, int width, int height) | |||
| void paintItem (Graphics& g, int width, int height) override | |||
| { | |||
| if (file != File::nonexistent) | |||
| { | |||
| @@ -184,30 +184,30 @@ public: | |||
| indexInContentsList, owner); | |||
| } | |||
| void itemClicked (const MouseEvent& e) | |||
| void itemClicked (const MouseEvent& e) override | |||
| { | |||
| owner.sendMouseClickMessage (file, e); | |||
| } | |||
| void itemDoubleClicked (const MouseEvent& e) | |||
| void itemDoubleClicked (const MouseEvent& e) override | |||
| { | |||
| TreeViewItem::itemDoubleClicked (e); | |||
| owner.sendDoubleClickMessage (file); | |||
| } | |||
| void itemSelectionChanged (bool) | |||
| void itemSelectionChanged (bool) override | |||
| { | |||
| owner.sendSelectionChangeMessage(); | |||
| } | |||
| int useTimeSlice() | |||
| int useTimeSlice() override | |||
| { | |||
| updateIcon (false); | |||
| return -1; | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| owner.repaint(); | |||
| } | |||
| @@ -180,19 +180,19 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paintOverChildren (Graphics& g); | |||
| void paintOverChildren (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void lookAndFeelChanged(); | |||
| void lookAndFeelChanged() override; | |||
| /** @internal */ | |||
| bool isInterestedInFileDrag (const StringArray& files); | |||
| bool isInterestedInFileDrag (const StringArray&) override; | |||
| /** @internal */ | |||
| void filesDropped (const StringArray& files, int, int); | |||
| void filesDropped (const StringArray&, int, int) override; | |||
| /** @internal */ | |||
| void fileDragEnter (const StringArray& files, int, int); | |||
| void fileDragEnter (const StringArray&, int, int) override; | |||
| /** @internal */ | |||
| void fileDragExit (const StringArray& files); | |||
| void fileDragExit (const StringArray&) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -205,9 +205,9 @@ private: | |||
| ListenerList <FilenameComponentListener> listeners; | |||
| File defaultBrowseFile; | |||
| void comboBoxChanged (ComboBox*); | |||
| void buttonClicked (Button* button); | |||
| void handleAsyncUpdate(); | |||
| void comboBoxChanged (ComboBox*) override; | |||
| void buttonClicked (Button* button) override; | |||
| void handleAsyncUpdate() override; | |||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FilenameComponent) | |||
| }; | |||
| @@ -48,11 +48,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void selectedFileChanged (const File& newSelectedFile); | |||
| void selectedFileChanged (const File& newSelectedFile) override; | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| private: | |||
| File fileToLoad; | |||
| @@ -67,13 +67,13 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| private: | |||
| Component* owner; | |||
| bool shouldBeShown() const; | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| JUCE_DECLARE_NON_COPYABLE (CaretComponent) | |||
| }; | |||
| @@ -154,7 +154,7 @@ public: | |||
| toBehind (&c); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.setOpacity (1.0f); | |||
| g.drawImage (image, 0, 0, getWidth(), getHeight(), | |||
| @@ -217,7 +217,7 @@ public: | |||
| addAndMakeVisible (comp); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| const Rectangle<int> area (getWidth(), getHeaderSize()); | |||
| g.reduceClipRegion (area); | |||
| @@ -226,18 +226,18 @@ public: | |||
| getPanel(), *component); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| component->setBounds (getLocalBounds().withTop (getHeaderSize())); | |||
| } | |||
| void mouseDown (const MouseEvent&) | |||
| void mouseDown (const MouseEvent&) override | |||
| { | |||
| mouseDownY = getY(); | |||
| dragStartSizes = getPanel().getFittedSizes(); | |||
| } | |||
| void mouseDrag (const MouseEvent& e) | |||
| void mouseDrag (const MouseEvent& e) override | |||
| { | |||
| ConcertinaPanel& panel = getPanel(); | |||
| panel.setLayout (dragStartSizes.withMovedPanel (panel.holders.indexOf (this), | |||
| @@ -245,7 +245,7 @@ public: | |||
| panel.getHeight()), false); | |||
| } | |||
| void mouseDoubleClick (const MouseEvent&) | |||
| void mouseDoubleClick (const MouseEvent&) override | |||
| { | |||
| getPanel().panelHeaderDoubleClicked (component); | |||
| } | |||
| @@ -93,7 +93,7 @@ public: | |||
| void setPanelHeaderSize (Component* panelComponent, int headerSize); | |||
| private: | |||
| void resized(); | |||
| void resized() override; | |||
| class PanelHolder; | |||
| struct PanelSizes; | |||
| @@ -86,11 +86,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| private: | |||
| String text; | |||
| @@ -277,11 +277,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void componentNameChanged (Component&); | |||
| void componentNameChanged (Component&) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -167,19 +167,19 @@ public: | |||
| protected: | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void mouseEnter (const MouseEvent&); | |||
| void mouseEnter (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseMove (const MouseEvent&); | |||
| void mouseMove (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent&); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent&); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| bool hitTest (int x, int y); | |||
| bool hitTest (int x, int y) override; | |||
| private: | |||
| WeakReference<Component> component; | |||
| @@ -70,15 +70,15 @@ public: | |||
| protected: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent& e); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent& e); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent& e); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| bool hitTest (int x, int y); | |||
| bool hitTest (int x, int y) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -80,13 +80,13 @@ public: | |||
| protected: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent& e); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent& e); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent& e); | |||
| void mouseUp (const MouseEvent&) override; | |||
| private: | |||
| WeakReference<Component> component; | |||
| @@ -296,21 +296,21 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&); | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&) override; | |||
| /** @internal */ | |||
| void lookAndFeelChanged(); | |||
| void lookAndFeelChanged() override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent&); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent&); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -325,9 +325,9 @@ private: | |||
| ScopedPointer<ScrollbarButton> upButton, downButton; | |||
| ListenerList <Listener> listeners; | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| void updateThumbPosition(); | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ScrollBar) | |||
| }; | |||
| @@ -77,11 +77,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent& e); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent& e); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| private: | |||
| @@ -157,17 +157,17 @@ public: | |||
| setInterceptsMouseClicks (false, false); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| getLookAndFeel().drawTabAreaBehindFrontButton (owner, g, getWidth(), getHeight()); | |||
| } | |||
| void enablementChanged() | |||
| void enablementChanged() override | |||
| { | |||
| repaint(); | |||
| } | |||
| void buttonClicked (Button*) | |||
| void buttonClicked (Button*) override | |||
| { | |||
| owner.showExtraItemsMenu(); | |||
| } | |||
| @@ -187,11 +187,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void lookAndFeelChanged(); | |||
| void lookAndFeelChanged() override; | |||
| protected: | |||
| //============================================================================== | |||
| @@ -73,30 +73,29 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void mouseEnter (const MouseEvent& e); | |||
| void mouseEnter (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseExit (const MouseEvent& e); | |||
| void mouseExit (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent& e); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent& e); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent& e); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseMove (const MouseEvent& e); | |||
| void mouseMove (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void handleCommandMessage (int commandId); | |||
| void handleCommandMessage (int commandId) override; | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress& key); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| void menuBarItemsChanged (MenuBarModel* menuBarModel); | |||
| void menuBarItemsChanged (MenuBarModel*) override; | |||
| /** @internal */ | |||
| void menuCommandInvoked (MenuBarModel* menuBarModel, | |||
| const ApplicationCommandTarget::InvocationInfo& info); | |||
| void menuCommandInvoked (MenuBarModel*, const ApplicationCommandTarget::InvocationInfo&) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -111,7 +110,7 @@ private: | |||
| void setItemUnderMouse (int index); | |||
| void setOpenItem (int index); | |||
| void updateItemUnderMouse (Point<int>); | |||
| void timerCallback(); | |||
| void timerCallback() override; | |||
| void repaintMenuItem (int index); | |||
| void menuDismissed (int topLevelIndex, int itemId); | |||
| static void menuBarMenuDismissedCallback (int, MenuBarComponent*, int); | |||
| @@ -166,11 +166,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo& info); | |||
| void applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo& info) override; | |||
| /** @internal */ | |||
| void applicationCommandListChanged(); | |||
| void applicationCommandListChanged() override; | |||
| /** @internal */ | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| private: | |||
| ApplicationCommandManager* manager; | |||
| @@ -153,7 +153,7 @@ public: | |||
| idealWidth, idealHeight); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (itemInfo.customComp == nullptr) | |||
| { | |||
| @@ -180,7 +180,7 @@ public: | |||
| } | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (Component* const child = getChildComponent (0)) | |||
| child->setBounds (getLocalBounds().reduced (2, 0)); | |||
| @@ -290,7 +290,7 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (isOpaque()) | |||
| g.fillAll (Colours::white); | |||
| @@ -298,7 +298,7 @@ public: | |||
| getLookAndFeel().drawPopupMenuBackground (g, getWidth(), getHeight()); | |||
| } | |||
| void paintOverChildren (Graphics& g) | |||
| void paintOverChildren (Graphics& g) override | |||
| { | |||
| if (canScroll()) | |||
| { | |||
| @@ -362,18 +362,18 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void mouseMove (const MouseEvent&) { timerCallback(); } | |||
| void mouseDown (const MouseEvent&) { timerCallback(); } | |||
| void mouseDrag (const MouseEvent&) { timerCallback(); } | |||
| void mouseUp (const MouseEvent&) { timerCallback(); } | |||
| void mouseMove (const MouseEvent&) override { timerCallback(); } | |||
| void mouseDown (const MouseEvent&) override { timerCallback(); } | |||
| void mouseDrag (const MouseEvent&) override { timerCallback(); } | |||
| void mouseUp (const MouseEvent&) override { timerCallback(); } | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails& wheel) | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails& wheel) override | |||
| { | |||
| alterChildYPos (roundToInt (-10.0f * wheel.deltaY * PopupMenuSettings::scrollZone)); | |||
| lastMousePos = Point<int> (-1, -1); | |||
| } | |||
| bool keyPressed (const KeyPress& key) | |||
| bool keyPressed (const KeyPress& key) override | |||
| { | |||
| if (key.isKeyCode (KeyPress::downKey)) | |||
| { | |||
| @@ -432,7 +432,7 @@ public: | |||
| return true; | |||
| } | |||
| void inputAttemptWhenModal() | |||
| void inputAttemptWhenModal() override | |||
| { | |||
| WeakReference<Component> deletionChecker (this); | |||
| @@ -461,7 +461,7 @@ public: | |||
| } | |||
| } | |||
| void handleCommandMessage (int commandId) | |||
| void handleCommandMessage (int commandId) override | |||
| { | |||
| Component::handleCommandMessage (commandId); | |||
| @@ -470,7 +470,7 @@ public: | |||
| } | |||
| //============================================================================== | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (! isVisible()) | |||
| return; | |||
| @@ -1303,7 +1303,7 @@ public: | |||
| setName (name); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.setFont (getLookAndFeel().getPopupMenuFont().boldened()); | |||
| g.setColour (findColour (PopupMenu::headerTextColourId)); | |||
| @@ -152,7 +152,7 @@ protected: | |||
| public: | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| private: | |||
| Rectangle<int> content; | |||
| @@ -44,13 +44,13 @@ public: | |||
| } | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (Component* c = target) | |||
| shadow.drawForRectangle (g, getLocalArea (c, c->getLocalBounds())); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| repaint(); // (needed for correct repainting) | |||
| } | |||
| @@ -72,7 +72,7 @@ public: | |||
| } | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (isOpaque()) | |||
| g.fillAll (Colours::white); | |||
| @@ -81,7 +81,7 @@ public: | |||
| g.drawImageAt (image, 0, 0); | |||
| } | |||
| void mouseUp (const MouseEvent& e) | |||
| void mouseUp (const MouseEvent& e) override | |||
| { | |||
| if (e.originalComponent != this) | |||
| { | |||
| @@ -114,7 +114,7 @@ public: | |||
| } | |||
| } | |||
| void mouseDrag (const MouseEvent& e) | |||
| void mouseDrag (const MouseEvent& e) override | |||
| { | |||
| if (e.originalComponent != this) | |||
| updateLocation (true, e.getScreenPosition()); | |||
| @@ -157,7 +157,7 @@ public: | |||
| } | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (sourceDetails.sourceComponent == nullptr) | |||
| { | |||
| @@ -207,7 +207,7 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| getLookAndFeel().drawLasso (g, *this); | |||
| @@ -218,7 +218,7 @@ public: | |||
| } | |||
| /** @internal */ | |||
| bool hitTest (int, int) { return false; } | |||
| bool hitTest (int, int) override { return false; } | |||
| private: | |||
| //============================================================================== | |||
| @@ -362,7 +362,7 @@ public: | |||
| triggerAsyncUpdate(); | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| setScreenPos (lastScreenPos, jmax (lastTime, Time::getCurrentTime()), true); | |||
| } | |||
| @@ -1805,7 +1805,7 @@ private: | |||
| #endif | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| #if JUCE_USE_XSHM | |||
| if (shmPaintsPending != 0) | |||
| @@ -72,7 +72,7 @@ private: | |||
| const char* button2; | |||
| const char* button3; | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| const int result = getResult(); | |||
| @@ -250,7 +250,7 @@ public: | |||
| timerCallback(); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (Process::isForegroundProcess()) | |||
| { | |||
| @@ -291,7 +291,7 @@ public: | |||
| timerCallback(); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (Process::isForegroundProcess()) | |||
| UpdateSystemActivity (1 /*UsrActivity*/); | |||
| @@ -101,12 +101,12 @@ namespace FileChooserHelpers | |||
| setSize (jlimit (20, 800, customComp->getWidth()), customComp->getHeight()); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| g.fillAll (Colours::lightgrey); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| if (Component* const c = getChildComponent(0)) | |||
| c->setBounds (getLocalBounds()); | |||
| @@ -1123,7 +1123,7 @@ private: | |||
| return image; | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| stopTimer(); | |||
| image = Image::null; | |||
| @@ -2923,7 +2923,7 @@ public: | |||
| return (r == IDYES || r == IDOK) ? 1 : (r == IDNO ? 2 : 0); | |||
| } | |||
| void handleAsyncUpdate() | |||
| void handleAsyncUpdate() override | |||
| { | |||
| const int result = getResult(); | |||
| @@ -3040,7 +3040,7 @@ public: | |||
| timerCallback(); | |||
| } | |||
| void timerCallback() | |||
| void timerCallback() override | |||
| { | |||
| if (Process::isForegroundProcess()) | |||
| { | |||
| @@ -79,11 +79,11 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void refresh(); | |||
| void refresh() override; | |||
| /** @internal */ | |||
| void buttonClicked (Button*); | |||
| void buttonClicked (Button*) override; | |||
| private: | |||
| ToggleButton button; | |||
| @@ -96,15 +96,15 @@ public: | |||
| @see LookAndFeel::drawPropertyComponentBackground(), LookAndFeel::drawPropertyComponentLabel() | |||
| */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| /** The default resize method positions any child component to the right of this | |||
| one, based on the look and feel's default label size. | |||
| */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** By default, this just repaints the component. */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| protected: | |||
| /** Used by the PropertyPanel to determine how high this component needs to be. | |||
| @@ -46,13 +46,13 @@ public: | |||
| propertyComps.clear(); | |||
| } | |||
| void paint (Graphics& g) | |||
| void paint (Graphics& g) override | |||
| { | |||
| if (titleHeight > 0) | |||
| getLookAndFeel().drawPropertyPanelSectionHeader (g, getName(), isOpen(), getWidth(), titleHeight); | |||
| } | |||
| void resized() | |||
| void resized() override | |||
| { | |||
| int y = titleHeight; | |||
| @@ -102,7 +102,7 @@ public: | |||
| propertyComps.getUnchecked (i)->refresh(); | |||
| } | |||
| void mouseUp (const MouseEvent& e) | |||
| void mouseUp (const MouseEvent& e) override | |||
| { | |||
| if (e.getMouseDownX() < titleHeight | |||
| && e.x < titleHeight | |||
| @@ -113,7 +113,7 @@ public: | |||
| } | |||
| } | |||
| void mouseDoubleClick (const MouseEvent& e) | |||
| void mouseDoubleClick (const MouseEvent& e) override | |||
| { | |||
| if (e.y < titleHeight) | |||
| setOpen (! isOpen()); | |||
| @@ -133,7 +133,7 @@ class PropertyPanel::PropertyHolderComponent : public Component | |||
| public: | |||
| PropertyHolderComponent() {} | |||
| void paint (Graphics&) {} | |||
| void paint (Graphics&) override {} | |||
| void updateLayout (int width) | |||
| { | |||
| @@ -144,9 +144,9 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| private: | |||
| class SectionComponent; | |||
| @@ -339,37 +339,37 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void labelTextChanged (Label*); | |||
| void labelTextChanged (Label*) override; | |||
| /** @internal */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| /** @internal */ | |||
| void focusGained (Component::FocusChangeType cause); | |||
| void focusGained (Component::FocusChangeType) override; | |||
| /** @internal */ | |||
| void focusLost (Component::FocusChangeType cause); | |||
| void focusLost (Component::FocusChangeType) override; | |||
| /** @internal */ | |||
| void handleAsyncUpdate(); | |||
| void handleAsyncUpdate() override; | |||
| /** @internal */ | |||
| String getTooltip() { return label->getTooltip(); } | |||
| String getTooltip() override { return label->getTooltip(); } | |||
| /** @internal */ | |||
| void mouseDown (const MouseEvent&); | |||
| void mouseDown (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDrag (const MouseEvent&); | |||
| void mouseDrag (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void lookAndFeelChanged(); | |||
| void lookAndFeelChanged() override; | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| bool keyStateChanged (bool isKeyDown); | |||
| bool keyStateChanged (bool) override; | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| void valueChanged (Value&); | |||
| void valueChanged (Value&) override; | |||
| private: | |||
| //============================================================================== | |||
| @@ -65,7 +65,7 @@ const Image& ImageComponent::getImage() const | |||
| return image; | |||
| } | |||
| const RectanglePlacement ImageComponent::getImagePlacement() const | |||
| RectanglePlacement ImageComponent::getImagePlacement() const | |||
| { | |||
| return placement; | |||
| } | |||
| @@ -64,11 +64,11 @@ public: | |||
| void setImagePlacement (const RectanglePlacement& newPlacement); | |||
| /** Returns the current image placement. */ | |||
| const RectanglePlacement getImagePlacement() const; | |||
| RectanglePlacement getImagePlacement() const; | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics& g); | |||
| void paint (Graphics&) override; | |||
| private: | |||
| Image image; | |||
| @@ -274,39 +274,39 @@ protected: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void mouseDoubleClick (const MouseEvent&); | |||
| void mouseDoubleClick (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void componentMovedOrResized (Component&, bool wasMoved, bool wasResized); | |||
| void componentMovedOrResized (Component&, bool wasMoved, bool wasResized) override; | |||
| /** @internal */ | |||
| void componentParentHierarchyChanged (Component&); | |||
| void componentParentHierarchyChanged (Component&) override; | |||
| /** @internal */ | |||
| void componentVisibilityChanged (Component&); | |||
| void componentVisibilityChanged (Component&) override; | |||
| /** @internal */ | |||
| void inputAttemptWhenModal(); | |||
| void inputAttemptWhenModal() override; | |||
| /** @internal */ | |||
| void focusGained (FocusChangeType); | |||
| void focusGained (FocusChangeType) override; | |||
| /** @internal */ | |||
| void enablementChanged(); | |||
| void enablementChanged() override; | |||
| /** @internal */ | |||
| KeyboardFocusTraverser* createFocusTraverser(); | |||
| KeyboardFocusTraverser* createFocusTraverser() override; | |||
| /** @internal */ | |||
| void textEditorTextChanged (TextEditor&); | |||
| void textEditorTextChanged (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorReturnKeyPressed (TextEditor&); | |||
| void textEditorReturnKeyPressed (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorEscapeKeyPressed (TextEditor&); | |||
| void textEditorEscapeKeyPressed (TextEditor&) override; | |||
| /** @internal */ | |||
| void textEditorFocusLost (TextEditor&); | |||
| void textEditorFocusLost (TextEditor&) override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| /** @internal */ | |||
| void valueChanged (Value&); | |||
| void valueChanged (Value&) override; | |||
| /** @internal */ | |||
| void callChangeListeners(); | |||
| @@ -526,23 +526,23 @@ public: | |||
| //============================================================================== | |||
| /** @internal */ | |||
| bool keyPressed (const KeyPress&); | |||
| bool keyPressed (const KeyPress&) override; | |||
| /** @internal */ | |||
| bool keyStateChanged (bool isKeyDown); | |||
| bool keyStateChanged (bool isKeyDown) override; | |||
| /** @internal */ | |||
| void paint (Graphics&); | |||
| void paint (Graphics&) override; | |||
| /** @internal */ | |||
| void paintOverChildren (Graphics&); | |||
| void paintOverChildren (Graphics&) override; | |||
| /** @internal */ | |||
| void resized(); | |||
| void resized() override; | |||
| /** @internal */ | |||
| void visibilityChanged(); | |||
| void visibilityChanged() override; | |||
| /** @internal */ | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&); | |||
| void mouseWheelMove (const MouseEvent&, const MouseWheelDetails&) override; | |||
| /** @internal */ | |||
| void mouseUp (const MouseEvent&); | |||
| void mouseUp (const MouseEvent&) override; | |||
| /** @internal */ | |||
| void colourChanged(); | |||
| void colourChanged() override; | |||
| /** @internal */ | |||
| void startDragAndDrop (const MouseEvent&, const var& dragDescription, bool allowDraggingToOtherWindows); | |||