Class: Fzeet::SystemCursor

Inherits:
Handle
  • Object
show all
Includes:
CursorMethods
Defined in:
lib/fzeet/windows/core/Common.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ SystemCursor

Returns a new instance of SystemCursor.



196
197
198
# File 'lib/fzeet/windows/core/Common.rb', line 196

def initialize(id)
	@handle = Windows.DetonateLastError(FFI::Pointer::NULL, :LoadCursor, nil, @id = Fzeet.constant(id, :idc_)); attach
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



200
201
202
# File 'lib/fzeet/windows/core/Common.rb', line 200

def id
  @id
end

Instance Method Details

#disposeObject



202
# File 'lib/fzeet/windows/core/Common.rb', line 202

def dispose; detach end