~hitmuri/vjpirate/trunk

« back to all changes in this revision

Viewing changes to src/ui/GrilleScroll.cpp

  • Committer: Florent Berthaut
  • Date: 2014-07-26 18:53:16 UTC
  • mfrom: (5.1.12 mac)
  • Revision ID: flo@localhost.localdomain-20140726185316-c2ucnwmgm5kij4e2
Merged mac branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        m_sliderPos=float((w()-2*SCROLL_SEP)-m_sliderSize)*(float(gri)/float(children()));
53
53
        m_sliderPos=(m_sliderPos<0)?0:m_sliderPos;
54
54
        redraw();
 
55
        for(unsigned int i=0;i<children();++i) {
 
56
        child(i)->redraw();
 
57
    }
55
58
}
56
59
 
57
60
void GrilleScroll::add(Fl_Widget* widget)