Esempio n. 1
0
 public Rectangle this [UISkinOrientation o]
 {
     get
     {
         return(Box[(int)o]);
     }
 }
Esempio n. 2
0
        public Vector2 Measure(UIElementType type, UISkinOrientation orientation)
        {
            if (!Types.ContainsKey(type))
            {
                return(new Vector2(0, 0));
            }
            UISkinElement e = Types[type];

            return(new Vector2(e[orientation].Width, e[orientation].Height));
        }
Esempio n. 3
0
 public void Set(UISkinOrientation o, Rectangle r)
 {
     Box[(int)o] = r;
 }
Esempio n. 4
0
 public Rectangle this[UISkinOrientation o]
 {
     get
     {
         return Box[(int)o];
     }
 }
Esempio n. 5
0
 public Vector2 Measure(UIElementType type, UISkinOrientation orientation)
 {
     if (!Types.ContainsKey(type))
         return new Vector2(0, 0);
     UISkinElement e = Types[type];
     return new Vector2(e[orientation].Width, e[orientation].Height);
 }
Esempio n. 6
0
 public void Set(UISkinOrientation o, Rectangle r)
 {
     Box[(int)o] = r;
 }