Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
@@ -8,6 +8,19 @@
|
||||
|
||||
#include "overlay/window.h"
|
||||
|
||||
//=================================================================================================
|
||||
// Global variable to track the coords of Subscreen.
|
||||
// Values are in original coord-space (not scaled to Windowed mode size).
|
||||
//
|
||||
// For use with touch coords transformation.
|
||||
//=================================================================================================
|
||||
|
||||
extern int GENERIC_SUB_WINDOW_X;
|
||||
extern int GENERIC_SUB_WINDOW_Y;
|
||||
extern int GENERIC_SUB_WINDOW_WIDTH;
|
||||
extern int GENERIC_SUB_WINDOW_HEIGHT;
|
||||
extern bool GENERIC_SUB_WINDOW_FULLSIZE;
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
class GenericSubScreen : public Window {
|
||||
@@ -20,6 +33,7 @@ namespace overlay::windows {
|
||||
virtual void touch_transform(const ImVec2 xy_in, LONG *x_out, LONG *y_out);
|
||||
ImVec2 overlay_content_top_left;
|
||||
ImVec2 overlay_content_size;
|
||||
std::optional<std::string> disabled_message = std::nullopt;
|
||||
|
||||
private:
|
||||
static void keep_16_by_9(ImGuiSizeCallbackData* data) {
|
||||
|
||||
Reference in New Issue
Block a user