Sha256: 6c4e78c0fa150a492458077395cecf84a47d0f01e142312fce8c7ade4e60b48e

Contents?: true

Size: 248 Bytes

Versions: 6

Compression:

Stored size: 248 Bytes

Contents

module Processing


  # Mouse wheel event object.
  #
  class WheelEvent

    # @private
    def initialize(event)
      @event = event
    end

    def delta()
      @event.dy
    end

    alias getCount delta

  end# WheelEvent


end# Processing

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
processing-1.1 lib/processing/events.rb
processing-1.0.3 lib/processing/events.rb
processing-1.0.2 lib/processing/events.rb
processing-1.0.1 lib/processing/events.rb
processing-0.5.34 lib/processing/events.rb
processing-0.5.33 lib/processing/events.rb