Author: Not specified Language: lua
Description: Not specified Timestamp: 2013-05-28 08:33:48 +0000
View raw paste Reply
  1. collections {
  2.    group { name: "test";
  3.       parts {
  4.          part { name: "proxy"; type: PROXY;
  5.             description { state: "default";
  6.                source: "rect";
  7.             }
  8.          }
  9.          part { name: "rect"; type: RECT;
  10.             description { state: "default";
  11.                color: 255 0 0 255;
  12.             }
  13.             description { state: "hidden";
  14.                visible: 0;
  15.             }
  16.          }
  17.       }
  18.       programs {
  19.          program {
  20.             filter: "rect" "default";
  21.             signal: "mouse,down,*"; source: "*";
  22.             action: STATE_SET "hidden" 0.0;
  23.             target: "rect";
  24.          }
  25.          program {
  26.             filter: "rect" "hidden";
  27.             signal: "mouse,down,*"; source: "*";
  28.             action: STATE_SET "default" 0.0;
  29.             target: "rect";
  30.          }
  31.       }
  32.    }
  33. }
  34.  
View raw paste Reply