In addition, Xslimmer already used toolbars in 4 different places, so the code to manage them was already there and would need major rework. Not only would I had all sort of issues placing the different pieces of the toolbars, but also controlling them during run time. I soon realized that it was not going to be an easy task. Then, I started to design how it would work and operate. My first thought was: "I will just build the toolbar using Interface Builder". I tried every hack possible, subclasses, all sort of undocumented stuff to try to get access to the text rendering part, so I could invert the colors. How could it be? Similarly to the guys in Panic, who were fighting to get access the 3 bottom pixels of NSToolbar, we just wanted to draw white text with a bit of grey shadow, and make the black dotted lines, white dotted lines. Next step was to make the toolbar font white.
Fortunately, I discovered that setting something called "the pattern phase", within the graphics context, cured the wound. The top half of the image was drawn in the bottom half of the toolbar, and viceversa. Using a background image for the window title + toolbar area was the only tricky part, as, in the beginning, it was not correctly rendered. Making the window black was relatively easy. Fortunately, some people had walked that path before me. At that time, it did sound as something simple: just make the grey areas of the window become black, and the black ink become white. So, making Xslimmer black would made it look nicely different. As Leopard approached, we were thinking that providing Xslimmer with face lift was a good idea. We had to do the same.ĭuring the summer of 2007, Louie Mantia challenged us to produce a black themed version of Xslimmer. I particularly enjoyed the part where he explains why they had to create their own toolbar. I thought it was a very nice presentation, with some insightful bits that can only be produced out of experience. Your current method is a bit like trying to build all the floors of an office building at once instead of floor by floor.A few days back, I watched Cabel Sasser's C4 presentation. You can then use the suggestions I made in your other topic to prune much more. pkg's like the large number of printer ones, some of the language ones. You even get a few options to avoid installing many of the.
Then go to the File menu & select "Show Files." Do that with Mac OS X Install DVD/System/Installation/Packages/Essentials.pkg & you will see that it contains what Apple considers the essential OS X applications, like Dictionary, Photo Booth, Preview, Image Capture, & many others, plus the support files for them.īy doing a normal install, you will avoid permissions problems, insure that everything is properly linked & installed in the correct order (which matters!), get an accurate receipts database, & so on. pkg file contains, you can double-click on it to launch Installer.app. In fact, just by installing the Essentials.pkg, you have already installed a lot of items that are not essential to the purpose you explained (more or less) in your other topic. If you are saying that you never get past the grey screen then it is safe to assume the GUI has not loaded.Īs was suggested both here & in your other topic, it is much, much easier to do a normal install & then carefully prune away the unneeded stuff to get a minimal install. The kernel boots successfully, but once it loads the GUI I get a grey screen with the beach ball of doom.