1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Tidied up a warning and some docs.

This commit is contained in:
jules 2012-05-07 13:15:16 +01:00
parent bb30a6da66
commit 81fa57663b
2 changed files with 8 additions and 2 deletions

View file

@ -37,7 +37,7 @@ public:
//==============================================================================
MidiDataConcatenator (const int initialBufferSize)
: pendingData ((size_t) initialBufferSize),
pendingBytes (0), runningStatus (0), pendingDataTime (0)
pendingDataTime (0), pendingBytes (0), runningStatus (0)
{
}
@ -164,8 +164,9 @@ private:
}
MemoryBlock pendingData;
int pendingBytes, runningStatus;
double pendingDataTime;
int pendingBytes;
uint8 runningStatus;
JUCE_DECLARE_NON_COPYABLE (MidiDataConcatenator);
};

View file

@ -77,6 +77,11 @@ public:
delete this component and return a new one.
The component that your method returns will be deleted by the ListBox when it is no longer needed.
Bear in mind that if you put a custom component inside the row but still want the
listbox to automatically handle clicking, selection, etc, then you'll need to make sure
your custom component doesn't intercept all the mouse events that land on it, e.g by
using Component::setInterceptsMouseClicks().
*/
virtual Component* refreshComponentForRow (int rowNumber, bool isRowSelected,
Component* existingComponentToUpdate);