gnomemm r1991 - in cluttermm/trunk: . clutter/src tools/extra_defs_gen
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1991 - in cluttermm/trunk: . clutter/src tools/extra_defs_gen
- Date: Tue, 13 Jan 2009 11:04:03 +0000 (UTC)
Author: daniel
Date: Tue Jan 13 11:04:03 2009
New Revision: 1991
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1991&view=rev
Log:
* tools/extra_defs_gen/generate_defs_clutter.cc:
Add CLUTTER_TYPE_PATH.
* clutter/src/clutter_enums.defs: Regenerate and merge manual
changes.
* clutter/src/clutter_methods.defs: ditto,
* clutter/src/clutter_signals.defs: ditto.
Modified:
cluttermm/trunk/ChangeLog
cluttermm/trunk/clutter/src/clutter_enums.defs
cluttermm/trunk/clutter/src/clutter_methods.defs
cluttermm/trunk/clutter/src/clutter_signals.defs
cluttermm/trunk/tools/extra_defs_gen/generate_defs_clutter.cc
Modified: cluttermm/trunk/clutter/src/clutter_enums.defs
==============================================================================
--- cluttermm/trunk/clutter/src/clutter_enums.defs (original)
+++ cluttermm/trunk/clutter/src/clutter_enums.defs Tue Jan 13 11:04:03 2009
@@ -13,8 +13,8 @@
)
;; From clutter-path.h
-;; hand-edited to deal with CLUTTER_PATH_RELATIVE flag
+;; Hand-edited to deal with CLUTTER_PATH_RELATIVE flag
(define-flags-extended PathNodeType
(in-module "Clutter")
(c-name "ClutterPathNodeType")
@@ -70,7 +70,6 @@
)
;; Hand-edited because enum.pl failed to find the correct common prefix
-
(define-flags-extended EventFlags
(in-module "Clutter")
(c-name "ClutterEventFlags")
Modified: cluttermm/trunk/clutter/src/clutter_methods.defs
==============================================================================
--- cluttermm/trunk/clutter/src/clutter_methods.defs (original)
+++ cluttermm/trunk/clutter/src/clutter_methods.defs Tue Jan 13 11:04:03 2009
@@ -3550,6 +3550,12 @@
(return-type "gboolean")
)
+(define-method ensure_viewport
+ (of-object "ClutterStage")
+ (c-name "clutter_stage_ensure_viewport")
+ (return-type "none")
+)
+
;; From clutter-child-meta.h
Modified: cluttermm/trunk/clutter/src/clutter_signals.defs
==============================================================================
--- cluttermm/trunk/clutter/src/clutter_signals.defs (original)
+++ cluttermm/trunk/clutter/src/clutter_signals.defs Tue Jan 13 11:04:03 2009
@@ -36,7 +36,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal button-press-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -46,7 +46,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal button-release-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -56,7 +56,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal scroll-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -66,7 +66,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal key-press-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -76,7 +76,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal key-release-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -86,7 +86,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal motion-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -108,7 +108,7 @@
(when "last")
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal enter-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -118,7 +118,7 @@
)
)
-; Hand-edited to use more specific event type
+;; Hand-edited to use more specific event type
(define-signal leave-event
(of-object "ClutterActor")
(return-type "gboolean")
@@ -1562,39 +1562,39 @@
)
)
-(define-property duration
+(define-property uri
(of-object "ClutterMedia")
- (prop-type "GParamInt")
- (docs "The duration of the current stream in seconds.")
+ (prop-type "GParamString")
+ (docs "The loaded URI.")
(readable #t)
- (writable #f)
+ (writable #t)
(construct-only #f)
)
-(define-property volume
+(define-property buffer-percent
(of-object "ClutterMedia")
- (prop-type "GParamDouble")
- (docs "The audio volume.")
+ (prop-type "GParamInt")
+ (docs "The percentage the current stream buffer is filled.")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
-(define-property playing
+(define-property volume
(of-object "ClutterMedia")
- (prop-type "GParamBoolean")
- (docs "TRUE if playing.")
+ (prop-type "GParamDouble")
+ (docs "The audio volume.")
(readable #t)
(writable #t)
(construct-only #f)
)
-(define-property uri
+(define-property duration
(of-object "ClutterMedia")
- (prop-type "GParamString")
- (docs "The loaded URI.")
+ (prop-type "GParamInt")
+ (docs "The duration of the current stream in seconds.")
(readable #t)
- (writable #t)
+ (writable #f)
(construct-only #f)
)
@@ -1607,24 +1607,44 @@
(construct-only #f)
)
-(define-property buffer-percent
+(define-property position
(of-object "ClutterMedia")
(prop-type "GParamInt")
- (docs "The percentage the current stream buffer is filled.")
+ (docs "The position in the current stream in seconds.")
(readable #t)
- (writable #f)
+ (writable #t)
(construct-only #f)
)
-(define-property position
+(define-property playing
(of-object "ClutterMedia")
- (prop-type "GParamInt")
- (docs "The position in the current stream in seconds.")
+ (prop-type "GParamBoolean")
+ (docs "TRUE if playing.")
+ (readable #t)
+ (writable #t)
+ (construct-only #f)
+)
+
+;; From ClutterPath
+
+(define-property description
+ (of-object "ClutterPath")
+ (prop-type "GParamString")
+ (docs "SVG-style description of the path")
(readable #t)
(writable #t)
(construct-only #f)
)
+(define-property length
+ (of-object "ClutterPath")
+ (prop-type "GParamUInt")
+ (docs "An approximation of the total length of the path.")
+ (readable #t)
+ (writable #f)
+ (construct-only #f)
+)
+
;; From ClutterRectangle
(define-property name
@@ -2071,6 +2091,12 @@
(when "last")
)
+(define-signal queue-redraw
+ (of-object "ClutterStage")
+ (return-type "void")
+ (when "first")
+)
+
(define-property name
(of-object "ClutterStage")
(prop-type "GParamString")
@@ -2472,7 +2498,7 @@
(when "last")
)
-; Hand-edited to add constness
+;; Hand-edited to add constness
(define-signal cursor-event
(of-object "ClutterText")
(return-type "void")
Modified: cluttermm/trunk/tools/extra_defs_gen/generate_defs_clutter.cc
==============================================================================
--- cluttermm/trunk/tools/extra_defs_gen/generate_defs_clutter.cc (original)
+++ cluttermm/trunk/tools/extra_defs_gen/generate_defs_clutter.cc Tue Jan 13 11:04:03 2009
@@ -44,6 +44,7 @@
// << get_defs(CLUTTER_TYPE_HBOX)
// << get_defs(CLUTTER_TYPE_LAYOUT)
<< get_defs(CLUTTER_TYPE_MEDIA)
+ << get_defs(CLUTTER_TYPE_PATH)
<< get_defs(CLUTTER_TYPE_RECTANGLE)
<< get_defs(CLUTTER_TYPE_SCORE)
<< get_defs(CLUTTER_TYPE_SCRIPT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]