All pastes #983474 Raw Edit

Untitled

public text v1 · immutable
·published 2008-04-13 11:29 UTC
rendered paste body
images {
   // Here we load some images to be used later in the EDC
   // The COMP setting lets us compress images without 
   // losing any quality. Here we go!
   image: "stretch.png" COMP;
   image: "logo.png" COMP;
}

collections {
   group { 
      // This section is necessary to make sure it is loaded
      // as a background and not something else.
      name: "e/desktop/background";
      data { 
      item: "style" "2"; 
      }
   
   parts {
	 part {
	 name: "baseimage";
	 description {
	 state: "default" 0.0;
	 // By not setting any rel1 and rel2 points, we make 
	 // this image stretch over the entire container/screen.
	 // Having a wallpaper that has a central focus point 
	 // will be optimal when it gets scaled. Next, we set
	 // the image to be used as the base.
	 image { 
	      normal: "stretch.png"; 
              }
	 // This next setting can be turned on (1) and turned
	 // off (0) to make the image smooth when it is scaled
	 // to different resolution monitors. Test it. Use it.
	 fill {
	      smooth: 0;
	      }
	    } 
	 }
	 part {
	 name: "baselogo"; 
	 description {
	 state: "default" 0.0;
	 // Here we make our logo. In theory, since the min
	 // and max values are set for the image being used,
	 // there will be no scaling in any direction. Make
	 // sure you set the values to the X and Y length of
	 // your logo. 
	 min: 300 300; 
	 max: 300 300;
	 // This section is not needed as the part will centre 
	 // itself. For those that want to move the image
	 // around and off centre, try setting some different
	 // rel1 and rel2 values. Long story short, if min and 
	 // max are already set, the image will centre itself
	 // between the topleft (rel1) and bottomright (rel2)
	 // Trial and error is a good guide here. Also, invest
	 // some time in compiling edje_editor from CVS. To get
	 // a better understanding of these values.
	 // rel1 {
	 //   relative: 0.0  0.0;
	 //}
	 //rel2 {
	 //   relative: 1.0  1.0;
	 //}
	 //
	 // Lastly, we set our logo image here to finish
	 // your new background. Enjoy it! 
	 image {  
	      normal: "logo.png"; 
               }
	    } 
	 }
      }
   }
}