X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdebugscript.h;h=9e85b51d9098758f72ce3e686c150f44c79b0f5c;hp=fd1a1959526918b91d6865ed7edbad1e6f1f4111;hb=180d764223a3568f734434a15d56f18e9ddc012b;hpb=e08b7671a4592481aa73d68b30b7bd1d96e75002 diff --git a/src/debugscript.h b/src/debugscript.h index fd1a195..9e85b51 100644 --- a/src/debugscript.h +++ b/src/debugscript.h @@ -41,6 +41,11 @@ private: 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 }; @@ -52,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("") {} }; @@ -76,7 +82,7 @@ private: void PrintPerformance(View * view, Screen * scr); void ClearPerformance(View * view, Screen * scr); - void ParseAction(); + void ParseAction(View * view, Screen * scr); }; }