Inheritance: IDisposable
        public RTSUIHoverPanel(RectButton b, BaseWidget p)
        {
            TargetButton = b;
            PanelWidget = p;

            TargetButton.OnMouseEntry += TargetButton_OnMouseEntry;
            TargetButton.OnMouseExit += TargetButton_OnMouseExit;
            shouldShow = false;
        }
Beispiel #2
0
 protected virtual void OnSelfCompute(BaseWidget w)
 {
     drawText.TextHeight = Height;
     drawText.location = new Vector2(X, Y);
     drawText.layerDepth = layer;
 }
Beispiel #3
0
 private void OnSelfCompute(BaseWidget w)
 {
     drawRect.location = widgetRect;
     drawRect.layerDepth = layer;
 }
Beispiel #4
0
 protected virtual void OnParentRecompute(BaseWidget w)
 {
     Recompute();
 }