LMMS
Loading...
Searching...
No Matches
internal.h File Reference
#include "attributes.h"
#include "types.h"
#include "pugl/pugl.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Functions

PUGL_BEGIN_DECLS PuglStatus puglSetBlob (PuglBlob *dest, const void *data, size_t len)
 Set blob to data with length len, reallocating if necessary.
void puglSetString (char **dest, const char *string)
 Reallocate and set *dest to string.
uint32_t puglDecodeUTF8 (const uint8_t *buf)
 Return the Unicode code point for buf or the replacement character.
PuglStatus puglDispatchSimpleEvent (PuglView *view, PuglEventType type)
 Dispatch an event with a simple type to View.
PUGL_WARN_UNUSED_RESULT PuglStatus puglConfigure (PuglView *view, const PuglEvent *event)
 Process configure event while already in the graphics context.
PUGL_WARN_UNUSED_RESULT PuglStatus puglExpose (PuglView *view, const PuglEvent *event)
 Process expose event while already in the graphics context.
PuglStatus puglDispatchEvent (PuglView *view, const PuglEvent *event)
 Dispatch Event to View, entering graphics context if necessary.

Function Documentation

◆ puglConfigure()

PUGL_WARN_UNUSED_RESULT PuglStatus puglConfigure ( PuglView * view,
const PuglEvent * event )

Process configure event while already in the graphics context.

◆ puglDecodeUTF8()

uint32_t puglDecodeUTF8 ( const uint8_t * buf)

Return the Unicode code point for buf or the replacement character.

◆ puglDispatchEvent()

PuglStatus puglDispatchEvent ( PuglView * view,
const PuglEvent * event )

Dispatch Event to View, entering graphics context if necessary.

◆ puglDispatchSimpleEvent()

PuglStatus puglDispatchSimpleEvent ( PuglView * view,
PuglEventType type )

Dispatch an event with a simple type to View.

◆ puglExpose()

PUGL_WARN_UNUSED_RESULT PuglStatus puglExpose ( PuglView * view,
const PuglEvent * event )

Process expose event while already in the graphics context.

◆ puglSetBlob()

PUGL_BEGIN_DECLS PuglStatus puglSetBlob ( PuglBlob * dest,
const void * data,
size_t len )

Set blob to data with length len, reallocating if necessary.

◆ puglSetString()

void puglSetString ( char ** dest,
const char * string )

Reallocate and set *dest to string.