File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
sources/net.sf.j2s.java.core Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ public interface J2SInterface {
1313
1414 HTML5Applet findApplet (String htmlName );
1515
16+ boolean debugClip ();
17+
1618 /**
1719 *
1820 * @param isAll true for check of navigator; otherwise just J2S._lang from j2sLang=xx_XX in URI
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ var $ = jQuery;
4040
4141J2S || ( J2S = {
4242 _version : VERSION ,
43+ _debugClip : false ,
4344 _debugCode : false ,
4445 _debugCore : false ,
4546 _debugPaint : false ,
@@ -90,6 +91,7 @@ var getFlag = function(flag) {
9091if ( getFlag ( "j2s" ) ) {
9192 // note: these flag checks are purposely loose. "?j2smouse" will set j2smouse and j2smousemove.
9293 J2S . _appArgs = getURIField ( "j2sargs" , null ) ; // to be passed on to application
94+ J2S . _debugClip = getFlag ( "j2sdebugclip" ) ; // shows all show/restore and clip operations in JSGraphics2D
9395 J2S . _debugCode = getFlag ( "j2sdebugcode" ) ; // same as j2snocore?
9496 J2S . _debugCore = getFlag ( "j2sdebugcore" ) ; // same as j2snozcore?
9597 J2S . _debugPaint = getFlag ( "j2sdebugpaint" ) ; // repaint manager information
@@ -2343,6 +2345,8 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
23432345 __nextExecution ( ) ;
23442346 } ;
23452347
2348+ J2S . debugClip = function ( ) { return J2S . _debugClip } ;
2349+
23462350 var __loadClass = function ( applet , javaClass ) {
23472351 Clazz . _Loader . loadClass ( javaClass , function ( ) {
23482352 __nextExecution ( )
You can’t perform that action at this time.
0 commit comments