Frantic :: feed :: about
My new-looking Delphi Toolbar
Hi!
Just got some time for my own little crazy ideas. Like this one: make ugly Delphi toolbar look a bit better. Instead of black/white images I wanted to see gray-scaled ones. So, this is how it looked before:
…and this is how it looks now:
Feel the difference?
Interested in how to do this – continue reading…
So, main trick – replace TCustomImageList.DoDraw with my own implementation and according to Enabled parameter draw normal or gray-scaled image. I created design-time package (you can download sources from Google Code Project) which patches vcl.bpl in memory after it loads.
Note – this works only if gradient toolbars are turned on! This may be helpful for D2010 users.
That’s all I wanted to do. If you are interested in development of this idea or need some help – feel free to comment this topic.
UPDATE #1: Uploaded sources to Google Code: http://code.google.com/p/delphi-nice-toolbar/