[F-Script-talk] Fwd: Windows with F-script
Brought to you by:
pmougin
From: Deivy P. <ca...@di...> - 2007-06-01 16:04:16
|
Begin forwarded message: > From: Deivy Petrescu <ca...@di...> > Date: May 29, 2007 17:32:41 EDT > To: f-s...@li... > Subject: Windows with F-script > > Hello, > > I am new to F-script and Objective-C. > I am trying to learn both of them now. Also, I normally suck at > writing the UI for any app. > Somehow I am a big fan of faceless apps. > However, I want to write one that really needs a face. > I need to create a window a la Growl, or Application Switcher on > the Mac, with F-Script. > Well, I can do that! However, if I create the window, a borderless > one I can not move it or even get rid of it. > I tried using (Objective-c, Cocoa) code suggested by Apple. But > somethings get stuck. > The code uses a dot language which apparently does not bode well > with F script. > For instance, the line of code: > (newOrigin.y+windowFrame.size.height) > (screenFrame.origin.y > +screenFrame.size.height) > > gets stuck in the "." of newOrigin.y. > > Any hints would be greatly appreciated. > > > Deivy > |