LMMS
Loading...
Searching...
No Matches
inline-display.h
Go to the documentation of this file.
1/*
2 Copyright 2012 David Robillard <http://drobilla.net>
3 Copyright 2016 Robin Gareus <robin@gareus.org>
4
5 Permission to use, copy, modify, and/or distribute this software for any
6 purpose with or without fee is hereby granted, provided that the above
7 copyright notice and this permission notice appear in all copies.
8
9 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*/
17
26
27#ifndef LV2_INLINE_DISPLAY_H
28#define LV2_INLINE_DISPLAY_H
29
30#include <stdint.h>
31
32#include "lv2.h"
33
34#define LV2_INLINEDISPLAY_URI "http://harrisonconsoles.com/lv2/inlinedisplay"
35#define LV2_INLINEDISPLAY_PREFIX LV2_INLINEDISPLAY_URI "#"
36#define LV2_INLINEDISPLAY__interface LV2_INLINEDISPLAY_PREFIX "interface"
37#define LV2_INLINEDISPLAY__queue_draw LV2_INLINEDISPLAY_PREFIX "queue_draw"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
45
50typedef struct {
51 unsigned char *data;
52 int width;
53 int height;
54 int stride;
56
71
75typedef struct {
93 LV2_Handle instance,
96
97#ifdef __cplusplus
98} /* extern "C" */
99#endif
100
101#endif /* LV2_INLINE_DISPLAY_H */
102
UINT_D64 w
Definition inflate.c:942
void * LV2_Inline_Display_Handle
Definition inline-display.h:44
void * LV2_Handle
Definition lv2.h:133
unsigned int uint32_t
Definition mid.cpp:100
Definition inline-display.h:50
int width
Definition inline-display.h:52
int stride
Definition inline-display.h:54
unsigned char * data
Definition inline-display.h:51
int height
Definition inline-display.h:53
Definition inline-display.h:75
Definition inline-display.h:63
void(* queue_draw)(LV2_Inline_Display_Handle handle)
Definition inline-display.h:69
LV2_Inline_Display_Handle handle
Definition inline-display.h:65
uch h[RAND_HEAD_LEN]
Definition crypt.c:459
#define void
Definition unzip.h:396