~ubuntu-branches/ubuntu/oneiric/bombono-dvd/oneiric

« back to all changes in this revision

Viewing changes to src/mgui/project/menu-actions.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101104114625-2tfaxma74eqggp5r
Tags: 0.8.0-0ubuntu1
* New upstream release (LP: #670193).
* Refresh 02_sparc.diff patch.
* Replace 05-boost_filesystem-link.patch with 05-fix_boost.patch, it fixes
  build failure with Boost <= 1.44.
* Bump Standards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
 
194
194
void EraseLinkedMenus(MenuPack& mp)
195
195
{
196
 
    using namespace boost;
197
196
    CanvasBuf& cb = mp.thRgn.GetCanvasBuf();
198
 
    ForeachLinked(mp.Owner(), lambda::bind(&UpdateMenuRegionObject, 
199
 
                                           boost::lambda::_1, boost::cref(cb.Size()), 
200
 
                                           boost::ref(cb.RenderList())));
 
197
    ForeachLinked(mp.Owner(), bb::bind(&UpdateMenuRegionObject, 
 
198
                                       _1, boost::cref(cb.Size()), 
 
199
                                       boost::ref(cb.RenderList())));
201
200
}
202
201
 
203
202
void RegionEraserVis::ProcessImpl(bool exceed)
220
219
 
221
220
void RegionEraserVis::Process()
222
221
{
223
 
    using namespace boost;
224
222
    static int RecurseDepth = 0;
225
 
    LimitedRecursiveCall<void>( lambda::bind(&RegionEraserVis::ProcessImpl, this, lambda::_1), RecurseDepth );
 
223
    LimitedRecursiveCall<void>( bb::bind(&RegionEraserVis::ProcessImpl, this, _1), RecurseDepth );
226
224
}
227
225
 
228
226
void MenuRegionEraserVis::CalcSubRegions(RectListRgn& lst)
279
277
 
280
278
static void UpdateMenusFor(MediaItem mi, bool del_link)
281
279
{
282
 
    ForeachLinked(mi, bl::bind(&UpdateMenuObject, bl::_1, del_link, false));
283
 
    ForeachWithPoster(mi, bl::bind(&UpdateFTO, bl::_1, del_link));
 
280
    ForeachLinked(mi, bb::bind(&UpdateMenuObject, _1, del_link, false));
 
281
    ForeachWithPoster(mi, bb::bind(&UpdateFTO, _1, del_link));
284
282
}
285
283
 
286
284
static void UpdateRedrawMenusFor(MediaItem mi, bool del_link, RefPtr<MenuStore> mn_store)