[clutter] Create array of ClutterActor

2008-07-18 Thread Saul Lethbridge
Hi, My application will be using an unknown number of clutter actors at build time. I'm wanting to create a struct of arrays that I can later realloc when required. struct cNode { int numNodes; ClutterActor *clutterArray[1]; cairo_t*cr[1]; }; Is this the correct way to go about

[clutter] Building clutter-gtk errors

2008-07-18 Thread Saul Lethbridge
I'm getting the following error when trying to build (make) clutter-gtk (ubuntu 8.04) gtk-clutter-embed.c:48:34: error: clutter/clutter-main.h: No such file or directory I have successfully built and installed clutter 0.8.

[clutter] Templates and Effects

2008-07-24 Thread Saul Lethbridge
Hi, I've setup a template and have applied it along with effects to an actor. However, in some situations I need to be able to stop it (template/timeline) mid execution on a particular actor. How do I accomplish this?

[clutter] Clutter-box2d

2008-08-05 Thread Saul Lethbridge
This is really good. Is there any reason this is not released as an official package along with cairo, gtk, etc?

Re: [clutter] Clutter-box2d

2008-08-06 Thread Saul Lethbridge
Great work. Will the HTML documentation be updated? On Wed, Aug 6, 2008 at 9:55 AM, Øyvind Kolås [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 12:37 AM, Saul Lethbridge [EMAIL PROTECTED] wrote: This is really good. Is there any reason this is not released as an official package along

[clutter] Zoom of sorts

2008-08-18 Thread Saul Lethbridge
Hi all, I'm wanting the user to be able to zoom in and out of my stage (using the scroll button on the mouse), what would be the best and most efficient way of doing this?

[clutter] clutter_actor_move_by and clutterbox2d

2008-08-21 Thread Saul Lethbridge
Hi, Should I be able to control my actors with standard clutter commands when simulating them? I can' manipulate my actors with the mouse (which I want to prevent), but I can't move them using standard clutter functions. Can anybody shed any light? a. How do I move my actors around (and still

[clutter] Stage size

2008-08-21 Thread Saul Lethbridge
Hi, What relevance does the size of the stage have to actors contained in it? I can create a stage with a width of 640 pixels yet can place actors at 800 - why is this?

Re: [clutter] clutter_actor_move_by and clutterbox2d

2008-08-22 Thread Saul Lethbridge
, NULL); } move = clutter_container_find_child_by_name (CLUTTER_GROUP (stage), hand); g_timeout_add (1000, moveactor, NULL); } On Fri, Aug 22, 2008 at 8:17 PM, Øyvind Kolås [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 1:40 AM, Saul Lethbridge [EMAIL PROTECTED] wrote

Re: [clutter] clutter_actor_move_by and clutterbox2d

2008-08-25 Thread Saul Lethbridge
did try this by the way but it seems if I don't set an actor's mode, it's not visible at all). Looking forward to hearing back. Thanks and great work. On Sat, Aug 23, 2008 at 12:03 PM, Saul Lethbridge [EMAIL PROTECTED] wrote: I've made some changes to the example provided with clutter-box2d

Re: [clutter] clutter_actor_move_by and clutterbox2d

2008-08-28 Thread Saul Lethbridge
Can I specify the Linear/Angular velocity using clutter-box2d - or do I have to use the box2d library and mix C++ with my C. Thanks On Tue, Aug 26, 2008 at 8:32 PM, Øyvind Kolås [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 4:23 AM, Saul Lethbridge [EMAIL PROTECTED] wrote: Alternatively

Re: [clutter] Clutter on iPhone

2008-09-23 Thread Saul Lethbridge
Yes I agree...it would be great if this was an officially supported platform with binaries and documentation. On Wed, Sep 24, 2008 at 12:46 AM, Pedro Casagrande de Campos [EMAIL PROTECTED] wrote: Hi, We are interested on porting some applications written on clutter to the iPhone. Is there

Re: [clutter] [ANNOUNCE] Clutter-GTK 0.8.2 released (stable)

2008-10-15 Thread Saul Lethbridge
Thanks guys, great job. This was one of the things I've been waiting for (bug: 1114). Now just waiting for the ability to apply force to my clutter-box2d actors (bug:1146)!!! Thanks again... On Wed, Oct 15, 2008 at 11:13 PM, Emmanuele Bassi [EMAIL PROTECTED]wrote: hi everyone; Clutter-GTK

[clutter] clutter_stage_read_pixels using clutter-gtk

2008-10-30 Thread Saul Lethbridge
I'm having some interesting outcomes from clutter_stage_read_pixels and gdk_pixbuf_save If I attempt to read the stage (which is embedded gtk) BEFORE the gtk widget is shown, I can read it successfully and the screenshot is successful. If I try to read it AFTER the clutter-gtk widget has been

[clutter] Re: clutter_stage_read_pixels using clutter-gtk

2008-10-30 Thread Saul Lethbridge
); funcScreenshot (); gtk_main (); return 0; } On Thu, Oct 30, 2008 at 9:36 PM, Saul Lethbridge [EMAIL PROTECTED]wrote: I'm having some interesting outcomes from clutter_stage_read_pixels and gdk_pixbuf_save If I attempt to read the stage (which is embedded gtk) BEFORE the gtk widget

[clutter] GtkClutterViewport

2008-11-04 Thread Saul Lethbridge
It's great to see this in Clutter, but I'm not sure it behaves as expected. I've attached a couple of images to show 'what I would expect'. The two images are of a standard 320 X 240 window and the same window maximized. It appears that it is irrelevant whether the window is maximized or not, the

[clutter] Combination Events

2008-11-08 Thread Saul Lethbridge
Can somebody give me an example of capturing the following: - a left click - a left click with the control key held down - a left click with the shift key held down Thanks

[clutter] GtkClutterViewport

2008-11-12 Thread Saul Lethbridge
Are there any plans to have something similar to GtkClutterViewport but that can contain multiple actors - like embedding the stage in the viewport and applying a size limit? The limit of a single actor makes GtkClutterViewport reasonably useless.

Re: [clutter] GtkClutterViewport

2008-11-13 Thread Saul Lethbridge
; } On Thu, Nov 13, 2008 at 7:35 AM, Pierre-Luc Beaudoin [EMAIL PROTECTED] wrote: On Thu, 2008-11-13 at 06:47 +1000, Saul Lethbridge wrote: Are there any plans to have something similar to GtkClutterViewport but that can contain multiple actors - like embedding the stage in the viewport

Re: [clutter] GtkClutterViewport

2008-11-13 Thread Saul Lethbridge
Once again...thank you. On Thu, Nov 13, 2008 at 10:23 PM, Emmanuele Bassi [EMAIL PROTECTED]wrote: On Thu, 2008-11-13 at 20:46 +1000, Saul Lethbridge wrote: Doesn't appear to work! you code, no. once I fixed it, it does. compile with: gcc -Wall \ `pkg-config --cflags clutter-0.9

[clutter] ClutterMotionEvent and moving clutter actor

2008-11-17 Thread Saul Lethbridge
I'm trying to allow the user to move my actors around by using the ClutterMotionEvent and clutter_actor_set_position. It works, but if I move the mouse too quickly the actor is 'left behind' so to speak. If I move the mouse back of the actor then slowly move the mouse then I can continue to move

[clutter] Execute an animation on completion of another

2009-04-17 Thread Saul Lethbridge
I'm trying to execute a second animation on completion of the first. I can't get this to work though (compiles but the second animation is not executed). I've altered the example animation to demonstrate what I'm trying to do. Using Git. see on_animation_complete function #include stdlib.h

Re: [clutter] Capturing image data from stage save as video file.

2009-06-04 Thread Saul Lethbridge
reqd.I followed the above mechanism.Because for me, it was at certain scenario and not in every frame, i am fine with the s/w manipulation of the image data captured.. May be this will give you certain hints.. Regs, Rahaman Saul Lethbridge wrote: Would I be able to use glReadBuffer

[clutter] clutter_set_motion_events_ frequency

2009-06-12 Thread Saul Lethbridge
It seems the function *clutter_set_motion_events_ frequency*http://www.google.com.au/search?hl=enclient=firefox-arls=com.ubuntu:en-US:unofficialhs=esuei=u9UySpn0JtOIkQWXi42NCgsa=Xoi=spellresnum=0ct=resultcd=1q=clutter_set_motion_events_+frequencyspell=1 has been removed recently. Has it been

[clutter] Can someone assist with this error?

2009-06-12 Thread Saul Lethbridge
I'm getting this error after obtaining the latest trunk of clutter-gtk when executing my app. Any idea's? GLib-GObject-WARNING **: specified class size for type `GtkClutterViewport' is smaller than the parent type's `ClutterActor' class size

Re: [clutter] Color management

2009-06-12 Thread Saul Lethbridge
This sounds like it would be a useful addition. On Thu, Jun 11, 2009 at 5:13 PM, Vladimir Nadvornik nadvor...@suse.czwrote: Hi, I have found this method of fast applying a color profile. The transformation is stored in 3D texture and applied with a shader. Details are here:

[clutter] clutter_texture_set_from_rgb_data

2009-07-06 Thread Saul Lethbridge
Hi All, I'm trying to understand what values I need to enter for the function clutter_texture_set_from_rgb_data, see below: rowstride : Distance in bytes between row starts. bpp : bytes per pixel (Currently only 3 and 4 supported, depending on has_alpha) Thanks

Re: [clutter] clutter_texture_set_from_rgb_data

2009-07-06 Thread Saul Lethbridge
me if I am wrong. A simple bit operation can always give you the correct result: rowstride = ((width * bpp) + 3) (~0x3) Hope this makes sense. On Mon, Jul 6, 2009 at 6:34 AM, Saul Lethbridge saul.lethbri...@gmail.com wrote: Hi All, I'm trying to understand what values I need

[clutter] Keyboard events when using GtkClutterEmbed

2009-07-16 Thread Saul Lethbridge
If I attach a signal to the stage using clutter embed, should I be seeing keyboard events?

Re: [clutter] clutter-gtk CSW work

2009-08-25 Thread Saul Lethbridge
Excellent work! What is the long term plan for Clutter-Gtk? Will we see Gtk depending on clutter in the near future? On Tue, Aug 25, 2009 at 7:51 PM, Davyd Madeley davyd.made...@collabora.co.uk wrote: Hey all, In case you didn't see my blog post, I've been doing some work on extending

[clutter] Clutter based iOS Applications - Are we ready

2010-09-09 Thread Saul Lethbridge
This is great news for those of us wanting to develop iPhone apps using other toolkits such as clutter... http://www.macrumors.com/2010/09/09/apple-opens-app-store-to-third-party-development-tools-publishes-review-guidelines/