[pangomm] Regenerate .defs files.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] Regenerate .defs files.
- Date: Sun, 29 Nov 2015 19:58:11 +0000 (UTC)
commit 9c46ca9a4cfd9e09b0370e001edd6c68e5ba9014
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Nov 29 20:39:00 2015 +0100
Regenerate .defs files.
pango/src/pango_enums.defs | 6 +++++-
pango/src/pango_methods.defs | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/pango/src/pango_enums.defs b/pango/src/pango_enums.defs
index 7105760..9ebd0a4 100644
--- a/pango/src/pango_enums.defs
+++ b/pango/src/pango_enums.defs
@@ -26,7 +26,9 @@
;; PANGO_ATTR_ABSOLUTE_SIZE, /* PangoAttrSize */
;; PANGO_ATTR_GRAVITY, /* PangoAttrInt */
;; PANGO_ATTR_GRAVITY_HINT, /* PangoAttrInt */
-;; PANGO_ATTR_FONT_FEATURES /* PangoAttrString */
+;; PANGO_ATTR_FONT_FEATURES, /* PangoAttrString */
+;; PANGO_ATTR_FOREGROUND_ALPHA, /* PangoAttrInt */
+;; PANGO_ATTR_BACKGROUND_ALPHA /* PangoAttrInt */
;; } PangoAttrType;
(define-enum-extended AttrType
@@ -57,6 +59,8 @@
'("gravity" "PANGO_ATTR_GRAVITY" "21")
'("gravity-hint" "PANGO_ATTR_GRAVITY_HINT" "22")
'("font-features" "PANGO_ATTR_FONT_FEATURES" "23")
+ '("foreground-alpha" "PANGO_ATTR_FOREGROUND_ALPHA" "24")
+ '("background-alpha" "PANGO_ATTR_BACKGROUND_ALPHA" "25")
)
)
diff --git a/pango/src/pango_methods.defs b/pango/src/pango_methods.defs
index 519f610..81b6915 100644
--- a/pango/src/pango_methods.defs
+++ b/pango/src/pango_methods.defs
@@ -176,6 +176,8 @@
'("gravity" "PANGO_ATTR_GRAVITY")
'("gravity-hint" "PANGO_ATTR_GRAVITY_HINT")
'("font-features" "PANGO_ATTR_FONT_FEATURES")
+ '("foreground-alpha" "PANGO_ATTR_FOREGROUND_ALPHA")
+ '("background-alpha" "PANGO_ATTR_BACKGROUND_ALPHA")
)
)
@@ -815,6 +817,24 @@
)
)
+(define-function pango_attr_foreground_alpha_new
+ (c-name "pango_attr_foreground_alpha_new")
+ (is-constructor-of "PangoAttrForegroundAlpha")
+ (return-type "PangoAttribute*")
+ (parameters
+ '("guint16" "alpha")
+ )
+)
+
+(define-function pango_attr_background_alpha_new
+ (c-name "pango_attr_background_alpha_new")
+ (is-constructor-of "PangoAttrBackgroundAlpha")
+ (return-type "PangoAttribute*")
+ (parameters
+ '("guint16" "alpha")
+ )
+)
+
(define-function pango_attr_list_get_type
(c-name "pango_attr_list_get_type")
(return-type "GType")
@@ -4574,6 +4594,25 @@
)
)
+(define-method set_alpha
+ (of-object "PangoRenderer")
+ (c-name "pango_renderer_set_alpha")
+ (return-type "none")
+ (parameters
+ '("PangoRenderPart" "part")
+ '("guint16" "alpha")
+ )
+)
+
+(define-method get_alpha
+ (of-object "PangoRenderer")
+ (c-name "pango_renderer_get_alpha")
+ (return-type "guint16")
+ (parameters
+ '("PangoRenderPart" "part")
+ )
+)
+
(define-method set_matrix
(of-object "PangoRenderer")
(c-name "pango_renderer_set_matrix")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]