Commit Graph

13 Commits

Author SHA1 Message Date
baldurk 610b22f600 Fix a lot of high-contrast inconsistencies or brokenness. Refs #315
* In a couple of places I had to resort to if(IsHighContrast) but mostly
  this is just using system brushes consistently or not assuming black
  text.
* The default DockPanel theme doesn't work well, so make a minimal high-
  contrast theme for it and assign it everywhere.
* The pipeline flow was using fixed colours, use system brushes for the
  different elements and switch based on high-contrast to ensure active
  and inactive stages are visible (using ActiveCaption looks bad on
  normal themes because it's a big block of colour).
* For some reason the flat toolstrip renderer doesn't handle white-on-
  black themes, but the system one does. It's a little clunkier but it
  shows up correctly without writing tons of custom painting code.
* Range histogram uses a properly contrasting colour for the border.
* Treelist views use a better system colour for selected rows when
  inactive and hovered rows (when high contrast).
* Mesh view grids have a system background instead of white
* Various things (pipeline state, mesh viewe) set text colour when
  colourising backgrounds of things instead of assuming black.
2016-08-05 12:46:56 +02:00
baldurk bd079b7632 Add null check in TreeListView - fixes crash hitting pagedown if empty 2016-07-22 14:21:29 +02:00
baldurk 68ba7313c3 Force TreeListView scrollbars to create handles on startup. Closes #202
* I honestly don't know why this fixes it really. I finally got a
  reliable repro which involved somehow scrollbars becoming visible and
  creating their window handles in a weird circumstance while dragging
  the window off fullscreen, and that causing the window handle create
  to fail.
2016-06-17 22:59:42 +02:00
baldurk a85d11643b Add treelistview custom tree lines (colour/width) and text colour 2016-05-27 19:29:49 +02:00
baldurk 17c30078e2 Add expand and collapse all functions to event browser menu. Refs #254 2016-04-21 18:08:18 +02:00
baldurk 8a6d2ebf30 Handle arrays of uniform buffers in descriptor slots 2016-02-07 18:46:35 +01:00
baldurk 8e37133d69 Add event bookmarks to the event browser 2015-07-07 23:32:48 +02:00
baldurk d882cab511 Inherit OwnerView into TreeListView Node's children 2015-07-07 18:03:46 +02:00
baldurk 731a7f3797 Fix crash opening up GS CBuffer window from pipeline state
* Also added an exception that throws at control creation time (much
  easier to spot) if this property is invalid.
2015-03-02 08:38:33 +00:00
baldurk 57a1988755 Try not to scroll resource etc tables in pipeline state
* 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.
2015-01-15 19:02:10 +00:00
baldurk 844f080300 Change priority of node background colours, so select colour works 2014-07-13 18:58:47 +01:00
baldurk 8ef17e41e1 Allow specifying a background colour per-column on a TreeListNode 2014-07-13 18:57:39 +01:00
baldurk c38affcded Initial commit of existing code.
* All renderdoc code up to this point was written by me, history is available by request
2014-05-02 08:33:01 +01:00