public AGSFontFactory(IResourceLoader resources, IDevice device, IDefaultFonts defaultFonts) { _device = device; _resources = resources; _defaultFonts = defaultFonts; _installedFonts = new ConcurrentDictionary <string, string>(); }
public AGSDialogSettings(IDevice device, IDefaultFonts defaultFonts) { _device = device; _defaultFonts = defaultFonts; Idle = getTextConfig(autoFit: AutoFit.TextShouldWrapAndLabelShouldFitHeight, brush: device.BrushLoader.LoadSolidBrush(Colors.White), font: new defaultFont(defaultFonts)); Hovered = getTextConfig(autoFit: AutoFit.TextShouldWrapAndLabelShouldFitHeight, brush: device.BrushLoader.LoadSolidBrush(Colors.Yellow), font: new defaultFont(defaultFonts)); Chosen = getTextConfig(autoFit: AutoFit.TextShouldWrapAndLabelShouldFitHeight, brush: device.BrushLoader.LoadSolidBrush(Colors.Gray), font: new defaultFont(defaultFonts)); }
public AGSDefaultsSettings(IDefaultFonts fonts, IDialogSettings dialog) { Fonts = fonts; Dialog = dialog; }
public defaultFont(IDefaultFonts defaults) { _defaults = defaults; }