/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
   name: "ecdb/welcome_page";
   min: 640 170;

   parts {
      part {
         name: "bg";
         type: RECT;

         description {
            state: "default" 0.0;
            color: 0 0 0 0;

            rel1 {
               relative: 0.0 0.0;
               offset: 0 0;
            }

            rel2 {
               relative: 1.0 1.0;
               offset: 0 0;
            }
         }

         description {
            state: "hidden" 0.0;
            color: 0 0 0 0;

            rel1 {
               relative: 1.0 1.0;
               offset: -1 -1;
            }

            rel2 {
               relative: 1.0 1.0;
               offset: 33 33;
            }
         }

         description {
            state: "before_show" 0.0;
            color: 0 0 0 0;

            rel1 {
               relative: 0.0 0.0;
               offset: -33 0;
            }

            rel2 {
               relative: 0.0 0.0;
               offset: -1 0;
            }
         }
      }

      part {
         name: "ecdb/burn_data";
         type: SWALLOW;
         repeat_events: 1;

         description {
            state: "default" 0.0;

            rel1 {
               to: "bg";
               relative: 0.0 0.0;
               offset: 10 10;
            }

            rel2 {
               to: "bg";
               relative: 0.5 0.5;
               offset: -11 -11;
            }
         }
      }

      part {
         name: "ecdb/burn_audio";
         type: SWALLOW;
         repeat_events: 1;

         description {
            state: "default" 0.0;

            rel1 {
               to: "bg";
               relative: 0.5 0.0;
               offset: 10 10;
            }

            rel2 {
               to: "bg";
               relative: 1.0 0.5;
               offset: -11 -11;
            }
         }
      }

      part {
         name: "ecdb/burn_image";
         type: SWALLOW;
         repeat_events: 1;

         description {
            state: "default" 0.0;

            rel1 {
               to: "bg";
               relative: 0.0 0.5;
               offset: 10 10;
            }

            rel2 {
               to: "bg";
               relative: 0.5 1.0;
               offset: -11 -11;
            }
         }
      }

      part {
         name: "ecdb/erase";
         type: SWALLOW;
         repeat_events: 1;

         description {
            state: "default" 0.0;

            rel1 {
               to: "bg";
               relative: 0.5 0.5;
               offset: 10 10;
            }

            rel2 {
               to: "bg";
               relative: 1.0 1.0;
               offset: -11 -11;
            }
         }
      }
   }

   programs {
      program {
         name: "welcome_page,hide";
         signal: "ecdb,welcome_page,hide";
         source: "ecdb";
         action: STATE_SET "hidden" 0.0;
         transition: DECELERATE 0.5;
         target: "bg";
         after: "hide,finished";
      }

      program {
         name: "hide,finished";
         action: SIGNAL_EMIT "hide,finished" "welcome_page";
      }

      program {
         name: "welcome_page,show1";
         signal: "ecdb,welcome_page,show";
         source: "ecdb";
         after: "welcome_page,show2";
         action: STATE_SET "before_show" 0.0;
         target: "bg";
      }

      program {
         name: "welcome_page,show2";
         action: STATE_SET "default" 0.0;
         transition: DECELERATE 0.5;
         target: "bg";
      }
   }
}

