// END HERZUM SPRINT 5.1: TLAB-230 public ComponentResizeControl(ExperimentNode node, ApplicationContext applicationContext) : base(node, applicationContext) { info = this.ExperimentNode.Data as SerializedVertexDataWithSize; double widthMeta = info.Width; double heightMeta = info.Height; PaddingTop = 7.0; PaddingLeft = widthMeta / 2; PaddingRight = widthMeta / 2; PaddingBottom = heightMeta; MoveTo(info.X, info.Y); if (info.WidgetStatus == "" || info.WidgetStatus == null) { stateWidget = "normal"; } else { stateWidget = info.WidgetStatus; } paddingLeftOriginal = 80.0; paddingRightOriginal = 80.0; paddingBottomOriginal = 160.0; xOriginal = rect.X; yOriginal = rect.Y; SetPixButtonHandle(); RedrawButton(); }
public ScopeNodeBase(string id, SerializedVertexDataWithSize data) : base(id, data) { }