Commit Graph
791 Commits
Author SHA1 Message Date
baldurk a4e4c1fd5d Don't underline shortcuts by default - we'll handle alt-press later 2017-07-28 19:06:44 +01:00
baldurk 4545ed5bb5 Add custom rendering for spinboxes 2017-07-28 19:06:44 +01:00
baldurk 5ceffa1d1d Custom tooltip panels 2017-07-28 19:06:44 +01:00
baldurk 048e2c0102 RDStyle is based on QCommonStyle
* This gives us a consistent baseline to start from and ensures that any
  things we don't customise and leave to defaults will still be the same
  wherever we are running.
2017-07-28 19:06:44 +01:00
baldurk 430cdad282 Fix mnemonics showing up in text drawing 2017-07-28 19:06:44 +01:00
baldurk ad79e2a240 Add custom rendering for combo boxes - also covers frames, lines, items 2017-07-28 19:06:43 +01:00
baldurk 9454ef48df Draw custom scrollbars 2017-07-28 19:06:43 +01:00
baldurk e7fd2e24db Draw checkbox/radio labels ourselves 2017-07-28 19:06:43 +01:00
baldurk 9d67e0f2d9 Add custom drawing for group boxes 2017-07-28 19:06:43 +01:00
baldurk 1cda979d8f Clear QPixmapCache if style/palette changes (Qt should do this really) 2017-07-28 19:06:43 +01:00
baldurk cd15947f47 Do our own sizing of the controls we're painting 2017-07-28 19:06:43 +01:00
baldurk 2699ca46e5 Tweak highlight borders 2017-07-28 19:06:42 +01:00
baldurk 1e1cefb1bb Extract out common code for pushbuttons, to re-use for textbox borders. 2017-07-28 19:06:42 +01:00
baldurk 573d94adf0 Add custom drawn radio and check boxes 2017-07-28 19:06:42 +01:00
baldurk bbda9de011 Tweak disabled colours for palettes 2017-07-28 19:06:42 +01:00
baldurk 03cf4d2ce3 Customise button rendering in RDStyle 2017-07-28 19:06:42 +01:00
baldurk c601414e39 Add light and dark palettes to RDStyle 2017-07-28 19:06:42 +01:00
baldurk 26711eca2e Use MainWindow palette for tooltips 2017-07-28 19:06:41 +01:00
baldurk 247382af51 Fix a few widgets to properly respond to and use style changes 2017-07-28 19:06:41 +01:00
baldurk 3ea74aa73b Treeview expanders shouldn't be Dark, they should be Text 2017-07-28 19:06:41 +01:00
baldurk 9a782158fd Fork RDStyle to RDTweakedNativeStyle
* The idea is tha this style won't change the palette and will just do
  some minimal additions/changes to whatever the native style is, to
  work around some rough spots.
2017-07-28 19:06:41 +01:00
baldurk 6cedd3755b Add custom rendering of tab close buttons 2017-07-28 19:06:41 +01:00
baldurk 2dc577a02c Update toolwindowmanager to d520d7a 2017-07-28 19:06:41 +01:00
baldurk 3a4327b664 Tweak RangeHistogram painting to better adjust to palettes 2017-07-28 19:06:40 +01:00
baldurk 60ba617f38 Add custom branches/indicators for tree controls 2017-07-28 19:06:40 +01:00
baldurk b6a73a4bb0 Draw custom coloured tree widget lines over the top of built-in style 2017-07-28 19:06:40 +01:00
baldurk 83c413129e Add the beginnings of a unified cross-OS style
* First thing changed, auto-raise toolbuttons don't sink when enabled,
  but remain flat and highlighted.
2017-07-28 19:06:40 +01:00
baldurk 7f6dc8d91c Initialise unread message count to 0 2017-07-28 19:06:40 +01:00
baldurk 58d40fdc26 Don't show 0.0 as the default drawcall duration 2017-07-28 19:06:39 +01:00
baldurk 806876c540 Add a menu item to do nothing but replay the capture in a tight loop. 2017-07-27 16:14:17 +01:00
baldurk 8476be2300 Fix mac build, split PlistBuddy use to separate script, suppress errors
* There's no "add or replace" so we have to just delete and ignore if
  it fails, then add/set as normal.
2017-07-25 22:06:30 +01:00
baldurk a53801f019 Make sure dependent options in capture dialog always update 2017-07-25 09:24:33 +01:00
baldurk 07aa7e5cbc Add timeline bar to VS filters 2017-07-25 09:23:26 +01:00
baldurk fbeb57baf6 Don't change background colour if the QColorDialog was aborted 2017-07-25 09:23:17 +01:00
baldurk 371c1f9f8c Update currently hovered item on scroll events too. 2017-07-25 09:23:09 +01:00
baldurk 8a0432add9 Fix crashes if drawcall list goes away when log is closed 2017-07-25 09:23:04 +01:00
baldurk e005522152 Give better default sizing on startup to VTX/IDX columns 2017-07-25 09:22:51 +01:00
baldurk 599b6f1eaf Add manual fixup of <img> tags in richtext labels, to set to @2x version 2017-07-25 09:22:32 +01:00
baldurk 6612024f43 Fix use of PlistBuddy on subsequent recompilations of qrenderdoc on OS X
* There's an error if you add a property that's already there, so we
  instead delete it each time before adding it.
2017-07-25 09:21:14 +01:00
Cody NorthropandBaldur Karlsson d66afc0144 android: Add ability to check RenderDoc support, try to fix it
After selecting an application to launch on Android, inspect it to see if
it contains the RenderDoc layer and required permissions. If it does not,
display a warning similar to desktop. When clicked, if only the layer was
missing, offer to patch the APK, uninstall, and reinstall, with the
warning that it doesn't work for all applications (or at all for GLES).
Also provides pointers to how to package the layer yourself.

The process works by using the host temp directory to pull the APK and
modify it.  If the steps fail for any reason, the log is populated and
patching is halted.
2017-07-21 10:29:46 -07:00
baldurk 2f6dffffc5 Expose camera class properly, drop Camera_* entry points from Qt UI 2017-07-17 16:34:12 +01:00
baldurk 515c933545 Rename Maths_* and Topology_* to make RENDERDOC_ a consistent prefix
* This will make it easier for a linker script on linux
2017-07-17 15:14:15 +01:00
baldurk a11a00a7b5 Make sure Qt objects are deleted on the Qt main thread 2017-07-17 12:36:20 +01:00
baldurk 41092e869f Allow clicking 'next draw' from the frame start marker at EID 0 2017-07-17 12:36:04 +01:00
baldurk 8adde662fd Save target of clear calls that don't clear currently bound targets
* This prevents the UI from showing confusing results when the currently
  bound state doesn't match what's being cleared.
2017-07-17 11:33:50 +01:00
baldurk 1676f2698e Disable previous/next buttons when there's no previous/next drawcall 2017-07-17 11:30:31 +01:00
baldurk 76cfcd5601 Highlight resources/history from other parts of the UI in timeline bar 2017-07-14 19:57:14 +01:00
baldurk 9ea8ed229d Add usage/history highlighting 2017-07-14 19:56:56 +01:00
baldurk 0ecf9ee8fb Add marker regions and drawcalls to the display 2017-07-14 18:44:19 +01:00
baldurk acae04af02 Expose getLuminance for QColor 2017-07-14 17:17:54 +01:00