Exemple #1
0
        /// <summary>
        /// Creates an unloaded instance of TableController.
        /// </summary>
        /// <param name="renderer">A pair renderer to render the rows in this table.</param>
        /// <remarks>
        /// Use <see cref="LoadBilingualAssets"/> to create a usable instance.
        /// </remarks>
        protected TableController(PairRenderer renderer, IAssetBundle bundle)
        {
            DelegateCommandHelper.GetHelp(this);

            Renderer = renderer;
            Bundle   = bundle;

            // The following are the default settings whose values are different from default(T).
            // BTW, the default settings should be user configurable. FIXME.
            TagShowing   = TagShowing.Disp;
            ShowSpecials = true;

            UpdateFilter();
        }
Exemple #2
0
 public MainController()
 {
     DelegateCommandHelper.GetHelp(this);
     Scheduler = TaskScheduler.FromCurrentSynchronizationContext();
 }