Module: SDL::Mac::Cocoa
- Extended by:
- NiceFFI::Library
- Defined in:
- lib/ruby-sdl-ffi/sdl/mac.rb
Defined Under Namespace
Classes: NSMenu, NSMenuItem
Constant Summary
collapse
- NSNibOwner =
ObjC::NSString( ObjC::NSString(self.vNSNibOwner).to_s )
- NSNibTopLevelObjects =
ObjC::NSString( ObjC::NSString(self.vNSNibTopLevelObjects).to_s )
- NSAlphaShiftKeyMask =
1 << 16
- NSShiftKeyMask =
1 << 17
- NSControlKeyMask =
1 << 18
- NSAlternateKeyMask =
1 << 19
- NSCommandKeyMask =
1 << 20
- NSNumericPadKeyMask =
1 << 21
- NSHelpKeyMask =
1 << 22
- NSFunctionKeyMask =
1 << 23
Class Method Summary
collapse
Class Method Details
.NSApp ⇒ Object
274
275
276
|
# File 'lib/ruby-sdl-ffi/sdl/mac.rb', line 274
def self.NSApp
@nsapp ||= ObjC::NSClass("NSApplication").msg("sharedApplication")
end
|
340
341
342
|
# File 'lib/ruby-sdl-ffi/sdl/mac.rb', line 340
def self.( *args )
.new( *args )
end
|
389
390
391
|
# File 'lib/ruby-sdl-ffi/sdl/mac.rb', line 389
def self.( *args )
.new( *args )
end
|