template: Move programs block of Watchface2 correctly.

This commit is contained in:
Jaehyun Cho 2016-11-22 14:08:12 +09:00
parent 0a74589393
commit c1be183c93
1 changed files with 53 additions and 53 deletions

View File

@ -140,59 +140,59 @@ collections {
map.rotation.z: 360; map.rotation.z: 360;
} }
} }
programs { }
program { "load"; programs {
signal: "load"; program { "load";
source: ""; signal: "load";
action: STATE_SET "rotated"; source: "";
target: "bg"; action: STATE_SET "rotated";
transition: LINEAR 30; target: "bg";
after: "reset"; transition: LINEAR 30;
} after: "reset";
program { "reset"; }
action: STATE_SET "default"; program { "reset";
target: "bg"; action: STATE_SET "default";
after: "load"; target: "bg";
} after: "load";
program { "hour_begin"; }
signal: "load"; program { "hour_begin";
source: ""; signal: "load";
action: STATE_SET "rotated"; source: "";
target: "hour"; action: STATE_SET "rotated";
transition: LINEAR 216000; target: "hour";
after: "hour_reset"; transition: LINEAR 216000;
} after: "hour_reset";
program { "hour_reset"; }
action: STATE_SET "default"; program { "hour_reset";
target: "hour"; action: STATE_SET "default";
after: "hour_begin"; target: "hour";
} after: "hour_begin";
program { "minute_begin"; }
signal: "load"; program { "minute_begin";
source: ""; signal: "load";
action: STATE_SET "rotated"; source: "";
target: "minute"; action: STATE_SET "rotated";
transition: LINEAR 3600; target: "minute";
after: "minute_begin"; transition: LINEAR 3600;
} after: "minute_begin";
program { "minute_reset"; }
action: STATE_SET "default"; program { "minute_reset";
target: "minute"; action: STATE_SET "default";
after: "minute_begin"; target: "minute";
} after: "minute_begin";
program { "second_begin"; }
signal: "load"; program { "second_begin";
source: ""; signal: "load";
action: STATE_SET "rotated"; source: "";
target: "second"; action: STATE_SET "rotated";
transition: LINEAR 60; target: "second";
after: "second_reset"; transition: LINEAR 60;
} after: "second_reset";
program { "second_reset"; }
action: STATE_SET "default"; program { "second_reset";
target: "second"; action: STATE_SET "default";
after: "second_begin"; target: "second";
} after: "second_begin";
} }
} }
} }