% % cutter object def % % stack: objname flat-jpg layer-name x y w h button-index % -1 !Cton.Index !Cton.H !Cton.W !Cton.Y !Cton.X !Cton.Layer "*" !Cton.Image &"*" !Cton.Object % % add the object to the object lookup % _Cton.Objer _Cton.Object { % % add the object dimension summary % "Cton.X" sval "Cton.Y" sval "Cton.W" sval "Cton.H" sval "Cton.Image" sval "Cton.Layer" sval "Cton.Index" sval %%% dup logs !Cton.Objer } if % % clear the state lookup for this object % %%% empty "Cton.obj#" &_Cton.Object ! % % reset state detector for this object % %%% false !Cton.Ready