On Wed, 03 Aug 2011 06:15:13 +0000 (GMT) 김재환 <jae.hwan....@samsung.com> 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<ras...@rasterman.com>
> 
>    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 +0000 (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&reg; 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

Reply via email to