From: Brian M. <bri...@gm...> - 2006-11-09 22:03:45
|
On Thu, Nov 09, 2006 at 07:40:05PM +0000, jos...@ju... wrote: > > Brian writes: > > > > Just to follow up on this last bit here -- do you wish to > > > change the current edje gradient fill desc that relates to linear > > > grads? > > > > > > > I do, but have no idea when I'll get around to it. > > I understand.. unfortunately, it's an ever present problem > for all. :( > > Ummmm... Well, I actually rewrote the whole thing a while > back (when I was trying to find out where the grad transition issue > was coming from), and wrote everything to just use the general fill > (I also added all the other evas grad properties - spread, offset, > enabled the use of params, changed angles to be doubles, etc). > However, changing things to just use the general fill, would > break things. Sounds like what I had in mind. As for breaking things, its inevitable, and currently, the only use of edje grads (that I'm aware of) is in e17's grad bgs. So, not too much harm in breaking things. (I never actually documented the linear grad edc api because I figured it would change, so its unlikely that many people are using it) > > One last thing - A nice improvement for the grad dialog would > be to allow for lin grads at arbitrary angles, and to allow for the > use of the spread types.. One way to do this is similar to what the > Gimp has for letting you draw a grad, ie. you place the cursor at one > point on the preview and then at another, and this defines it - with > the spread mode determining what to do before/after those endpoints.. > Yeah, I had some of this in mind for an "advanced" version of the dialog. I'm not sure to what extent we want to go though, when most (i'm guessing) gradient bgs will be of the standard types. > Anyway.. When/if Carsten has time to get back to evas, and > everyone would prefer the use of the general fill for edje grads, > I can send the patch.. or if it's preferred to keep the current > interface for linear grads, I can modify it to be a bit simpler > internally, and add the other grad stuff as well. Send me the patch and I'll try to find time to review it and fix the edc generated by the grad dialog (if you haven't already done that). rephorm |