private void LoadPressableImageStyleFromSource(JObject source, PressableImageStyle result) { LoadImageStyleFromSource(source, result); string name; if (source.GetStyle(PressedImageName, out name)) { result.PressedImage = GetTextureRegion2D(name); } }
private void LoadPressableImageStyleFromSource(Dictionary <string, object> source, PressableImageStyle result) { LoadImageStyleFromSource(source, result); string name; if (source.GetStyle(PressedImageName, out name)) { result.PressedImage = GetDrawable(name); } }
public PressableImageStyle(PressableImageStyle style) : base(style) { PressedImage = style.PressedImage; }