mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-09 23:35:40 +00:00
Add helper function for appending text to a textedit
This commit is contained in:
@@ -177,6 +177,10 @@ struct MiniQtInvoker : UIThreadInvoker<IMiniQtHelper>
|
||||
{
|
||||
InvokeVoidFunction(&IMiniQtHelper::SetWidgetText, widget, text);
|
||||
}
|
||||
void AppendText(QWidget *widget, const rdcstr &text)
|
||||
{
|
||||
InvokeVoidFunction(&IMiniQtHelper::AppendText, widget, text);
|
||||
}
|
||||
rdcstr GetWidgetText(QWidget *widget)
|
||||
{
|
||||
return InvokeRetFunction<rdcstr>(&IMiniQtHelper::GetWidgetText, widget);
|
||||
|
||||
Reference in New Issue
Block a user