Cycle active window with button

A new button is added to the UI so that we can cycle the currently active window when there are more windows to capture.  It's like pressing the F11 button but it works on Android too.
This commit is contained in:
tabi.katalin
2018-10-10 10:19:43 +01:00
committed by Baldur Karlsson
parent c132142723
commit 369d93b99c
9 changed files with 112 additions and 30 deletions
+3
View File
@@ -542,6 +542,9 @@ When valid, will be in the range of 0.0 to 1.0 (0 - 100%). If not valid when a c
or has finished, it will be -1.0
)");
float capProgress = -1.0f;
DOCUMENT("The number of the capturable windows");
uint32_t capturableWindowCount = 0;
};
DECLARE_REFLECTION_STRUCT(TargetControlMessage);
+3
View File
@@ -1342,6 +1342,9 @@ The details of the types of messages that can be received are listed under
)");
virtual TargetControlMessage ReceiveMessage(RENDERDOC_ProgressCallback progress) = 0;
DOCUMENT("Cycle the currently active window if there are more windows to capture.");
virtual void CycleActiveWindow() = 0;
protected:
ITargetControl() = default;
~ITargetControl() = default;
+1
View File
@@ -3143,6 +3143,7 @@ enum class TargetControlMessageType : uint32_t
RegisterAPI,
NewChild,
CaptureProgress,
CapturableWindowCount
};
DECLARE_REFLECTION_ENUM(TargetControlMessageType);