コード例 #1
0
ファイル: FontsFactory.cs プロジェクト: drme/thw-ui
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
コード例 #2
0
 /// <summary>
 /// Registers font creator. User can provide his own fonts creator if built in is not sufficiet.
 /// </summary>
 /// <param name="fontCreator"></param>
 public void RegisterFontCreator(IFontCreator fontCreator)
 {
     if (null != fontCreator)
     {
         this.fontCreators.Add(fontCreator);
         this.fontsNames = null;
     }
 }
コード例 #3
0
ファイル: FontsFactory.cs プロジェクト: drme/thw-ui
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }
コード例 #4
0
        /// <summary>
        /// Unregisters font creator.
        /// </summary>
        /// <param name="fontCreator"></param>
        public void UnRegisterFontCreator(IFontCreator fontCreator)
        {
            this.fontCreators.Remove(fontCreator);

            this.fontsNames = null;
        }