mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
57a1988755
* When jumping between draws the tables are rebuilt which destroys any vertical scrolling, so we save/restore it which means the same row will be at the top of the view. If there are fewer resources it'll just be as scrolled down as possible.
This control is almost entirely taken from http://www.codeproject.com/Articles/23746/TreeView-with-Columns by jkristia. Minor changes have been made to clean up, rename or reorganise - as well as a few fixes to the non-visual styles rendering path and some additional changes for my use of the control (like having the tree controls in a column other than the first, which mostly 'Just Worked' (tm) ). So all credit goes to the above author!