_right_crop->wrapped()->SetRange (0, 1024);
_bottom_crop->wrapped()->SetRange (0, 1024);
_right_crop->wrapped()->SetRange (0, 1024);
_bottom_crop->wrapped()->SetRange (0, 1024);
- for (vector<VideoContentScale>::iterator i = scales.begin(); i != scales.end(); ++i) {
- _scale->wrapped()->Append (std_to_wx (i->name ()));
+ BOOST_FOREACH (VideoContentScale const & i, VideoContentScale::all ()) {
+ _scale->wrapped()->Append (std_to_wx (i.name ()));
- for (VideoContentList::const_iterator i = vc.begin (); i != vc.end(); ++i) {
- check.insert ((*i)->fade_in ());
+ BOOST_FOREACH (shared_ptr<const VideoContent> i, vc) {
+ check.insert (i->fade_in ());
- for (VideoContentList::const_iterator i = vc.begin (); i != vc.end(); ++i) {
- check.insert ((*i)->fade_out ());
+ BOOST_FOREACH (shared_ptr<const VideoContent> i, vc) {
+ check.insert (i->fade_out ());