Introducing change of source rectangle values for layer properties.
authorMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 9 Aug 2011 06:41:05 +0000 (08:41 +0200)
committerMichael Schuldt <michael.schuldt@bmw-carit.de>
Tue, 9 Aug 2011 06:41:05 +0000 (08:41 +0200)
LayerManagerExamples/LayerManagerToolBox/src/LayerManagerToolBox.cpp

index 36a9b0f..6f7998b 100644 (file)
@@ -131,9 +131,10 @@ t_state_params state_params[] =
             {true, "sid:","par = surface id in hex",   ARGUMENT_SURFACEID}
         }
     },
-    {   TOOLBOX_CHANGE_LAYER, 4,
+    {   TOOLBOX_CHANGE_LAYER, 5,
         {
             {true, "lid:","par = layer id in hex",     ARGUMENT_LAYERID},
+            {true,"src:","par = src rec in x,y,w,h",      ARGUMENT_SOURCE},
             {true,"dest:","par = dest rec in x,y,w,h",     ARGUMENT_DEST},
             {true,"o:","par = opacity 0.0 ... 1.0",        ARGUMENT_OPACITY},
             {true,"v:","par = visibility 0 / 1",        ARGUMENT_VISIBILITY}