//comment
#define RECT_COLOR 0 136 170 255
part { name: "rect";
type: RECT;
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: RECT_COLOR;
}
}
program { name: "mouse_down";
signal: "mouse,down,1";
source: "rect";
action: STATE_SET "default" 0.0;
target: "rect";
}
script {
public flag = 0;
public func() {
if (!get_int(flag)) set_int(flag, 1);
}
}