Beispiel #1
0
 public void Set(DrawableStates link)
 {
     inner = link;
 }
Beispiel #2
0
 static void BuildControlStates(DrawableStatesProxy proxy, string control, string subtype, params string[] assets)
 {
     DrawableStates states = new DrawableStates();
     foreach (string state in assets) {
         Drawable d = FetchDrawable("controls." + control + "." + subtype + "." + state);
         if (d == null) d = FetchDrawable("controls." + control + ".default." + state);
         if (d == null) d = Drawable.None;
         states[state] = d;
     }
     proxy.Set(states);
 }
Beispiel #3
0
 public DrawableStatesProxy(DrawableStates link)
 {
     inner = link;
 }