I want customize Scratch interface and add new blocks and categories.
For adding a new category, I duplicated the "Sensing" category and I renamed it "Prog&Play". Then I added some new blocks as "open game", "close game" and "refresh".
Now, I would like changing the color in red.
I carry out to modify blocks color successfully but not the "Prog&Play" button (which is always in bleue, the color of the original "Sensing" category) as indicated in next image:
To change color of blocks I used the "System Browser" as indicated in next image:
So, how can I change color of my new category "Prog&Play"?
Thank you for your help
Offline
The reason that the image is not changing is that it is an image.
You will have to edit the image itself. The easiest way to do this is to get the 'scratch skin' from the source code page, edit, and read it into the project as it explains there.
Offline
Thank you for your quick answer.
I downloaded the ScratchSkin1.4.zip and I extracted it in my directory that looks like this:
./Scratch.exe
./ScratchSourceCode1.4.changes
./ScratchSourceCode1.4.image
./SqueakV2.sources
./ScratchSkin/
./ScratchSkin/...
In the "ScratchSkin" directory, I added three new images called "progandplay.gif", "progandplayOver.gif" and "progandplayPressed.gif" (I inspired myself from existing "sensing.gif", "sensingOver.gif" and "sensingPressed.gif")
In the Wokspace I executed this line:
ScratchFrameMorph readSkinFrom: (FileDirectory default directoryNamed: 'ScratchSkin')
I think that the dictionary is updated, but my Prog&Play button is still with "sensing" images...
What is wrong? How can I associate a specific image with the "Prog&Play" button?
Offline
Mitmat: So your question is answered, then?
TheSentry: This question relates to editing the actual source code of scratch. It is by no means essential to using scratch, so if you don't understand, it's OK.
Offline