Almost Ready!

Horizon 1.2 will be released tomorrow morning. I’ve done a lot to the program, and added some major features, but you’ll just have to wait a few hours to what I’ve done.

One feature I will tell you about because it’s not that big a deal, but it is fun. I’ve added the Mac ‘poof’ effect. Delete a cell from the calendar and it vanishes in a puff of smoke. Nothing earth-shattering, but it is a nice effect.

If anyone wants to implement this, ignore the antiquated Apple sample code and the other weird little samples floating around the ‘net, and just search the documentation for NSShowAnimationEffect. It’s a C function call with a lot of parameters, but for simple things most of them can be set to nil.

It’s also important to note that the NSPoint supplied to the function to center the effect is in screen coordinates, so you have to use a few methods to get from the View to the Window to the Screen, depending on what you’re doing.

Leave a Reply

Your email address will not be published. Required fields are marked *