internal static TopLevel Initialize <T>(T builder, string fbdev = null) where T : AppBuilderBase <T>, new() { var platform = new LinuxFramebufferPlatform(fbdev); builder.UseSkia().UseWindowingSubsystem(platform.Initialize, "fbdev") .SetupWithoutStarting(); var tl = new EmbeddableControlRoot(TopLevel = new FramebufferToplevelImpl(platform._fb)); tl.Prepare(); return(tl); }
public Mice(FramebufferToplevelImpl topLevel, double width, double height) { _topLevel = topLevel; _width = width; _height = height; }