1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added support for colour values to the OSC classes

This commit is contained in:
jules 2018-07-09 14:02:58 +01:00
parent e59bde5ac6
commit 49df6e2696
8 changed files with 154 additions and 82 deletions

View file

@ -110,17 +110,17 @@ public:
void clear();
//==============================================================================
/** Creates a new OSCArgument of type int32 with a given value
/** Creates a new OSCArgument of type int32 with the given value,
and adds it to the OSCMessage object.
*/
void addInt32 (int32 value);
/** Creates a new OSCArgument of type float32 with a given value
/** Creates a new OSCArgument of type float32 with the given value,
and adds it to the OSCMessage object.
*/
void addFloat32 (float value);
/** Creates a new OSCArgument of type string with a given value
/** Creates a new OSCArgument of type string with the given value,
and adds it to the OSCMessage object.
*/
void addString (const String& value);
@ -130,7 +130,12 @@ public:
Note: if the argument passed is an lvalue, this may copy the binary data.
*/
void addBlob (const MemoryBlock& blob);
void addBlob (MemoryBlock blob);
/** Creates a new OSCArgument of type colour with the given value,
and adds it to the OSCMessage object.
*/
void addColour (OSCColour colour);
/** Adds the OSCArgument argument to the OSCMessage object.