예제 #1
0
 /// <summary>
 /// Creates an instance of the graphical context with
 /// the modes defined in the hashtable 'settings'
 /// </summary>
 /// <param name="settings">
 /// List of modes, which describes the graphical context</param>
 public GraphicContext(System.Collections.Hashtable settings)
 {
     _GCSettings          = settings;
     LastGCSettings       = new System.Collections.Hashtable(10, 0.2f);
     NotifyGraphicContext = new GraphicContextDelegate(DummyS);
 }
예제 #2
0
 /// <summary>
 /// Creates a graphical context with no initial graphical modes
 /// </summary>
 public GraphicContext()
 {
     this._GCSettings          = new System.Collections.Hashtable(10, 0.2f);
     this.LastGCSettings       = new System.Collections.Hashtable(10, 0.2f);
     this.NotifyGraphicContext = new GraphicContextDelegate(DummyS);
 }