Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Simon Schampijer
On 08/17/2011 07:37 PM, Walter Bender wrote: From: Walter Benderwalter.ben...@gmail.com It is my understanding the icon_info.attach_x,y are pixel offsets into the icon from the lower-left corner. If that is the case, then it should be added rather than multiplied. The other interpretation is

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Walter Bender
On Thu, Aug 18, 2011 at 4:13 AM, Simon Schampijer si...@schampijer.de wrote: On 08/17/2011 07:37 PM, Walter Bender wrote: From: Walter Benderwalter.ben...@gmail.com It is my understanding the icon_info.attach_x,y are pixel offsets into the icon from the lower-left corner. If that is the

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Gary Martin
On 18 Aug 2011, at 10:01, Walter Bender wrote: On Thu, Aug 18, 2011 at 4:13 AM, Simon Schampijer si...@schampijer.de wrote: On 08/17/2011 07:37 PM, Walter Bender wrote: From: Walter Benderwalter.ben...@gmail.com It is my understanding the icon_info.attach_x,y are pixel offsets into the

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread manuel quiñones
2011/8/18 Gary Martin garycmar...@googlemail.com: On 18 Aug 2011, at 10:01, Walter Bender wrote: On Thu, Aug 18, 2011 at 4:13 AM, Simon Schampijer si...@schampijer.de wrote: On 08/17/2011 07:37 PM, Walter Bender wrote: From: Walter Benderwalter.ben...@gmail.com It is my understanding the

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Walter Bender
On Thu, Aug 18, 2011 at 10:34 AM, Gary Martin garycmar...@googlemail.com wrote: On 18 Aug 2011, at 10:01, Walter Bender wrote: On Thu, Aug 18, 2011 at 4:13 AM, Simon Schampijer si...@schampijer.de wrote: On 08/17/2011 07:37 PM, Walter Bender wrote: From: Walter

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Simon Schampijer
On 08/18/2011 05:25 PM, Walter Bender wrote: On Thu, Aug 18, 2011 at 10:34 AM, Gary Martin garycmar...@googlemail.com wrote: On 18 Aug 2011, at 10:01, Walter Bender wrote: On Thu, Aug 18, 2011 at 4:13 AM, Simon Schampijersi...@schampijer.de wrote: On 08/17/2011 07:37 PM, Walter Bender

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-18 Thread Walter Bender
On Thu, Aug 18, 2011 at 11:32 AM, Simon Schampijer si...@schampijer.de wrote: On 08/18/2011 05:25 PM, Walter Bender wrote: On Thu, Aug 18, 2011 at 10:34 AM, Gary Martin garycmar...@googlemail.com  wrote: On 18 Aug 2011, at 10:01, Walter Bender wrote: On Thu, Aug 18, 2011 at 4:13 AM, Simon

[Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-17 Thread Walter Bender
From: Walter Bender walter.ben...@gmail.com It is my understanding the icon_info.attach_x,y are pixel offsets into the icon from the lower-left corner. If that is the case, then it should be added rather than multiplied. The other interpretation is that it is a position as percentage. If that is

Re: [Sugar-devel] [PATCH] fix calculation for determining the placement of badges

2011-08-17 Thread Walter Bender
On Wed, Aug 17, 2011 at 1:37 PM, Walter Bender wal...@sugarlabs.org wrote: From: Walter Bender walter.ben...@gmail.com It is my understanding the icon_info.attach_x,y are pixel offsets into the icon from the lower-left corner. If that is the case, then it should be added rather than