~nux-team/nux/nux.comment-out-failed-test-parts

« back to all changes in this revision

Viewing changes to Nux/HScrollBar.cpp

  • Committer: Tarmac
  • Author(s): Andrea Azzarone
  • Date: 2012-10-25 12:00:47 UTC
  • mfrom: (684.3.17 fix-1050959)
  • Revision ID: tarmac-20121025120047-65z9sq008gbt4ut6
nux::ScrollView cleanup.. Fixes: https://bugs.launchpad.net/bugs/1050959. Approved by Nick Dedekind.

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
                         eHSCROLLBAR, true);
293
293
  };
294
294
 
295
 
  void HScrollBar::SetContainerSize(int /* x */, int /* y */, int w, int h)
 
295
  void HScrollBar::SetContainerSize(int w, int h)
296
296
  {
297
 
    // x and y are not needed
298
297
    container_width_ = w;
299
298
    container_height_ = h;
300
299
    ComputeScrolling();
301
300
  }
302
301
 
303
 
  void HScrollBar::SetContentSize(int /* x */, int /* y */, int w, int h)
 
302
  void HScrollBar::SetContentSize(int w, int h)
304
303
  {
305
 
    // x and y are not needed
306
304
    content_width_ = w;
307
305
    content_height_ = h;
308
306
    ComputeScrolling();