Add context menu for manipulating watch panel

This commit is contained in:
baldurk
2018-06-22 17:58:56 +01:00
parent fc3e527181
commit ec2806df06
8 changed files with 239 additions and 82 deletions
+6
View File
@@ -557,6 +557,12 @@ struct IShaderViewer
)");
virtual void ShowErrors(const rdcstr &errors) = 0;
DOCUMENT(R"(Add an expression to the watch panel.
:param str expression: The name of the expression to watch.
)");
virtual void AddWatch(const rdcstr &expression) = 0;
protected:
IShaderViewer() = default;
~IShaderViewer() = default;