Mostly features added to DebugScript
[ipdf/code.git] / src / debugscript.h
index 9895ddc..9e85b51 100644 (file)
@@ -40,6 +40,12 @@ private:
                AT_ClearPerformance,
                AT_PrintPerformance,
                AT_RecordPerformance,
+               AT_DebugFont,
+               AT_ApproachBoundsZeno,
+               AT_ApproachBoundsLinear,
+               AT_SetBounds,
+               AT_QueryGPUBounds, // query bounds of Beziers when transformed to GPU
+               AT_ScreenShot, // take screenshot
                AT_Quit
        };
 
@@ -51,6 +57,7 @@ private:
                Real z;
                int iz;
                int loops;
+               Real w, h;
                std::string textargs;
                Action() : type(AT_WaitFrame), x(0), y(0), ix(0), iy(0), z(0), loops(0), textargs("") {}
        };
@@ -66,7 +73,7 @@ private:
        {
                clock_t clock;
                unsigned object_count;
-               Rect view_bounds;
+               VRect view_bounds;
        };
        
        PerformanceData m_perf_start;
@@ -75,7 +82,7 @@ private:
        void PrintPerformance(View * view, Screen * scr);
        void ClearPerformance(View * view, Screen * scr);
        
-       void ParseAction();
+       void ParseAction(View * view, Screen * scr);
 };
 
 }

UCC git Repository :: git.ucc.asn.au