Update of /cvsroot/libufo/ufo-0.5/include/ufo/widgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22786/include/ufo/widgets
Modified Files:
uwidget.hpp
Log Message:
Changed removeImpl(iterator) to removeImpl(int index). Made testState, setState(s), getState public.
Index: uwidget.hpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/include/ufo/widgets/uwidget.hpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** uwidget.hpp 30 Sep 2005 12:37:00 -0000 1.30
--- uwidget.hpp 17 Oct 2005 16:39:22 -0000 1.31
***************
*** 875,879 ****
*/
virtual void addImpl(UWidget * w, UObject * constraints, int index);
! virtual bool removeImpl(std::vector<UWidget*>::iterator iter);
/** Notifies recursively all childs that they have been added to
--- 875,882 ----
*/
virtual void addImpl(UWidget * w, UObject * constraints, int index);
! /** Removes the widget at the given index.
! * @return True if succesfull
! */
! virtual bool removeImpl(int index);
/** Notifies recursively all childs that they have been added to
***************
*** 960,964 ****
void detachStyleHints();
! protected: // Protected methods
bool testState(uint32_t state) const;
void setState(uint32_t state, bool b = true);
--- 963,967 ----
void detachStyleHints();
! public: // Protected methods
bool testState(uint32_t state) const;
void setState(uint32_t state, bool b = true);
|