mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 00:16:45 +00:00
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:
committed by
Baldur Karlsson
parent
c132142723
commit
369d93b99c
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -3143,6 +3143,7 @@ enum class TargetControlMessageType : uint32_t
|
||||
RegisterAPI,
|
||||
NewChild,
|
||||
CaptureProgress,
|
||||
CapturableWindowCount
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_ENUM(TargetControlMessageType);
|
||||
|
||||
Reference in New Issue
Block a user