Re: [clutter] ClutterColor API bindings questions

2007-10-29 Thread Murray Cumming
Maybe the C API is more useful in C because you more often have direct access to color instance. For instance, maybe you would do something like this: clutter_color_darken(default_color, thing-color); redraw_thing(thing); But in C++ we will tend to do copy-by-value instead of allowing that direct

Re: [clutter] Pages missing from online API reference

2007-10-31 Thread Murray Cumming
On Fri, 2007-10-26 at 11:40 +0100, Matthew Allum wrote: Should now be fixed (with thanks to you and Mr Bassi) Thanks, but here is another one: This page http://clutter-project.org/docs/clutter-ClutterStage.html links to here: http://clutter-project.org/clutter/ClutterStage.html which does not

Re: [clutter] clutter_label_new_full const params

2007-11-07 Thread Murray Cumming
On Wed, 2007-11-07 at 18:18 +0100, Gwenole Beauchesne wrote: On Wed, 7 Nov 2007, Emmanuele Bassi wrote: Should the third param be '_const_ ClutterColor *color'? It's defined as const in clutter_label_set_color(), so I would expect it to be the same in the constructor. yes, it should

[clutter] Creating a scrolled list

2007-11-13 Thread Murray Cumming
I remember seeing an iTunes-ish demo at GUADEC, showing a track listing in a window. I think it scrolled. Is there some code I can look at for that or something similar, to see how you implemented that? What's the general plan with these higher-level building blocks in clutter? You already have

Re: [clutter] Creating a scrolled list

2007-11-13 Thread Murray Cumming
On Tue, 2007-11-13 at 15:38 +, Matthew Allum wrote: Hi; On Tue, 2007-11-13 at 16:21 +0100, Murray Cumming wrote: I remember seeing an iTunes-ish demo at GUADEC, showing a track listing in a window. I think it scrolled. Is there some code I can look at for that or something similar

[clutter] 2.5D?

2007-11-14 Thread Murray Cumming
Clutter is a 2.5D canvas, right? I mean, it can contain 2D objects that can have some extruded depth, and which can move in 3D space. But it can't have, for instance, a pyramid object? Maybe I'm even wrong about the extruded depth. Does clutter_actor_set_depth() set the z position of the object

Re: [clutter] 2.5D?

2007-11-14 Thread Murray Cumming
On Wed, 2007-11-14 at 12:17 +, Matthew Allum wrote: Hi; On Wed, 2007-11-14 at 12:55 +0100, Murray Cumming wrote: Clutter is a 2.5D canvas, right? I mean, it can contain 2D objects that can have some extruded depth, and which can move in 3D space. But it can't have, for instance

[clutter] clutter_actor_request_coords() unclear

2007-11-15 Thread Murray Cumming
The documentation for clutter_actor_request_coords() is unclear to me. What data is it giving me and how is it giving it to me? Is the box parameter an output (or in/out) parameter? http://clutter-project.org/docs/ClutterActor.html#clutter-actor-request-coords Likewise,

Re: [clutter] 2.5D?

2007-11-15 Thread Murray Cumming
On Wed, 2007-11-14 at 12:17 +, Matthew Allum wrote: Im not heavily convinced that full full 3D really buys you much UI wise beyond crazed 1980's neuromancer style things What, the future is cancelled? Has popular culture been lying to me? Those bastards. -- [EMAIL PROTECTED]

Re: [clutter] Pages missing from online API reference

2007-11-15 Thread Murray Cumming
On Fri, 2007-10-26 at 11:40 +0100, Matthew Allum wrote: Should now be fixed (with thanks to you and Mr Bassi) I also notice that the documentation doesn't show the object hierarchy. For instance ClutterStage derives from ClutterGroup and then from ClutterActor, but that's not shown here:

Re: [clutter] Pages missing from online API reference

2007-11-15 Thread Murray Cumming
On Thu, 2007-11-15 at 12:32 +, Matthew Allum wrote: On Thu, 2007-11-15 at 13:19 +0100, Murray Cumming wrote: Is the online documentation wrong or wildly out of date, or is the svn API just very different to the last tarball? The web site documentation should be for the last (0.4

Re: [clutter] Clutter-trunk widget event handlers

2007-11-15 Thread Murray Cumming
I am also having problems with actor signals. I get the button-press and button-release signals, but not, for instance, the motion-event, enter-event and leave-event signals. I attached my simple test code. I don't see an obvious error. -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com /*

Re: [clutter] Clutter-trunk widget event handlers

2007-11-15 Thread Murray Cumming
On Thu, 2007-11-15 at 13:34 +, Matthew Allum wrote: You need to call clutter_enable_motion_events (); - its a performance opt that maybe needs to work the other way around (be explicity disabled rather than enabled). Thanks. I guess that this (and clutter_actor_set_reactive()) should be

Re: [clutter] Clutter knot?

2007-11-16 Thread Murray Cumming
On Fri, 2007-11-16 at 17:12 +, Emmanuele Bassi wrote: On Fri, 2007-11-16 at 17:45 +0100, Murray Cumming wrote: Is there any particular reason that ClutterKnot isn't called ClutterPoint, which is what it appears to be? it's a knot in a path, which is why the ClutterKnot structure

[clutter] Clutter knot?

2007-11-16 Thread Murray Cumming
Is there any particular reason that ClutterKnot isn't called ClutterPoint, which is what it appears to be? -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL PROTECTED]

Re: [clutter] Clutter tutorial and a clutter_behaviour_ellipse_set_angle_end() problem

2007-12-07 Thread Murray Cumming
On Fri, 2007-12-07 at 14:16 +, Matthew Allum wrote: On Fri, 2007-12-07 at 15:07 +0100, Murray Cumming wrote: On Fri, 2007-12-07 at 14:53 +0100, Murray Cumming wrote: For Openismus, I have started a tutorial to cover Clutter and to mention a little about other libraries

[clutter] ClutterBehaviourEllipse: angles 359

2007-12-13 Thread Murray Cumming
What is the intended meaning of angles of 360 degrees or more with ClutterBehaviourEllipse? For instance, I see that a clockwise ellipse with a start angle of 360 and end angle of 90 causes an item to move through 360 and then an extra 90, though I'd expect it to just move 90 degrees. I could

[clutter] Tutoral: Ways to use OpenGL directly

2007-12-14 Thread Murray Cumming
In the tutorial, I have a chapter about implementing actors. Of course, I'm mentioning the OpenGL API there because you'd have to draw the actor somehow. I mention cogl too but I think OpenGL will be necessary in most cases. I wonder if this is the only/best way to use OpenGL directly. Maybe I

Re: [clutter] unrefing Timelines and Behaviours.

2007-12-14 Thread Murray Cumming
On Fri, 2007-12-14 at 10:49 +, Emmanuele Bassi wrote: On Thu, 2007-12-13 at 19:48 +0100, Murray Cumming wrote: So this is a question for the Clutter developers. Are we really meant to connect to ClutterTimeline's completed signal just so we can unref the timeline and any behaviours

Re: [clutter] Clutter tutorial and a clutter_behaviour_ellipse_set_angle_end() problem

2007-12-14 Thread Murray Cumming
On Fri, 2007-12-14 at 13:38 +, Matthew Allum wrote: Hi; Attached are some rough notes for documentation Im half way through, which hopefully clear up some things and give clarity to some features. Wanted to spend a bit more time on this before submitting but getting worried as to

Re: [clutter] unrefing Timelines and Behaviours.

2007-12-14 Thread Murray Cumming
On Fri, 2007-12-14 at 11:51 +, Emmanuele Bassi wrote: On Fri, 2007-12-14 at 12:20 +0100, Murray Cumming wrote: By the way, I don't really see the point of ClutterAlpha in the public API, unless you are planning to add more functions to it. At the moment it seems like behaviours could

[clutter] Re: Event handling chain

2007-12-17 Thread Murray Cumming
On Mon, 2007-12-17 at 11:06 +, Matthew Allum wrote: On Mon, 2007-12-17 at 11:31 +0100, Murray Cumming wrote: On Fri, 2007-12-14 at 13:38 +, Matthew Allum wrote: Input events are handled initially by the stage the event will enter a capture phase continue down through children

Re: [clutter] Problem with new ClutterActor definition

2008-01-30 Thread Murray Cumming
On Wed, 2008-01-30 at 18:10 +, Matthew Allum wrote: Hi; On Wed, 2008-01-30 at 17:35 +0100, Murray Cumming wrote: On Wed, 2008-01-30 at 16:32 +, Matthew Allum wrote: Hi; On Wed, 2008-01-30 at 17:07 +0100, Matteo Cappadonna wrote: I have followed this tutorial

[clutter] Tutorial stuff to do

2008-02-20 Thread Murray Cumming
On Wed, 2008-01-30 at 18:10 +, Matthew Allum wrote: [snip] Its not so much total inaccuracies in API usage etc its just I think it misses detail where its important and feels quite dry (e.g. no diagrams) / impractical (animation stuff is not totally clear) [snip] I saw that the API

Re: [clutter] [ANNOUNCE] Tidy - Bringing order in Clutter

2008-02-23 Thread Murray Cumming
On Fri, 2008-02-22 at 16:41 +0100, Murray Cumming wrote: Is there any plan to add an equivalent for the old ClutterBox, ClutterVBox and ClutterHBox containers? http://clutter-project.org/docs/clutter-ClutterBox.html And may I this old code as the basis for a custom container example

[clutter] Porting from ClutterLayout (0.4) to 0.6

2008-02-25 Thread Murray Cumming
On Sat, 2008-02-23 at 13:48 +0100, Murray Cumming wrote: On Fri, 2008-02-22 at 16:41 +0100, Murray Cumming wrote: Is there any plan to add an equivalent for the old ClutterBox, ClutterVBox and ClutterHBox containers? http://clutter-project.org/docs/clutter-ClutterBox.html And may I

Re: [clutter] Porting from ClutterLayout (0.4) to 0.6

2008-02-26 Thread Murray Cumming
On Mon, 2008-02-25 at 14:26 +, Emmanuele Bassi wrote: TidyFrame seems like the simplest example so far for the new way of doing things with Clutter 0.6. It seems to position its child during the ClutterActor::request_coords() implementation.

[clutter] Multi-line text entry

2008-02-28 Thread Murray Cumming
Has anyone implemented multi-line text entry anywhere? (ClutterEntry is single line). I'd like to steal some code for the tutorial. -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL PROTECTED]

Re: [clutter] Are C++ bindings still alive?

2008-04-11 Thread Murray Cumming
On Thu, 2008-04-10 at 13:44 -0500, Jonathon Jongsma wrote: On Thu, Apr 10, 2008 at 1:30 PM, Giacomo Graziosi [EMAIL PROTECTED] wrote: It's still me. This time I'm asking some infos on C++ bindings. Looks like they are in worst conditions than Ruby's ones. Maybe I should focus on some

Re: [clutter] Are C++ bindings still alive?

2008-04-11 Thread Murray Cumming
On Thu, 2008-04-10 at 13:44 -0500, Jonathon Jongsma wrote: On Thu, Apr 10, 2008 at 1:30 PM, Giacomo Graziosi [EMAIL PROTECTED] wrote: It's still me. This time I'm asking some infos on C++ bindings. Looks like they are in worst conditions than Ruby's ones. Maybe I should focus on some

[clutter] Tutorial review?

2008-05-06 Thread Murray Cumming
I'm still hoping that some Clutter developers can find time to review the clutter tutorial: http://www.openismus.com/misc/clutter_tutorial/docs/tutorial/html/index.html Presumably it's waiting on that review before you consider it part of the official Clutter documentation. If that isn't going

[clutter] ANNOUNCE: cluttermm 0.5.1

2008-05-06 Thread Murray Cumming
: http://ftp.gnome.org/pub/GNOME/sources/cluttermm/ submit bugs: http://bugzilla.gnome.org/enter_bug.cgi?product=gnomemmcomponent=cluttermm view bugs: http://bugzilla.gnome.org/buglist.cgi?query=component%3Acluttermm+product%3Agnomemm+ -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com

Re: [clutter] cluttermm pure?

2008-06-15 Thread Murray Cumming
On Sat, 2008-06-14 at 22:41 +0200, Daniel Oberhoff wrote: Hi is it possible to build cluttermm without cluttergtk? why does it need gtk? I guess we thought we were making life easier and didn't think of non-GTK+ platforms. i cant use cluttergtk on osx, so i would like just cluttermm for

Re: [clutter] cluttermm pure?

2008-06-15 Thread Murray Cumming
On Sun, 2008-06-15 at 19:31 +0200, Daniel Oberhoff wrote: , wouldnt it make sense simply to have it a configure option to embedd gtk (also cairo)? I find it simpler to split libraries up in separate tarballs rather than make some parts optional. Distros (Linux or whatever) tend not to split

[clutter] clutter build broken

2008-07-11 Thread Murray Cumming
of ‘clutter_qdivx’ was here -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL PROTECTED]

Re: [clutter] cluttermm dependencies

2008-07-13 Thread Murray Cumming
On Wed, 2008-07-09 at 17:32 +0300, Michael Boccara wrote: Hi, I saw there was a previous post questioning why cluttermm was dependent on clutter-gtk. I will just rephrase this. Indeed the dependency tree is currently like this: clutter glibmm clutter-gtk clutter

Re: [clutter] Implementing a new actor via cluttermm

2008-07-13 Thread Murray Cumming
On Wed, 2008-07-09 at 17:37 +0300, Michael Boccara wrote: I am new to the GLib and GObjects world, so my question may sound dumb. Is it possible to implement new subclasses of Clutter::Actor without having to subclass the ClutterActor GObject ? In other words, can we create our own actors

Re: [clutter] cluttermm build

2008-07-13 Thread Murray Cumming
On Sun, 2008-07-13 at 17:31 +0300, Michael Boccara wrote: Murray Cumming wrote: Thoughts ? Is there a problem? I guess my problem comes from the fact that I am using the source tar.bz2 (from http://ftp.gnome.org/pub/GNOME/sources/cluttermm/) and not the svn repository

Re: [clutter] cluttermm dependencies

2008-07-14 Thread Murray Cumming
On Sun, 2008-07-13 at 15:55 +0200, Murray Cumming wrote: On Wed, 2008-07-09 at 17:32 +0300, Michael Boccara wrote: I also think that the current cluttermm should be split into cluttermm, clutter-gtkmm, and clutter-cairomm. Yes, we will probably do this for cluttermm 0.8. I'm trying

[clutter] ANNOUNCE: cluttermm 0.7.2

2008-07-25 Thread Murray Cumming
/ submit bugs: http://bugzilla.gnome.org/enter_bug.cgi?product=gnomemmcomponent=cluttermm view bugs: http://bugzilla.gnome.org/buglist.cgi?query=component%3Acluttermm+product%3Agnomemm+ -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL

[clutter] Box2D: hit detection

2008-08-11 Thread Murray Cumming
Does clutter-box2d offer any way to get a callback when one actor hits another? -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL PROTECTED]

[clutter] Box2D: Actors on a rail?

2008-08-11 Thread Murray Cumming
I have sometimes thought that it would be a nice abstraction to put an actor on a rail and let the user move it along that rail. Does clutter-box2d offer anything like that, or could it? -- [EMAIL PROTECTED] www.murrayc.com www.openismus.com -- To unsubscribe send a mail to [EMAIL PROTECTED]

Re: [clutter] Errors building clutter

2008-08-11 Thread Murray Cumming
On Mon, 2008-08-11 at 01:40 -0400, David Cummings wrote: Hi all, Thanks for a very neat library. I recently build the SVN version, and had some issues which I figured someone ought to know about. 1. The configure script for clutter-tutorial calls pkg-config to look explicitly for

Re: [clutter] Box2D: Actors on a rail?

2008-08-11 Thread Murray Cumming
On Mon, 2008-08-11 at 11:32 +0100, Øyvind Kolås wrote: On Mon, Aug 11, 2008 at 11:03 AM, Murray Cumming [EMAIL PROTECTED] wrote: I have sometimes thought that it would be a nice abstraction to put an actor on a rail and let the user move it along that rail. Does clutter-box2d offer

Re: [clutter] [bugzilla] copyright waiver for patches

2009-03-30 Thread Murray Cumming
holder. -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Re: [clutter] [bugzilla] copyright waiver for patches

2009-03-31 Thread Murray Cumming
On Tue, 2009-03-31 at 10:16 +0100, Emmanuele Bassi wrote: On Mon, 2009-03-30 at 21:42 +0200, Murray Cumming wrote: for legal reasons we now have to ask everyone that attaches a patch for Clutter to our Bugzilla to waive the copyright for the patch itself -- effectively placing

Re: [clutter] [bugzilla] copyright waiver for patches

2009-04-16 Thread Murray Cumming
On Tue, 2009-03-31 at 17:43 +0200, Murray Cumming wrote: Yeah, I would normally avoid any boring legal discussion, but I do think it's a fundamental part of copyright law that you can't go to court and defend a copyright if you are not the copyright holder. That concept has some fancy latin

Re: [clutter] [bugzilla] copyright waiver for patches

2009-04-16 Thread Murray Cumming
archeology. I speak for myself, but I cannot write a decent tutorial because: a) I know how Clutter internals work, and b) if I have to write some documentation I prefer having it inside the API reference. Thanks. You haven't personally been part of the problem. -- Murray Cumming murr

Re: [clutter] how to solve ClutterFixed_REPLACED_BY_CoglFixed error?

2009-05-11 Thread Murray Cumming
On Fri, 2009-05-08 at 01:55 +0100, Emmanuele Bassi wrote: after I changed ClutterFixed to CoglFixed, and CLUTTER_INT_TO_FIXED to COGL_FIXED_FROM_INT, it output this error message: error: cannot

Re: [clutter] gst-0.9 example + text actor : bug?

2009-05-20 Thread Murray Cumming
On Mon, 2009-05-18 at 18:45 +0300, Aarto Matti wrote: ClutterActor *test_actor = clutter_text_new_full (Sans 14, argv[1], control_color2); + clutter_container_add_actor(CLUTTER_CONTAINER (stage), *test_actor You are derefencing your ClutterActor* to pass it by value. That should not compile,

Re: [clutter] cluttermm: deriving from Clutter::Texture

2009-06-18 Thread Murray Cumming
On Sun, 2009-06-07 at 12:05 +0200, Bartosz Kostrzewa wrote: Attached is a simple test case which explains what the problem is. The ending of Clutter::main() does not remove actors from the stage. stage-remove_actor(object) has to be called explicitly for the reference count of object to be

[clutter] ANNOUNCE: cluttermm 0.9.5, clutter-gtkmm 0.9.5, clutter-box2dmm 0.9.1

2010-01-08 Thread Murray Cumming
cluttermm provides a C++ API for Clutter (a 3D canvas and items), for use with gtkmm. We'd like to hear about any problems or about anything that is missing. Changes: cluttermm 0.9.5: * Use clutter-1.0 instead of clutter-0.9. (Murray Cumming) * Likewise change our pkg-config file

Re: [clutter] Offscreen Clutter Stage

2010-01-18 Thread Murray Cumming
On Tue, 2010-01-05 at 15:49 +, Robert Bragg wrote: If you are interested in the work to migrate parts of the Clutter backends to Cogl so you can track the progress of this work I can look at publishing the crude stabs I've made at this work so far in a branch and perhaps you can provide

[clutter] ANNOUNCE: cluttermm 1.1.1 and 1.3.1

2010-09-21 Thread Murray Cumming
(), get_effect(). - Added set/set_clip_to_allocation(), contains(), get_has_allocation(), get_accessible(), add_action(), remove_action(), get_action(), clear_actions(). * Stage: Added get/set_no_clear_hint(). * Texture: Added get/set_pick_with_alpha(). (Murray Cumming) cluttermm 1.1.1