Commit Graph

45 Commits

Author SHA1 Message Date
baldurk 592faa84cd Only hide tooltip on close if it's currently visible 2016-11-18 16:31:10 +01:00
baldurk 54bc2c67ca Hide the tooltip when clicking or scrolling 2016-11-14 11:32:51 +01:00
baldurk 73899fc307 Don't show tooltips if the mouse cursor is outside the control 2016-11-14 11:31:36 +01:00
baldurk 0c73240f8f Hide tooltips when TreeListView is destroyed so they don't linger 2016-11-14 11:19:26 +01:00
baldurk b0c2224a97 Get the right row to display tooltips on 2016-11-14 11:19:15 +01:00
baldurk f7e939cda9 Sort node selection from treelistview before iterating on copy-paste. 2016-11-13 13:50:40 +01:00
baldurk 50eaf793f1 By default hide help when specifying a custom buffer format 2016-11-02 23:39:35 +01:00
baldurk 6b5a2d4b66 Fix OwnerView not propagating to child nodes. Thanks @RCalocaO! 2016-10-29 21:25:55 +02:00
baldurk 23da9ac149 Add a pop-up tooltip over event names that are truncated 2016-10-28 21:21:05 +02:00
baldurk ea5bcfd1f5 Detect "infinite" ranges (even if the endpoints are finite) in tex range 2016-09-09 20:53:20 +02:00
baldurk 52cf19e3b3 Fix possible crashes if remote hosts are deleted during processing 2016-08-26 16:04:07 +02:00
baldurk ebea48260d Mark blocking invokes for painting as lower priority
* This allows them to be enqueued without the usual synchronous block
  if there's something long-running on the queue while in remote mode.
2016-08-19 17:26:24 +02:00
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 0ecb7c8a6f Fix guidance for row major matrices (row_major not rowmajor) 2016-07-25 18:27:19 +02:00
baldurk bd079b7632 Add null check in TreeListView - fixes crash hitting pagedown if empty 2016-07-22 14:21:29 +02:00
baldurk 4268d8f58f Remove structure size and redundant 32-bit length field from FetchBuffer 2016-07-10 18:10:02 +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 b7472e4397 [Coverity] Prevent possible edge-case divide by zero error 2016-05-15 18:11:46 +02:00
baldurk 74d8f66359 [Coverity] Call base class in NoScrollPanel.OnMouseWheel 2016-05-15 17:44:22 +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 81ff983fa2 Fix a long-standing silly bug. Vertical and Horizontal were reversed 2016-02-28 11:52:07 +01:00
baldurk 2e0ffa7813 Batch update copyright years everywhere 2016-02-07 18:50:45 +01:00
baldurk 8a6d2ebf30 Handle arrays of uniform buffers in descriptor slots 2016-02-07 18:46:35 +01:00
baldurk 963986b9e9 Do swapchain resizing properly and re-enable thumbnails (working now?!) 2016-02-07 18:43:36 +01:00
baldurk 33fd37282b Clear resource previews to black while thumbnails are still disabled 2016-02-07 18:42:10 +01:00
baldurk 4a3894a187 Add escape to cancel range min/max change, commit change on focus loss 2015-07-15 21:37:54 +02:00
baldurk 8e37133d69 Add event bookmarks to the event browser 2015-07-07 23:32:48 +02:00
baldurk 5232ee7626 Don't allow direct writes to RangeMax/RangeMin that can break things
* The old code in m_RangeMax/m_RangeMin setters wasn't doing proper
  epsilon enforcing so min=max could end up happening. It's easier to
  set both at once (this is all we care about anyway) so that it does
  properly make the min and max distinguishable.
2015-07-07 18:30:14 +02:00
baldurk d882cab511 Inherit OwnerView into TreeListView Node's children 2015-07-07 18:03:46 +02:00
baldurk 95f4011bcb Add option to favour monospaced font for all data. Refs #118
* The option will enable monospaced fonts for all data displays, like
  the list of events, API calls, etc as well as pipeline displays, entry
  of filename/directory in the capture window and many other places.
  Pure UI labelling etc mostly still stays as a serif font.
* A few sizes of controls were tweaked (like headers in the pipeline
  windows) so that they didn't just barely overflow with the larger
  font.
* While looking at this, it became obvious that buffer viewers and
  constant bufferviewers should always display in monospaced regardless,
  so that has been changed.
2015-04-09 21:49:03 +01: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 72cfee5c0f Add GLSL syntax highlighting 2015-02-09 18:14:20 +00:00
baldurk 3b2d45131b Allow renaming of a stage in the pipeline flowchart control 2015-01-18 12:05:01 +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 8ca8ac4ab3 Fix range becoming 0 if both min and max were negative 2014-11-02 19:05:42 +00:00
baldurk 09f8dc93dc Better handling of NaN/inf in range histogram
* This is the proper fix for 87bcde1c which is also more explicit about
  what is going wrong. Thanks to the anonymous user who mentioned that they
  clicked auto-fit before hitting the range histogram crash, which got me
  on the right path to track down the exception!
2014-10-30 22:55:42 +00:00
baldurk 87bcde1c4c Speculative fix for System.OverflowException
* Crash report came in with System.OverflowException inside FillPolygon,
  but I don't see a way for these values to get too large (or invalid
  some other way).
2014-10-13 20:07:09 +01:00
baldurk e749f42876 [Refs #87: Static Analysis] string compare as uppercase or by length 2014-10-05 19:01:25 +01:00
baldurk 6af5130d00 Make better use of space when help is toggled off 2014-09-28 14:10:28 +01:00
baldurk bda68c8ba6 CBuffer window is a dialog now, with ability to set custom layout 2014-09-13 18:48:39 +01:00
Baldur Karlsson b26b816d81 Implement FillCBufferVariables for buffer-backed UBOs 2014-07-29 14:07:56 +01: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