[beast: 5/12] BSE: add PixelSeq and Icon to bseapi.idl
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 5/12] BSE: add PixelSeq and Icon to bseapi.idl
- Date: Thu, 24 Sep 2015 20:08:59 +0000 (UTC)
commit dff4a97e282faf65f446ba6918def0445ed04e57
Author: Tim Janik <timj gnu org>
Date: Fri Sep 18 10:44:22 2015 +0200
BSE: add PixelSeq and Icon to bseapi.idl
bse/bseapi.idl | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/bse/bseapi.idl b/bse/bseapi.idl
index c7eb91c..a9fa7ec 100644
--- a/bse/bseapi.idl
+++ b/bse/bseapi.idl
@@ -295,6 +295,18 @@ Const NOTEHINTS = STANDARD ":note";
Const FINETUNEHINTS = STANDARD ":finetune";
Const VELOCITYHINTS = STANDARD ":velocity";
+/// Representation of an image pixel sequence in ARGB format.
+sequence PixelSeq {
+ int32 argb = Num ("ARGB", "ARGB Format: (alpha << 24) | (red << 16) | (green << 8) | blue", STANDARD);
+};
+
+/// Representation of an icon pixel image.
+record Icon {
+ int32 width = Range ("Width", "Width in pixels or 0 for no icon", STANDARD, 0, 4096, 1, 0);
+ int32 height = Range ("Height", "Height in pixels or 0 for no icon", STANDARD, 0, 4096, 1, 0);
+ PixelSeq pixels = Sequence ("Pixels", "Array of width*height ARGB pixels", STANDARD);
+};
+
/// Object to carry out IDL, API, signal, etc tests.
interface TestObject {
int32 echo_test (String msg); ///< Echo custom message to stdout.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]