コード例 #1
0
 public void Dispose()
 {
     TaskbarController.Dispose();
     WallpaperRenderer.Dispose();
     BrowserManager.Dispose();
     ThreadManager.StopAll();
 }
コード例 #2
0
        public WebWallpaper(ConfigEntry defaultConfig)
        {
            MainThread = System.Threading.Thread.CurrentThread;

            DataStorage = new DataStorage()
            {
                DataDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "web-wallpaper")
            };

            ConfigManager     = new ConfigManager(DataStorage, defaultConfig);
            ThreadManager     = new ThreadManager();
            InputManager      = new InputManager();
            BrowserManager    = new BrowserManager(InputManager);
            WallpaperRenderer = new WallpaperRenderer(this);
            TaskbarController = new TaskbarController(this);

            Running = false;
        }
コード例 #3
0
        public void BrowserInit()
        {
            Logger.Log("Browser thread started");

            BrowserManager.InitBrowser(ConfigManager);
        }
コード例 #4
0
 public BrowserRenderTarget(BrowserManager manager)
 {
     BrowserManager = manager;
 }