collections {
   base_scale: 1;
   group { name: "main";
      /* TODO: Please replace embedded image files to your application image files. */
      images {
         image: "EDC_EDITOR_EMBEDDED_WATCHFACE.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_MOONPHASE_COVER.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_MOONPHASE_MOON.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_MONTH_STROKE.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_NEEDLE_HOUR.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_NEEDLE_MINUTE.png" COMP;
         image: "EDC_EDITOR_EMBEDDED_NEEDLE_SECOND.png" COMP;
      }
      parts {
         part { name: "bg";
            type: IMAGE;
            scale: 1;
            description { state: "default" 0.0;
               /* TODO: Please replace embedded image files to your application image files. */
               image.normal: "EDC_EDITOR_EMBEDDED_WATCHFACE.png";
               min: 300 300;
               rel1.relative: 0.5 0.5;
               rel2.relative: 0.5 0.5;
               fixed: 1 1;
            }
         }
         part { name: "moonphase_moon";
            type: IMAGE;
            scale: 1;
            description { state: "default" 0.0;
               /* TODO: Please replace embedded image files to your application image files. */
               image.normal: "EDC_EDITOR_EMBEDDED_MOONPHASE_MOON.png";
               rel1.to: "moonphase_cover";
               rel2.to: "moonphase_cover";
               fixed: 1 1;
               map.on: 1;
               map.rotation.z: 0;
            }
            description { state: "rotated" 0.0;
               inherit: "default";
               map.rotation.z: 360;
            }
         }
         part { name: "moonphase_cover";
            type: IMAGE;
            scale: 1;
            description { state: "default" 0.0;
               /* TODO: Please replace embedded image files to your application image files. */
               image.normal: "EDC_EDITOR_EMBEDDED_MOONPHASE_COVER.png";
               min: 130 130;
               align: 0.5 1.0;
               rel1.to: "bg";
               rel2.to: "bg";
               rel1.relative: 0.5 1;
               rel2.relative: 0.5 1;
               fixed: 1 1;
            }
         }
         part { name: "month_stroke";
            type: IMAGE;
            scale: 1;
            description { state: "default" 0.0;
               /* TODO: Please replace embedded image files to your application image files. */
               image.normal: "EDC_EDITOR_EMBEDDED_MONTH_STROKE.png";
               rel1.to: "bg";
               rel2.to: "bg";
               rel1.relative: 0.15 0.15;
               rel2.relative: 0.85 0.85;
               map.on: 1;
            }
            description { state: "feb" 0.0;
               inherit: "default";
               map.rotation.z: 20;
            }
            description { state: "mar" 0.0;
               inherit: "default";
               map.rotation.z: 40;
            }
            description { state: "apr" 0.0;
               inherit: "default";
               map.rotation.z: 60;
            }
            description { state: "may" 0.0;
               inherit: "default";
               map.rotation.z: 80;
            }
            description { state: "jun" 0.0;
               inherit: "default";
               map.rotation.z: 100;
            }
            description { state: "jul" 0.0;
               inherit: "default";
               map.rotation.z: 120;
            }
            description { state: "aug" 0.0;
               inherit: "default";
               map.rotation.z: 140;
            }
            description { state: "sep" 0.0;
               inherit: "default";
               map.rotation.z: 160;
            }
            description { state: "oct" 0.0;
               inherit: "default";
               map.rotation.z: 180;
            }
            description { state: "nov" 0.0;
               inherit: "default";
               map.rotation.z: 200;
            }
            description { state: "dec" 0.0;
               inherit: "default";
               map.rotation.z: 220;
            }
         }
         part { name: "date";
            type: TEXT;
               scale: 1;
               description { state: "default" 0.0;
                  color: 0 0 0 255;
                  fixed: 1 1;
                  text {
                     size: 11;
                     font: "Sans";
                     text: "18";
                     align: 0.5 0.5;
                     min: 0 0;
                  }
                  min: 30 30;
                  align: 0.5 1.0;
                  fixed: 1 1;
                  rel1.to: "bg";
                  rel2.to: "bg";
                  rel1.relative: 0.922 0.545;
                  rel2.relative: 0.922 0.545;
               }
            }
            part { name: "hour";
               type: IMAGE;
               scale: 1;
               mouse_events: 0;
               description { state: "default" 0.0;
                  rel1.to: "bg";
                  rel2.to: "bg";
                  rel1.relative: 0.5 0.0;
                  rel2.relative: 0.5 1.0;
                  min: 35 0;
                  fixed: 1 0;
                  /* TODO: Please replace embedded image files to your application image files. */
                  image.normal: "EDC_EDITOR_EMBEDDED_NEEDLE_HOUR.png";
                  map.on: 1;
                  map.rotation.z: 0;
               }
               description { state: "rotated" 0.0;
                  inherit: "default";
                  map.rotation.z: 360;
               }
            }
            part { name: "minute";
               type: IMAGE;
               scale: 1;
               mouse_events: 0;
               description { state: "default" 0.0;
                  rel1.to: "bg";
                  rel2.to: "bg";
                  rel1.relative: 0.5 0.0;
                  rel2.relative: 0.5 1.0;
                  min: 35 0;
                  fixed: 1 0;               
                  /* TODO: Please replace embedded image files to your application image files. */
                  image.normal: "EDC_EDITOR_EMBEDDED_NEEDLE_MINUTE.png";
                  map.on: 1;
                  map.rotation.z: 0;
               }
               description { state: "rotated" 0.0;
                  inherit: "default";
                  map.rotation.z: 360;
               }
            }
            part { name: "second";
               type: IMAGE;
               scale: 1;
               mouse_events: 0;;
               description { state: "default" 0.0;
                  rel1.to: "bg";
                  rel2.to: "bg";
                  rel1.relative: 0.5 0.0;
                  rel2.relative: 0.5 1.0;
                  min: 25 0;
                  fixed: 1 0;                 
                  /* TODO: Please replace embedded image files to your application image files. */
                  image.normal: "EDC_EDITOR_EMBEDDED_NEEDLE_SECOND.png";
                  map.on: 1;
                  map.rotation.z: 0;
               }
               description { state: "rotated" 0.0;
                  inherit: "default";
                  map.rotation.z: 360;
               }
            }
         }
         programs {
            program { name: "load";
               signal: "load";
               source: "";
               action: STATE_SET "rotated" 0.0;
               target: "moonphase_moon";
               transition: LINEAR 30;
               after: "reset";
            }
            program { name: "reset";
               action: STATE_SET "default" 0.0;
               target: "moonphase_moon";
               after: "load";
            }
            program { name: "hour_begin";
               signal: "load";
               source: "";
               action: STATE_SET "rotated" 0.0;
               target: "hour";
               transition: LINEAR 216000;
               after: "hour_reset";
            }
            program { name: "hour_reset";
               action: STATE_SET "default" 0.0;
               target: "hour";
               after: "hour_begin";
            }
            program { name: "minute_begin";
               signal: "load";
               source: "";
               action: STATE_SET "rotated" 0.0;
               target: "minute";
               transition: LINEAR 3600;
               after: "minute_begin";
            }
            program { name: "minute_reset";
               action: STATE_SET "default" 0.0;
               target: "minute";
               after: "minute_begin";
            }
            program { name: "second_begin";
               signal: "load";
               source: "";
               action: STATE_SET "rotated" 0.0;
               target: "second";
               transition: LINEAR 60;
               after: "second_reset";
            }
            program { name: "second_reset";
               action: STATE_SET "default" 0.0;
               target: "second";
               after: "second_begin";
            }
         }
      }
   }