mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Internal refactoring of mouse-event classes, as the first step towards multi-touch support.
This commit is contained in:
parent
80afd8aee7
commit
9657241c10
35 changed files with 2785 additions and 2684 deletions
|
|
@ -254,23 +254,23 @@ int OutputStream::writeFromInputStream (InputStream& source, int numBytesToWrite
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const int number)
|
||||
OutputStream& operator<< (OutputStream& stream, const int number)
|
||||
{
|
||||
return stream << String (number);
|
||||
}
|
||||
|
||||
OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const double number)
|
||||
OutputStream& operator<< (OutputStream& stream, const double number)
|
||||
{
|
||||
return stream << String (number);
|
||||
}
|
||||
|
||||
OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const char character)
|
||||
OutputStream& operator<< (OutputStream& stream, const char character)
|
||||
{
|
||||
stream.writeByte (character);
|
||||
return stream;
|
||||
}
|
||||
|
||||
OutputStream& JUCE_PUBLIC_FUNCTION operator<< (OutputStream& stream, const char* const text)
|
||||
OutputStream& operator<< (OutputStream& stream, const char* const text)
|
||||
{
|
||||
stream.write (text, (int) strlen (text));
|
||||
return stream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue