Reimann demo: add callback_type property of play, pause and quit buttons. 21/17021/3
Adeline CARNIS [Tue, 11 Aug 2015 15:35:28 +0000 (17:35 +0200)]
This proprety is set at 10.
To test: Demo > Graphics > Animation > Reimann

Change-Id: I7d72ece87512452fde96da3162a072f6bd4e5523

scilab/modules/graphics/demos/anim/anim8/anim8.sci

index 8caea99..4c3b8b6 100644 (file)
@@ -69,6 +69,7 @@ function demo_riemann()
     "background"          , [0.9 0.9 0.9], ..
     "Relief"              , "groove", ..
     "callback"            , "quit_riemann", ..
+    "callback_type"       , 10, ..
     "tag"                 , "pushbutton_bac" ..
     );
 
@@ -80,6 +81,7 @@ function demo_riemann()
     "position"            , [ 150 15 100 30 ], ..
     "background"          , [0.9 0.9 0.9], ..
     "Relief"              , "groove", ..
+    "callback_type"       , 10, ..
     "callback"            , "pause_riemann", ..
     "tag"                 , "my_pause_button" ..
     );
@@ -92,6 +94,7 @@ function demo_riemann()
     "position"            , [ 150 15 100 30 ], ..
     "background"          , [0.9 0.9 0.9], ..
     "callback"            , "play_riemann", ..
+    "callback_type"       , 10, ..
     "Relief"              , "groove", ..
     "visible"             , "off", ..
     "tag"                 , "my_play_button" ..