public void Set(DrawableStates link) { inner = link; }
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); }
public DrawableStatesProxy(DrawableStates link) { inner = link; }