[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 t

[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] Resizing a ClutterActor (with cairo)

2008-07-20 Thread Saul Lethbridge
Hi, I've created a clutter actor that I have drawn to using cairo. All is well until I resize the clutter actor and it appears course like resizing a standard texture from a png. How do I get around this? Thanks for any help at all.

[clutter] clutter_container_foreach ()

2008-07-21 Thread Saul Lethbridge
Hi, Can somebody please give me a quick example of using clutter_container_foreach ()? I'm wanting to evaluate the size of each actor in a container using cluttor_actor_get_size(). I noticed none of the 'tests' using this function. Thanks...

[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?

Re: [clutter] Templates and Effects

2008-07-24 Thread Saul Lethbridge
= clutter effect fade (TMPL, a) TL = clutter effect fade (TMPL, b) On Fri, Jul 25, 2008 at 10:13 AM, Matthew Allum <[EMAIL PROTECTED]> wrote: > On Fri, 2008-07-25 at 09:48 +1000, Saul Lethbridge wrote: > > Hi, > > > > I've setup a template and have applied it along

[clutter] Behaviors, Actors and Timelines

2008-07-27 Thread Saul Lethbridge
Hi, I've create a behavior that controls opacity and I have applied to many actors. All is well. Now I need to stop and restart this opacity effect for each actor at differing times. If I rewind and start the timeline, it applies to all actors. How do I do this per actor? Thanks

[clutter] Timeline container

2008-07-27 Thread Saul Lethbridge
Hi, I'm starting to think that what I'm trying to do is not possible with Clutter. This is what my app does *event A occurs* Create an actor to represent event Name Actor Add actor to container start to fade actor (opacity to 0) *event B occurs* Create an actor to represent event Name Actor Add

[clutter] clutter-box2d

2008-08-05 Thread Saul Lethbridge
This really is fantastic. I've built and had a look at the example - which seems great to play with. However it is very complicated (when compared with the examples provided with other clutter components. Can we get some simpler examples of using clutter-box2d? Thanks

[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 r

[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] GtkScrolledWindow

2008-08-20 Thread Saul Lethbridge
Hi, I've created a gtk clutter embed and have placed it into a scrolledwindow using gtk_scrolled_window_add_with_viewport ..however it doesn't appear to work. I get no ability to scroll when I resize the window to make it smaller than the stage. any idea's?

[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 si

[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
"manipulatable", TRUE, "mode", CLUTTER_BOX2D_DYNAMIC, NULL); } move = clutter_container_find_child_by_name (CLUTTER_GROUP (stage), "hand"); g_timeout_add (1000, moveactor, NULL); } On Fri, Aug 2

Re: [clutter] clutter_actor_move_by and clutterbox2d

2008-08-25 Thread Saul Lethbridge
nctions (I 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

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 PR

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

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-G

[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 show

[clutter] Re: clutter_stage_read_pixels using clutter-gtk

2008-10-30 Thread Saul Lethbridge
ON (button), 255); gtk_box_pack_start (GTK_BOX (box), button, TRUE, TRUE, 0); g_signal_connect (button, "value-changed", G_CALLBACK (on_opacity_changed), app); gtk_widget_show_all (app->window); /* Only show/show_all the stage after parent show. widget_show will call * show on the

[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
get_show (window); gtk_main(); return 0; } 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

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

[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 th

[clutter] Lighting and Lights in Clutter

2009-03-30 Thread Saul Lethbridge
Is there any way to create actors that emit light in clutter? I'm wanting to create a spotlight effect that I can animate and move around the stage. I noticed some reference to lighting in recent builds of cogl: cogl_material_set_emission Am I on the right track? Thanks

[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 #include #

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

2009-06-02 Thread Saul Lethbridge
Hi, I'm wanting an efficient way of capturing image data on the stage. I'd like to be able to take video of the stage and save it to a file. So being able to grab image data, frame by frame, from an animation. Has anybody attempted this or have any idea where I should start looking? I guess the be

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

2009-06-04 Thread Saul Lethbridge
Would I be able to use glReadBuffer & glReadPixels to get the image data? Am I on the right track? http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readbuffer.html http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/readpixels.html On Thu, Jun 4, 200

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

2009-06-04 Thread Saul Lethbridge
ta and then dump it on to > the frame buffer later on when 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.. > >

[clutter] clutter_set_motion_events_ frequency

2009-06-12 Thread Saul Lethbridge
It seems the function *clutter_set_motion_events_ frequency* has been removed recently. Has i

[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 wrote: > 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: > > http://www.mail-archive.c

Re: [clutter] Can someone assist with this error?

2009-06-13 Thread Saul Lethbridge
(libc6) => /usr/lib/libclutter-glx-0.8.so libclutter-cairo-0.8.so.0 (libc6) => /usr/lib/libclutter-cairo-0.8.so.0 libclutter-cairo-0.8.so (libc6) => /usr/lib/libclutter-cairo-0.8.so Any idea's?? On Sat, Jun 13, 2009 at 6:31 PM, Emmanuele Bassi wrote: > On Sat, 2009-06-1

Re: [clutter] Can someone assist with this error?

2009-06-13 Thread Saul Lethbridge
I've recreated my project in Anjuta and all is working nicely now. Not too sure what the problem was. On Sat, Jun 13, 2009 at 7:48 PM, Saul Lethbridge wrote: > Thanks for the quick response, how can I troubleshoot this? If I do an ldd > on the binary I get > > ldd ar

Re: [clutter] clutter_set_motion_events_ frequency

2009-06-27 Thread Saul Lethbridge
So can I assume that this means I can no longer lose an event? How can I see if motion events are being throttled or lost? On Sat, Jun 13, 2009 at 6:31 PM, Emmanuele Bassi wrote: > On Sat, 2009-06-13 at 08:30 +1000, Saul Lethbridge wrote: > > It seems the function clutter_set_motio

[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
his is how it works. Somebody, please correct 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 >

[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 > extendin

[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/