VuoScribbleStrip implementation.
Definition in file VuoScribbleStrip.c.
Go to the source code of this file.
Macros | |
#define | VuoScribbleStrip_channels 8 |
Number of channel strips. More... | |
#define | VuoScribbleStrip_sections VuoScribbleStrip_Faders + 1 |
Number of sections in each channel strip. More... | |
#define | VuoScribbleStrip_maxTextLength 25 |
Number of ASCII-7 characters allowed for each section, including null terminator. More... | |
Functions | |
static void | __attribute__ ((constructor)) |
Allocates memory for the scribble strip. More... | |
void | VuoScribbleStrip_set (VuoScribbleStripSection section, VuoInteger channel, VuoText text) |
Copies text into the process-wide scribble-strip buffer. More... | |
VuoText | VuoScribbleStrip_get (VuoScribbleStripSection section, VuoInteger channel) |
Retrieves text from the process-wide scribble-strip buffer. More... | |
Variables | |
static char | VuoScribbleStrip_text [VuoScribbleStrip_channels][VuoScribbleStrip_sections][VuoScribbleStrip_maxTextLength] |
Process-wide scribble-strip buffer. More... | |
#define VuoScribbleStrip_channels 8 |
Number of channel strips.
Definition at line 22 of file VuoScribbleStrip.c.
#define VuoScribbleStrip_maxTextLength 25 |
Number of ASCII-7 characters allowed for each section, including null terminator.
Definition at line 24 of file VuoScribbleStrip.c.
#define VuoScribbleStrip_sections VuoScribbleStrip_Faders + 1 |
Number of sections in each channel strip.
Definition at line 23 of file VuoScribbleStrip.c.
|
static |
Allocates memory for the scribble strip.
Definition at line 31 of file VuoScribbleStrip.c.
VuoText VuoScribbleStrip_get | ( | VuoScribbleStripSection | section, |
VuoInteger | channel | ||
) |
Retrieves text from the process-wide scribble-strip buffer.
Definition at line 55 of file VuoScribbleStrip.c.
void VuoScribbleStrip_set | ( | VuoScribbleStripSection | section, |
VuoInteger | channel, | ||
VuoText | text | ||
) |
Copies text
into the process-wide scribble-strip buffer.
Definition at line 39 of file VuoScribbleStrip.c.
|
static |
Process-wide scribble-strip buffer.
Definition at line 26 of file VuoScribbleStrip.c.