Re: [e-users] Array of sliders in Elementary

2013-02-16 Thread Justin Rosander
Brilliant! Thanks for the help :) On Sat, Feb 16, 2013 at 4:41 PM, Arvind R wrote: > On Sat, Feb 16, 2013 at 8:42 PM, Justin Rosander > wrote: > > Thanks for the replies. Taking Arvind's suggestion on a structure, I put > > the following together, but I'm getting an error: > > slidermult.c: I

Re: [e-users] Array of sliders in Elementary

2013-02-16 Thread Arvind R
On Sat, Feb 16, 2013 at 8:42 PM, Justin Rosander wrote: > Thanks for the replies. Taking Arvind's suggestion on a structure, I put > the following together, but I'm getting an error: > slidermult.c: In function ‘_changed_cb’: > slidermult.c:38: error: request for member ‘ch’ in something not a >

Re: [e-users] Array of sliders in Elementary

2013-02-16 Thread Justin Rosander
Thanks for the replies. Taking Arvind's suggestion on a structure, I put the following together, but I'm getting an error: slidermult.c: In function ‘_changed_cb’: slidermult.c:38: error: request for member ‘ch’ in something not a structure or union I've googled and googled, but can't really seem

Re: [e-users] Array of sliders in Elementary

2013-02-15 Thread Arvind R
On Thu, Feb 14, 2013 at 6:44 PM, Justin Rosander wrote: > Thanks for the reply, Arvind. Okay, so I have that working, and I > understand by passing the addresses of the array to my callback, I am > interacting with specific sliders. If the type is void, then how would I > specify that the values

Re: [e-users] Array of sliders in Elementary

2013-02-14 Thread Daniel Juyung Seo
You can bind a data and an object using evas_object_data_set. http://docs.enlightenment.org/auto/evas/group__Evas__Object__Group__Extras.html#ga70134a7068c9bff4107a761abe0a2ad4 Set whatever key/value to the object and get them when you need them. Thanks. Daniel Juyung Seo (SeoZ) On Thu, Feb 14, 2

Re: [e-users] Array of sliders in Elementary

2013-02-14 Thread Justin Rosander
Thanks for the reply, Arvind. Okay, so I have that working, and I understand by passing the addresses of the array to my callback, I am interacting with specific sliders. If the type is void, then how would I specify that the values of a specific slider is supposed to be related to a specific int

Re: [e-users] Array of sliders in Elementary

2013-02-13 Thread Arvind R
On Thu, Feb 14, 2013 at 6:51 AM, Justin Rosander wrote: > Hi there, > > I'm trying to put together a midi controller featuring faders that would be > assigned to different channels. In exploring the use of an array to make a > window full of sliders, I put the following together: > > for(x = 0; x

[e-users] Array of sliders in Elementary

2013-02-13 Thread Justin Rosander
Hi there, I'm trying to put together a midi controller featuring faders that would be assigned to different channels. In exploring the use of an array to make a window full of sliders, I put the following together: for(x = 0; x < 12; x++) { //add slider sl[x] = elm_slider_add(win);