Beispiel #1
0
        protected FlatGuiVisualizer(FlatGuiGraphics graphics)
        {
            this.employer   = new ControlRendererEmployer();
            this.pluginHost = new PluginHost(this.employer);

            // Employ our own assembly in order to obtain the default GUI renderers
            this.pluginHost.Repository.AddAssembly(Self);

            this.flatGuiGraphics = graphics;
            this.controlStack    = new Stack <ControlWithBounds>();
        }
Beispiel #2
0
 /// <summary>Initializes a new scissor manager</summary>
 /// <param name="flatGuiGraphics">
 ///   GUI graphics interface the scissor rectangle will be managed for
 /// </param>
 public ScissorKeeper(FlatGuiGraphics flatGuiGraphics)
 {
     this.flatGuiGraphics = flatGuiGraphics;
 }
 /// <summary>Initializes a new scissor manager</summary>
 /// <param name="flatGuiGraphics">
 ///   GUI graphics interface the scissor rectangle will be managed for
 /// </param>
 public ScissorKeeper(FlatGuiGraphics flatGuiGraphics) {
   this.flatGuiGraphics = flatGuiGraphics;
 }