Exemplo n.º 1
0
 /// <summary>
 /// The constructor with stylesheet, window mode, window size and window position.
 /// </summary>
 public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode, Size2D windowSize, Position2D windowPosition)
 {
     _stylesheet     = stylesheet;
     _windowMode     = windowMode;
     _windowSize     = windowSize;
     _windowPosition = windowPosition;
 }
Exemplo n.º 2
0
 /// <summary>
 /// The constructor with stylesheet, window mode, window size and window position.
 /// </summary>
 public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode, Size2D windowSize, Position2D windowPosition)
 {
     this.stylesheet = stylesheet;
     this.windowMode = windowMode;
     if (windowSize != null && windowPosition != null)
     {
         this.windowRectangle = new Rectangle(windowPosition.X, windowPosition.Y, windowSize.Width, windowSize.Height);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// The constructor with stylesheet and window mode.
 /// </summary>
 public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode)
 {
     this.stylesheet = stylesheet;
     this.windowMode = windowMode;
 }
Exemplo n.º 4
0
 public NUICoreBackend(string stylesheet, NUIApplication.WindowMode windowMode, WindowType type)
 {
     this.stylesheet        = stylesheet;
     this.windowMode        = windowMode;
     this.defaultWindowType = type;
 }
Exemplo n.º 5
0
 public Example(string stylesheet, NUIApplication.WindowMode windowMode) : base(stylesheet, windowMode)
 {
 }