Ejemplo n.º 1
0
        public QMemoryDetector(QConsole console)
        {
            this.x = 60;
            this.y = 60;
            this.w = 200;
            this.h = 20;

            this.allocMemoryRect          = new Rect(x, y, w, h);
            this.reservedMemoryRect       = new Rect(x, y + h, w, h);
            this.unusedReservedMemoryRect = new Rect(x, y + 2 * h, w, h);
            this.monoHeapRect             = new Rect(x, y + 3 * h, w, h);
            this.monoUsedRect             = new Rect(x, y + 4 * h, w, h);

            console.onGUICallback += OnGUI;
        }
Ejemplo n.º 2
0
 public QFPSCounter(QConsole console)
 {
     console.onUpdateCallback += Update;
     console.onGUICallback    += OnGUI;
 }