コード例 #1
0
ファイル: AppSettings.cs プロジェクト: dreamsxin/engine-1
        /// <summary>
        /// Constructs a new Cor.AppSettings object.  The Cor.AppSettings object is intented to be instantiated by the
        /// user and provided along with their IApp object to a platform's Cor.ICor implementation in order to
        /// trigger the entry point into a Cor App Framework program.
        /// </summary>
        public AppSettings(String appName)
        {
            this.appName = appName;
            this.logManagerSettings = new LogManagerSettings (this.appName);

            // Default configuration
            this.MouseGeneratesTouches = true;
            this.FullScreen = true;
        }
コード例 #2
0
ファイル: InternalUtils.cs プロジェクト: gitter-badger/blimey
 static InternalUtils()
 {
     var settings = new LogManagerSettings ("INTERNAL");
     log = new LogManager (settings);
 }
コード例 #3
0
ファイル: LogManager.cs プロジェクト: gitter-badger/blimey
 internal LogManager(LogManagerSettings settings)
 {
     this.settings = settings;
 }