• cutealien's avatar
    Fix another 2 bugs in CGUITreeView: · 55508ee4
    cutealien authored
    - Irrlicht elements can't just set ID's otherwise user-elements stop working.
      So anyone who had gui-elements not working with ID 0 or 1 - you probably had a guitree somewhere.
      Those ID's were not even used...
    - Make the horizontal scrollbar (mostly) work. Selection still messed up, but was that way before and least h-scrolling works now somewhat (did nothing before).
    There are more bugs in this gui-element - like that it doesn't draw the last line regularly. 
    But I have no more time, nor motiviation for this now (not the first time finding pretty obvious bugs in the treeview. 
    I wish that d*mn thing would never had been checked in. Or the original author would at least have tested it or cared about maintaince!).
    
    
    git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4758 dfc29bdd-3216-0410-991c-e03cc46cb475
    55508ee4
CGUITreeView.cpp 25.5 KB