17 _DrawInteractionZone(false)
21 SLATE_ARGUMENT(
float, StartOpacity)
22 SLATE_ARGUMENT(
bool, DrawInteractionZone)
23 SLATE_ARGUMENT(FIntPoint, ScreenSize)
24 SLATE_ARGUMENT(
float, DPIScale)
29 void Construct(const FArguments& InArgs);
32 virtual FVector2D ComputeDesiredSize(
float LayoutScaleMultiplier) const override;
33 virtual int32 OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle,
bool bParentEnabled) const override;
37 virtual
void PaintButton(const
FVirtualControl& VirtualControl, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle) const;
38 virtual
void PaintJoystick(const
FVirtualControl& VirtualControl, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle) const;
39 virtual
void PaintTouchRegion(const
FVirtualControl& VirtualControl, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle) const;
41 void DrawLayer(const
FVisualLayer& InLayer, const FVector2D InSize, const FVector2D InBrushSize, const FVector2D InOffset, const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle) const;
45 void SetScreenSize(const FIntPoint InScreenSize);
46 void SetOpacity(const
float InOpacity);
47 void SetDpiScale(const
float InDPIScale) { DPIScale = InDPIScale; }
51 float GetScaleFactor(
const FGeometry& AllottedGeometry)
const;
61 uint8 bDrawInteractionZone:1;