Hey there.
Ive got a Question regarding the WINDOW_MANAGER.
Is it possible to
not show things like texts/textures outside the regular borders?
Example:
Code:
MyFrame = WINDOW_MANAGER:CreateTopLevelWindow("Frame")
MyFrame:SetDrawLayer(1)
MyFrame:SetAnchor(TOPRIGHT,GuiRoot,TOPRIGHT,0,0)
MyFrame:SetDimensions(100,100)
MyFrame:SetShapeType(1)
MyFrameBG = WINDOW_MANAGER:CreateControlFromVirtual("MyFrameBG",Frame,"ZO_DefaultBackdrop")
MyText = WINDOW_MANAGER:CreateControl("MyText",Frame,CT_LABEL)
MyText:SetText("This text should only display 'This te'")
MyText:SetFont("ZoFontTooltipTitle")
MyText:SetAnchor(TOPLEFT,Frame,TOPLEFT,50,50)
This would be really helpful to create some kind of masks for things