Changes

Jump to navigation Jump to search
No change in size ,  15:45, 26 February 2010
Line 683: Line 683:  
That's it. When you next run Turtle Art, you will have a 'uturn' block
 
That's it. When you next run Turtle Art, you will have a 'uturn' block
 
on the Turtle Palette.
 
on the Turtle Palette.
 +
 +
[[Image:TAuturn.png|300px]]
    
Adding a new palette is simply a matter of: (1) adding an additional entry to PALETTE_NAMES; (2) new list of blocks to PALETTES; and (3) an additional entry in COLORS. However you will have to: (4) create icons for the palette-selector buttons. These are kept in the icons subdirectory. You need two icons: yourpalettenameoff.svg and yourpalettenameon.svg, where yourpalettename is the same string as the entry you added to the PALETTE_NAMES list. Note that the icons should be the same size (55x55) as the others. This is the default icon size for Sugar toolbars.
 
Adding a new palette is simply a matter of: (1) adding an additional entry to PALETTE_NAMES; (2) new list of blocks to PALETTES; and (3) an additional entry in COLORS. However you will have to: (4) create icons for the palette-selector buttons. These are kept in the icons subdirectory. You need two icons: yourpalettenameoff.svg and yourpalettenameon.svg, where yourpalettename is the same string as the entry you added to the PALETTE_NAMES list. Note that the icons should be the same size (55x55) as the others. This is the default icon size for Sugar toolbars.
  −
[[Image:TAuturn.png|300px]]
      
==Just for fun==
 
==Just for fun==

Navigation menu