+void Entry::check_cursor_blink()
+{
+ cursor_blink = (state&FOCUS);
+ if((state&FOCUS) && style)
+ {
+ const Part *cursor_part = style->get_part("cursor");
+ if(cursor_part && cursor_part->get_graphic(ACTIVE|FOCUS)!=cursor_part->get_graphic(NORMAL|FOCUS))
+ {
+ set_animation_interval(Time::sec/2);
+ return;
+ }
+ }
+
+ stop_animation();
+}
+