From 2f3a9a0503b267dfa6933b4380e9873eb04bf33a Mon Sep 17 00:00:00 2001 From: Dmitri Don Date: Sun, 17 Mar 2013 02:21:59 -0700 Subject: [PATCH] added retina mode (CAAT.RETINA_DISPLAY_ENABLED=true;) --- documentation/demos/demo1/path_org.html | 3 ++- documentation/demos/demo10/garden_org.html | 3 ++- documentation/demos/demo11/circles_org.html | 3 ++- documentation/demos/demo12+1/transitions_org.html | 3 ++- documentation/demos/demo12/box2d_org.html | 4 +++- documentation/demos/demo14/timers_org.html | 4 +++- documentation/demos/demo16/mask_org.html | 4 ++-- documentation/demos/demo19/collision.html | 3 ++- documentation/demos/demo2/fishpond_org.html | 5 +++-- documentation/demos/demo20/flightcontrol.html | 4 ++-- documentation/demos/demo21/vvv.html | 3 ++- documentation/demos/demo24/path.html | 5 ++--- documentation/demos/demo25/flipcards.html | 3 ++- documentation/demos/demo26/hierarchy2.html | 3 ++- documentation/demos/demo28/paint.html | 3 ++- documentation/demos/demo29/layout2.html | 5 +++-- documentation/demos/demo3/sprites_org.html | 3 ++- documentation/demos/demo30/fonts.html | 4 +++- documentation/demos/demo32/svgpath.html | 3 ++- documentation/demos/demo4/coordinates_org.html | 3 ++- documentation/demos/demo5/text-on-path_org.html | 3 ++- documentation/demos/demo6/accelerometer_org.html | 3 ++- documentation/demos/demo7/anchors_org.html | 3 ++- documentation/demos/demo8/hierarchy_org.html | 3 ++- documentation/demos/demo9/behaviors_org.html | 3 ++- 25 files changed, 55 insertions(+), 31 deletions(-) diff --git a/documentation/demos/demo1/path_org.html b/documentation/demos/demo1/path_org.html index 97255487..1aa73893 100644 --- a/documentation/demos/demo1/path_org.html +++ b/documentation/demos/demo1/path_org.html @@ -91,6 +91,7 @@

Path management

* THE SOFTWARE. * */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -392,4 +393,4 @@

Path management

- \ No newline at end of file + diff --git a/documentation/demos/demo10/garden_org.html b/documentation/demos/demo10/garden_org.html index 349b83dd..c366129b 100644 --- a/documentation/demos/demo10/garden_org.html +++ b/documentation/demos/demo10/garden_org.html @@ -76,6 +76,7 @@

Grass at breeze procedural Actors

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -140,4 +141,4 @@

Grass at breeze procedural Actors

- \ No newline at end of file + diff --git a/documentation/demos/demo11/circles_org.html b/documentation/demos/demo11/circles_org.html index 29a955c9..d553c0f5 100644 --- a/documentation/demos/demo11/circles_org.html +++ b/documentation/demos/demo11/circles_org.html @@ -81,6 +81,7 @@

Packed Circle Collision Detection

* THE SOFTWARE. * */ +CAAT.RETINA_DISPLAY_ENABLED=true; (function () { /** * Startup it all up when the document is ready. @@ -181,4 +182,4 @@

Packed Circle Collision Detection

- \ No newline at end of file + diff --git a/documentation/demos/demo12+1/transitions_org.html b/documentation/demos/demo12+1/transitions_org.html index d0ec4af4..455f0678 100644 --- a/documentation/demos/demo12+1/transitions_org.html +++ b/documentation/demos/demo12+1/transitions_org.html @@ -77,6 +77,7 @@

Scene Transitions

*/ CAAT.DEBUG=1; + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -244,4 +245,4 @@

Scene Transitions

- \ No newline at end of file + diff --git a/documentation/demos/demo12/box2d_org.html b/documentation/demos/demo12/box2d_org.html index 5e456cab..86b6b28f 100644 --- a/documentation/demos/demo12/box2d_org.html +++ b/documentation/demos/demo12/box2d_org.html @@ -83,6 +83,8 @@

CAAT & Box2D

* THE SOFTWARE. * */ + + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load', load, false); @@ -436,4 +438,4 @@

CAAT & Box2D

- \ No newline at end of file + diff --git a/documentation/demos/demo14/timers_org.html b/documentation/demos/demo14/timers_org.html index 4716a669..ad9e9ec0 100644 --- a/documentation/demos/demo14/timers_org.html +++ b/documentation/demos/demo14/timers_org.html @@ -76,6 +76,8 @@

Scene Timers

* THE SOFTWARE. * */ + + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -264,4 +266,4 @@

Scene Timers

- \ No newline at end of file + diff --git a/documentation/demos/demo16/mask_org.html b/documentation/demos/demo16/mask_org.html index 6ec74c21..4320cfc0 100644 --- a/documentation/demos/demo16/mask_org.html +++ b/documentation/demos/demo16/mask_org.html @@ -83,7 +83,7 @@

Masking with arbitrary paths

* */ - + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -310,4 +310,4 @@

Masking with arbitrary paths

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo19/collision.html b/documentation/demos/demo19/collision.html index b21349ad..caece5f2 100644 --- a/documentation/demos/demo19/collision.html +++ b/documentation/demos/demo19/collision.html @@ -90,6 +90,7 @@

Quadtree based collision detection

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { CAAT.DEBUG=1; @@ -440,4 +441,4 @@

Quadtree based collision detection

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo2/fishpond_org.html b/documentation/demos/demo2/fishpond_org.html index 5c6decb4..89414657 100644 --- a/documentation/demos/demo2/fishpond_org.html +++ b/documentation/demos/demo2/fishpond_org.html @@ -76,7 +76,8 @@

Procedural Fish Pond

* THE SOFTWARE. * */ -CAAT.DEBUG=1; + CAAT.RETINA_DISPLAY_ENABLED=true; + CAAT.DEBUG=1; (function() { /** * Startup it all up when the document is ready. @@ -206,4 +207,4 @@

Procedural Fish Pond

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo20/flightcontrol.html b/documentation/demos/demo20/flightcontrol.html index 92974900..737ca26a 100644 --- a/documentation/demos/demo20/flightcontrol.html +++ b/documentation/demos/demo20/flightcontrol.html @@ -82,7 +82,7 @@

Path flattening and traversal

* */ - + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { CAAT.DEBUG=1; window.addEventListener('load',load,false); @@ -138,4 +138,4 @@

Path flattening and traversal

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo21/vvv.html b/documentation/demos/demo21/vvv.html index 850f0ad1..8da24ee5 100644 --- a/documentation/demos/demo21/vvv.html +++ b/documentation/demos/demo21/vvv.html @@ -68,6 +68,7 @@ return 0; }; + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { CAAT.TileMapViewport= function() { @@ -1312,4 +1313,4 @@ } })(); - \ No newline at end of file + diff --git a/documentation/demos/demo24/path.html b/documentation/demos/demo24/path.html index cda96873..c6b1b617 100644 --- a/documentation/demos/demo24/path.html +++ b/documentation/demos/demo24/path.html @@ -83,8 +83,7 @@

Path Segments

* */ - - + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load', load, false); @@ -223,4 +222,4 @@

Path Segments

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo25/flipcards.html b/documentation/demos/demo25/flipcards.html index ea26846f..2965bc2e 100644 --- a/documentation/demos/demo25/flipcards.html +++ b/documentation/demos/demo25/flipcards.html @@ -84,6 +84,7 @@

Flip Card example.

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load', load, false); @@ -243,4 +244,4 @@

Flip Card example.

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo26/hierarchy2.html b/documentation/demos/demo26/hierarchy2.html index 8cbd526a..3147eed4 100644 --- a/documentation/demos/demo26/hierarchy2.html +++ b/documentation/demos/demo26/hierarchy2.html @@ -82,6 +82,7 @@

Hierarchy II

* */ +CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -276,4 +277,4 @@

Hierarchy II

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo28/paint.html b/documentation/demos/demo28/paint.html index a53b9bec..98858ebe 100644 --- a/documentation/demos/demo28/paint.html +++ b/documentation/demos/demo28/paint.html @@ -73,6 +73,7 @@

Minimal Paint program

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -171,4 +172,4 @@

Minimal Paint program

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo29/layout2.html b/documentation/demos/demo29/layout2.html index f4d9b843..e188a445 100644 --- a/documentation/demos/demo29/layout2.html +++ b/documentation/demos/demo29/layout2.html @@ -160,7 +160,8 @@

Automatic layout capabilities

* THE SOFTWARE. * */ -CAAT.DEBUG=1; + CAAT.DEBUG=1; + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { @@ -386,4 +387,4 @@

Automatic layout capabilities

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo3/sprites_org.html b/documentation/demos/demo3/sprites_org.html index 827feab9..cf999cff 100644 --- a/documentation/demos/demo3/sprites_org.html +++ b/documentation/demos/demo3/sprites_org.html @@ -87,6 +87,7 @@

Sprites on Path

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -233,4 +234,4 @@

Sprites on Path

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo30/fonts.html b/documentation/demos/demo30/fonts.html index b6f972ff..c4e37076 100644 --- a/documentation/demos/demo30/fonts.html +++ b/documentation/demos/demo30/fonts.html @@ -76,6 +76,8 @@

CAAT.Foundation.UI.TextActor vs ctx.drawString

* THE SOFTWARE. * */ + + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -294,4 +296,4 @@

CAAT.Foundation.UI.TextActor vs ctx.drawString

- \ No newline at end of file + diff --git a/documentation/demos/demo32/svgpath.html b/documentation/demos/demo32/svgpath.html index 5df64213..f226bf0c 100644 --- a/documentation/demos/demo32/svgpath.html +++ b/documentation/demos/demo32/svgpath.html @@ -81,6 +81,7 @@

Path Segments

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { function __start() { @@ -116,4 +117,4 @@

Path Segments

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo4/coordinates_org.html b/documentation/demos/demo4/coordinates_org.html index cd99a599..cee85164 100644 --- a/documentation/demos/demo4/coordinates_org.html +++ b/documentation/demos/demo4/coordinates_org.html @@ -96,6 +96,7 @@

Homogeneous coordinates

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load',load,false); @@ -391,4 +392,4 @@

Homogeneous coordinates

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo5/text-on-path_org.html b/documentation/demos/demo5/text-on-path_org.html index 0eeb83c1..dbd8bfe7 100644 --- a/documentation/demos/demo5/text-on-path_org.html +++ b/documentation/demos/demo5/text-on-path_org.html @@ -86,6 +86,7 @@

Text on Path

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load',load,false); @@ -253,4 +254,4 @@

Text on Path

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo6/accelerometer_org.html b/documentation/demos/demo6/accelerometer_org.html index 7fb8bf0e..c2ce0374 100644 --- a/documentation/demos/demo6/accelerometer_org.html +++ b/documentation/demos/demo6/accelerometer_org.html @@ -83,6 +83,7 @@

Accelerometer

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { var CW= 800; @@ -324,4 +325,4 @@

Accelerometer

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo7/anchors_org.html b/documentation/demos/demo7/anchors_org.html index 35367864..c4cb4233 100644 --- a/documentation/demos/demo7/anchors_org.html +++ b/documentation/demos/demo7/anchors_org.html @@ -84,6 +84,7 @@

Affine transformation anchors

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { window.addEventListener('load',load,false); @@ -365,4 +366,4 @@

Affine transformation anchors

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo8/hierarchy_org.html b/documentation/demos/demo8/hierarchy_org.html index ca879525..8b5c4ea8 100644 --- a/documentation/demos/demo8/hierarchy_org.html +++ b/documentation/demos/demo8/hierarchy_org.html @@ -84,6 +84,7 @@

Hierarchical affine transforms

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -305,4 +306,4 @@

Hierarchical affine transforms

})(); - \ No newline at end of file + diff --git a/documentation/demos/demo9/behaviors_org.html b/documentation/demos/demo9/behaviors_org.html index af7e2f7c..01925671 100644 --- a/documentation/demos/demo9/behaviors_org.html +++ b/documentation/demos/demo9/behaviors_org.html @@ -83,6 +83,7 @@

Interactivity. Setting behaviors.

* */ + CAAT.RETINA_DISPLAY_ENABLED=true; (function() { /** * Startup it all up when the document is ready. @@ -271,4 +272,4 @@

Interactivity. Setting behaviors.

})(); - \ No newline at end of file +