示例#1
0
文件: Driver.cs 项目: pzaps/CrossGFX
        public void Initialize(string resourceDirectory, IClipboard clipboard)
        {
            System = new System(clipboard);
            ResourceManager = new ResourceManager();
            MusicPlayer = new MusicPlayer();

            DriverLoader.AddEnvironmentPaths(new string[] { global::System.IO.Path.GetFullPath(resourceDirectory + "/drivers/x86/sdl") });
        }
示例#2
0
文件: Font.cs 项目: pzaps/CrossGFX
        public Font(ResourceManager resourceManager, string filePath)
        {
            this.resourceManager = resourceManager;

            this.filePath = filePath;
        }