How can you still forget the usual stuff WHEN ADDING API :!!!!!!!!!!!! fuck, add @since and changelog and NEWS.
On Tue, Jul 10, 2012 at 11:40 PM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > [elm] Bug fixing on scroller. > > We had an inconsistency of two missing getters, that would "leak" API > deprecation on specialized scrollers (scrollables). Putting them in > for good now. > > > > Author: glima > Date: 2012-07-10 14:40:30 -0700 (Tue, 10 Jul 2012) > New Revision: 73540 > Trac: http://trac.enlightenment.org/e/changeset/73540 > > Modified: > trunk/elementary/src/lib/elm_scroller.c > trunk/elementary/src/lib/elm_scroller.h > > Modified: trunk/elementary/src/lib/elm_scroller.c > =================================================================== > --- trunk/elementary/src/lib/elm_scroller.c 2012-07-10 21:18:18 UTC (rev > 73539) > +++ trunk/elementary/src/lib/elm_scroller.c 2012-07-10 21:40:30 UTC (rev > 73540) > @@ -862,6 +862,17 @@ > } > > EAPI void > +elm_scroller_page_relative_get(const Evas_Object *obj, > + double *h_pagerel, > + double *v_pagerel) > +{ > + ELM_SCROLLER_CHECK(obj); > + ELM_SCROLLER_DATA_GET(obj, sd); > + > + sd->s_iface->paging_get(obj, h_pagerel, v_pagerel, NULL, NULL); > +} > + > +EAPI void > elm_scroller_page_size_set(Evas_Object *obj, > Evas_Coord h_pagesize, > Evas_Coord v_pagesize) > @@ -877,6 +888,17 @@ > } > > EAPI void > +elm_scroller_page_size_get(const Evas_Object *obj, > + Evas_Coord *h_pagesize, > + Evas_Coord *v_pagesize) > +{ > + ELM_SCROLLER_CHECK(obj); > + ELM_SCROLLER_DATA_GET(obj, sd); > + > + sd->s_iface->paging_get(obj, NULL, NULL, h_pagesize, v_pagesize); > +} > + > +EAPI void > elm_scroller_current_page_get(const Evas_Object *obj, > int *h_pagenumber, > int *v_pagenumber) > > Modified: trunk/elementary/src/lib/elm_scroller.h > =================================================================== > --- trunk/elementary/src/lib/elm_scroller.h 2012-07-10 21:18:18 UTC (rev > 73539) > +++ trunk/elementary/src/lib/elm_scroller.h 2012-07-10 21:40:30 UTC (rev > 73540) > @@ -236,6 +236,22 @@ > EAPI void elm_scroller_page_relative_set(Evas_Object > *obj, double h_pagerel, double v_pagerel); > > /** > + * Get a given scroller widget's scrolling page size, relative to > + * its viewport size. > + * > + * @param obj The scroller object > + * @param h_pagerel Pointer to a variable where to store the > + * horizontal page (relative) size > + * @param v_pagerel Pointer to a variable where to store the > + * vertical page (relative) size > + * > + * @see elm_scroller_page_relative_set() for more details > + * > + * @ingroup Scroller > + */ > +EAPI void elm_scroller_page_relative_get(const > Evas_Object *obj, double *h_pagerel, double *v_pagerel); > + > +/** > * @brief Set scroll page size. > * > * @param obj The scroller object > @@ -246,12 +262,27 @@ > * for that axis. > * > * @see elm_scroller_page_relative_set() > + * @see elm_scroller_page_size_get() > * > * @ingroup Scroller > */ > EAPI void elm_scroller_page_size_set(Evas_Object > *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize); > > /** > + * @brief Retrieve a scroller widget's current page size. > + * > + * @param obj The scroller object > + * @param h_pagesize Where to store its horizontal page size > + * @param v_pagesize Where to store its vertical page size > + * > + * @see elm_scroller_page_size_set() for more details > + * @see elm_scroller_page_relative_set() > + * > + * @ingroup Scroller > + */ > +EAPI void elm_scroller_page_size_get(const > Evas_Object *obj, Evas_Coord *h_pagesize, Evas_Coord *v_pagesize); > + > +/** > * @brief Get scroll current page number. > * > * @param obj The scroller object > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel