Enlightenment CVS committal Author : andreas Project : e17 Module : proto
Dir : e17/proto/eflpp/src/edje Modified Files: eflpp_edje.cpp eflpp_edje.h Log Message: little API change for get/set consistence and examples update =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/edje/eflpp_edje.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- eflpp_edje.cpp 3 Jul 2007 22:42:36 -0000 1.1 +++ eflpp_edje.cpp 6 Aug 2007 09:00:48 -0000 1.2 @@ -53,13 +53,21 @@ return ( errorcode == 0 ); } -Size EvasEdje::minimalSize() const +Size EvasEdje::getMinimalSize() const { int w, h; edje_object_size_min_get( o, &w, &h ); Dout( dc::notice, "size min get seems to be " << w << " x " << h ); return Size( w, h ); } + +Size EvasEdje::getMaximumSize() const +{ + int w, h; + edje_object_size_max_get( o, &w, &h ); + Dout( dc::notice, "size max get seems to be " << w << " x " << h ); + return Size( w, h ); +} EvasEdje::~EvasEdje() { =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/edje/eflpp_edje.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- eflpp_edje.h 3 Jul 2007 22:42:36 -0000 1.1 +++ eflpp_edje.h 6 Aug 2007 09:00:48 -0000 1.2 @@ -173,7 +173,8 @@ void setMinimumSize( const Size& size ); void setMaximumSize( const Size& size ); - Size minimalSize() const; + Size getMinimalSize() const; + Size getMaximumSize() const; void recalculateLayout(); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs