Hi,
I fixed this problem and published new version.
http://homepage.mac.com/kimuraw/archive/TMPresents-0.3.3.tar.gz
http://homepage.mac.com/kimuraw/archive/TMPresents-0.3.3-bin.dmg
I implemented fullscreen with NSWindow, the application can be deactive.
I think ruby can handle CoreGraphics API via DL::Symbol (extension
library "dl"), not RubyCocoa. An other way is to use Cocoa wrapper for
CoreGraphics, like DisplayKit.
require 'osx/cocoa'
bundle = OSX::NSBundle.bundleWithPath('/Library/Frameworks/DisplayKit.framework')
bundle.load
OSX.ns_import :DKDisplay # => class OSX::DKDisplay is available
DisplayKit: http://www.zobs.net/brian/software/
Fri, Dec 9, 2005 11:47:16 PM, Ben Giddings wrote:
>On Dec 8, 2005, at 23:52, FUJIMOTO Hisa wrote:
>> On 12/9/05, Ben Giddings <bg-rubytalk / infofiend.com> wrote:
>>> That's a lot of helpful code. Unfortunately, I don't know what kinds
>>> of documents it opens so I can't try it out, but the source code
>>
>> Document format of the app is simply plain text. Each page
>> is separated by a null line. e.g.
>
>Hmm, I tried saving that text to a .txt file, but TMPresents wouldn't
>give me the option to open that file. Everything except directories
>is "greyed out" and I can't select them.
>
>Is there a specific filename or mime type or something that the
>dialog is looking for? It can't just be presentation.txt can it?
>
>Ben
>
>