X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fwidget.cpp;h=246c8c196ced2222237a9f10af93a71fcb114160;hb=0eff24ae4db82ac5cadf7e59405e206284c1504c;hp=aa05675b97c1c989c499916247173785593dad5c;hpb=a87517d7595e71ddcbd8df1d2f637e0f9db0467f;p=libs%2Fgltk.git diff --git a/source/widget.cpp b/source/widget.cpp index aa05675..246c8c1 100644 --- a/source/widget.cpp +++ b/source/widget.cpp @@ -188,12 +188,26 @@ void Widget::set_state(State mask, State bits) rebuild(); } +void Widget::set_animation_interval(const Time::TimeDelta &iv) +{ + if(ivget_parts(); for(Style::PartSeq::const_iterator i=parts.begin(); i!=parts.end(); ++i) { @@ -202,7 +216,6 @@ void Widget::rebuild() else rebuild_special(*i); } - part_cache.end_rebuild(); } void Widget::rebuild_special(const Part &part)