Re: [E-devel] [Patch] new APIs about page

2011-08-16 Thread The Rasterman
On Fri, 12 Aug 2011 06:38:29 + (GMT) Jaehwan Kim 
said:

in svn - thought i added some minor formatting improvements. specifically the
if nesting in elm_smart_scroller_last_page_get()

> 
> Thank you for your advice.
> I added more docs and @see.
> and I added the example code in Elementary.h.in
> Please check the attachment.
> 
> Thanks.
> 
> --- Original Message ---
> Sender : Carsten Haitzler
> Date : 2011-08-08 16:19 (GMT+09:00)
> Title : Re: [E-devel] [Patch] new APIs about page
> 
> On Wed, 03 Aug 2011 06:15:13 + (GMT) 김재환 said:
> 
> your patch seems good except documentation. docs are too short. you dont
> even say @see another func (eg elm_scroller_current_page_get() should see
> elm_scroller_last_page_get() and elm_scroller_page_show() and
> elm_scroller_page_bring_in().  you don't give examples of how to use these in
> "real life usage" in the docs. need more docs (examples etc.)
> 
> > 
> >Thank you for your reply.
> > 
> >I added 4 APIs for the page function of the scroller.
> > 
> >Those are,
> > 
> >EAPI void elm_scroller_current_page_get(Evas_Object *obj, int
> > *h_pagenumber, int *v_pagenumber));
> > 
> >(Get scroll current page number.)
> > 
> >EAPI void elm_scroller_last_page_get(Evas_Object *obj, int *h_pagenumber,
> >int *v_pagenumber);
> > 
> >(Get scroll last page number.)
> > 
> >EAPI void elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int
> >v_pagenumber);
> > 
> >(Show a specific virtual region within the scroller content object by
> > page number without animation.)
> > 
> >EAPI void elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber,
> > int v_pagenumber);
> > 
> >(Show a specific virtual region within the scroller content object by
> > page number with animation.)
> > 
> > 
> >I tested them and it works well.
> > 
> >Please check the attached patch file.
> > 
> >Thanks.
> > 
> > 
> >--- Original Message ---
> > 
> >Sender : Carsten Haitzler
> > 
> >Date : 2011-07-29 15:34 (GMT+09:00)
> > 
> >Title : Re: [E-devel] new APIs about page
> > 
> > 
> >On Mon, 25 Jul 2011 06:22:09 + (GMT) Jaehwan Kim
> >said:
> >> Dear all,
> >>
> >> I want to add new APIs for the page of the scroller.
> >> The APIs are,
> >> elm_scroller_current_page_get(Evas_Object, int *page_x, int *page_y)
> >> elm_scroller_page_show(Evas_Object, int page_x, int page_y)
> >> elm_scroller_page_bring_in(Evas_Object, int page_x, int page_y)
> >hmmm so is this meant to divide the scorllable child into pages like the
> >paginated scrolling does and now address content by page instead of full
> >location? i assume that is what you mean by page? if so - then i have no
> >problem with these being added.
> >> elm_scroller_current_page_get
> >> -> It can get the current page number not pixel.
> >> elm_scroller_page_show
> >> -> It can show the page (page_x, page_y). page_x,y are the page number
> >also.
> >> elm_scroller_page_bring_in
> >> -> It works same elm_scroller_page_show except the scroll animation.
> >>
> >> These APIs are useful for page function.
> >> I want to take your opinion.
> >>
> >> Thanks.
> >>
> >
> > 
> >--
> >> Storage Efficiency Calculator
> >> This modeling tool is based on patent-pending intellectual property
> >> that has been used successfully in hundreds of IBM storage optimization
> >> engage- ments, worldwide.  Store less, Store more with what you own,
> >> Move data to the right place. Try It Now!
> >http://www.accelacomm.com/jaw/sfnl/114/51427378/
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >--
> >- Codito, ergo sum - "I code, therefore I am" --
> >The Rasterman (Carsten Haitzler)ras...@rasterman.com
> > 
> > 
> > 
> > 
> >[SeenTimeChecker?
> > do=2d837800d65a5f1a5cee734130f68d2

Re: [E-devel] [Patch] new APIs about page

2011-08-11 Thread Jaehwan Kim

Thank you for your advice.
I added more docs and @see.
and I added the example code in Elementary.h.in
Please check the attachment.

Thanks.

--- Original Message ---
Sender : Carsten Haitzler
Date : 2011-08-08 16:19 (GMT+09:00)
Title : Re: [E-devel] [Patch] new APIs about page

On Wed, 03 Aug 2011 06:15:13 + (GMT) 김재환 said:

your patch seems good except documentation. docs are too short. you dont
even say @see another func (eg elm_scroller_current_page_get() should see
elm_scroller_last_page_get() and elm_scroller_page_show() and
elm_scroller_page_bring_in().  you don't give examples of how to use these in
"real life usage" in the docs. need more docs (examples etc.)

> 
>Thank you for your reply.
> 
>I added 4 APIs for the page function of the scroller.
> 
>Those are,
> 
>EAPI void elm_scroller_current_page_get(Evas_Object *obj, int
> *h_pagenumber, int *v_pagenumber));
> 
>(Get scroll current page number.)
> 
>EAPI void elm_scroller_last_page_get(Evas_Object *obj, int *h_pagenumber,
>int *v_pagenumber);
> 
>(Get scroll last page number.)
> 
>EAPI void elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int
>v_pagenumber);
> 
>(Show a specific virtual region within the scroller content object by page
>number without animation.)
> 
>EAPI void elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber,
> int v_pagenumber);
> 
>(Show a specific virtual region within the scroller content object by page
>number with animation.)
> 
> 
>I tested them and it works well.
> 
>Please check the attached patch file.
> 
>Thanks.
> 
> 
>--- Original Message ---
> 
>Sender : Carsten Haitzler
> 
>Date : 2011-07-29 15:34 (GMT+09:00)
> 
>Title : Re: [E-devel] new APIs about page
> 
> 
>On Mon, 25 Jul 2011 06:22:09 + (GMT) Jaehwan Kim
>said:
>> Dear all,
>>
>> I want to add new APIs for the page of the scroller.
>> The APIs are,
>> elm_scroller_current_page_get(Evas_Object, int *page_x, int *page_y)
>> elm_scroller_page_show(Evas_Object, int page_x, int page_y)
>> elm_scroller_page_bring_in(Evas_Object, int page_x, int page_y)
>hmmm so is this meant to divide the scorllable child into pages like the
>paginated scrolling does and now address content by page instead of full
>location? i assume that is what you mean by page? if so - then i have no
>problem with these being added.
>> elm_scroller_current_page_get
>> -> It can get the current page number not pixel.
>> elm_scroller_page_show
>> -> It can show the page (page_x, page_y). page_x,y are the page number
>also.
>> elm_scroller_page_bring_in
>> -> It works same elm_scroller_page_show except the scroll animation.
>>
>> These APIs are useful for page function.
>> I want to take your opinion.
>>
>> Thanks.
>>
>
> 
>--
>> Storage Efficiency Calculator
>> This modeling tool is based on patent-pending intellectual property that
>> has been used successfully in hundreds of IBM storage optimization
>> engage- ments, worldwide.  Store less, Store more with what you own,
>> Move data to the right place. Try It Now!
>http://www.accelacomm.com/jaw/sfnl/114/51427378/
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>--
>- Codito, ergo sum - "I code, therefore I am" --
>The Rasterman (Carsten Haitzler)ras...@rasterman.com
> 
> 
> 
> 
>[SeenTimeChecker?
> do=2d837800d65a5f1a5cee734130f68d28f0ddd28fa09d80a7b9d2a415
> 8a55a362ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
> b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com

scroller.patch
Description: Binary data
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] new APIs about page

2011-08-09 Thread Gustavo Sverzut Barbieri
On Mon, Aug 8, 2011 at 4:19 AM, Carsten Haitzler  wrote:
> On Wed, 03 Aug 2011 06:15:13 + (GMT) 김재환  said:
>
> your patch seems good except documentation. docs are too short. you dont
> even say @see another func (eg elm_scroller_current_page_get() should see
> elm_scroller_last_page_get() and elm_scroller_page_show() and
> elm_scroller_page_bring_in().  you don't give examples of how to use these in
> "real life usage" in the docs. need more docs (examples etc.)

also not sure about the last_page_get(), it's similar to _count() in
list, so why not provide a _count() that is shorter and more used?

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] new APIs about page

2011-08-08 Thread The Rasterman
On Wed, 03 Aug 2011 06:15:13 + (GMT) 김재환  said:

your patch seems good except documentation. docs are too short. you dont
even say @see another func (eg elm_scroller_current_page_get() should see
elm_scroller_last_page_get() and elm_scroller_page_show() and
elm_scroller_page_bring_in().  you don't give examples of how to use these in
"real life usage" in the docs. need more docs (examples etc.)

> 
>Thank you for your reply.
> 
>I added 4 APIs for the page function of the scroller.
> 
>Those are,
> 
>EAPI void elm_scroller_current_page_get(Evas_Object *obj, int
> *h_pagenumber, int *v_pagenumber));
> 
>(Get scroll current page number.)
> 
>EAPI void elm_scroller_last_page_get(Evas_Object *obj, int *h_pagenumber,
>int *v_pagenumber);
> 
>(Get scroll last page number.)
> 
>EAPI void elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int
>v_pagenumber);
> 
>(Show a specific virtual region within the scroller content object by page
>number without animation.)
> 
>EAPI void elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber,
> int v_pagenumber);
> 
>(Show a specific virtual region within the scroller content object by page
>number with animation.)
> 
> 
>I tested them and it works well.
> 
>Please check the attached patch file.
> 
>Thanks.
> 
> 
>--- Original Message ---
> 
>Sender : Carsten Haitzler
> 
>Date : 2011-07-29 15:34 (GMT+09:00)
> 
>Title : Re: [E-devel] new APIs about page
> 
> 
>On Mon, 25 Jul 2011 06:22:09 + (GMT) Jaehwan Kim
>said:
>> Dear all,
>>
>> I want to add new APIs for the page of the scroller.
>> The APIs are,
>> elm_scroller_current_page_get(Evas_Object, int *page_x, int *page_y)
>> elm_scroller_page_show(Evas_Object, int page_x, int page_y)
>> elm_scroller_page_bring_in(Evas_Object, int page_x, int page_y)
>hmmm so is this meant to divide the scorllable child into pages like the
>paginated scrolling does and now address content by page instead of full
>location? i assume that is what you mean by page? if so - then i have no
>problem with these being added.
>> elm_scroller_current_page_get
>> -> It can get the current page number not pixel.
>> elm_scroller_page_show
>> -> It can show the page (page_x, page_y). page_x,y are the page number
>also.
>> elm_scroller_page_bring_in
>> -> It works same elm_scroller_page_show except the scroll animation.
>>
>> These APIs are useful for page function.
>> I want to take your opinion.
>>
>> Thanks.
>>
>
> 
>--
>> Storage Efficiency Calculator
>> This modeling tool is based on patent-pending intellectual property that
>> has been used successfully in hundreds of IBM storage optimization
>> engage- ments, worldwide.  Store less, Store more with what you own,
>> Move data to the right place. Try It Now!
>http://www.accelacomm.com/jaw/sfnl/114/51427378/
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>--
>- Codito, ergo sum - "I code, therefore I am" --
>The Rasterman (Carsten Haitzler)ras...@rasterman.com
> 
> 
> 
> 
>[SeenTimeChecker?
> do=2d837800d65a5f1a5cee734130f68d28f0ddd28fa09d80a7b9d2a415
> 8a55a362ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
> b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel