public static LTRect texture(LTRect rect, Texture texture, int depth) { rect.type = LTGUI.Element_Type.Texture; rect.texture = texture; return(LTGUI.element(rect, depth)); }
public static LTRect label(LTRect rect, string label, int depth) { rect.type = LTGUI.Element_Type.Label; rect.labelStr = label; return(LTGUI.element(rect, depth)); }