1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32.

This commit is contained in:
Julian Storer 2010-12-21 12:44:45 +00:00
parent c8799c9107
commit 7becff2aa4
169 changed files with 2140 additions and 2007 deletions

View file

@ -344,16 +344,19 @@ void Button::handleCommandMessage (int commandId)
}
//==============================================================================
void Button::addButtonListener (ButtonListener* const newListener)
void Button::addListener (ButtonListener* const newListener)
{
buttonListeners.add (newListener);
}
void Button::removeButtonListener (ButtonListener* const listener)
void Button::removeListener (ButtonListener* const listener)
{
buttonListeners.remove (listener);
}
void Button::addButtonListener (ButtonListener* l) { addListener (l); }
void Button::removeButtonListener (ButtonListener* l) { removeListener (l); }
void Button::sendClickMessage (const ModifierKeys& modifiers)
{
Component::BailOutChecker checker (this);