Tuesday, October 30, 2007

Leopard: Fixing the translucent Menu

On Mac OS X Leopard, the top menu is now translucent. I hate it. The effect is especially bad if you use a single color background:



To fix this I needed a very precise desktop background that has a strategically placed white stripe at the top. Processing to the rescue:

int menuHeight=22; // Height of the top Menu
size(1280,854); // size of my PowerBook screen
noStroke();
fill(255);
rect(0,0,width,menuHeight);
fill(58,103,173);
rect(0,menuHeight,width,height-menuHeight);
save("menufix.jpg");

After this runs, use the System preferences to use "menufix.jpg" as your background.

No comments: