Sha256: b1ab27c48a44788875c385cfe4383da471d55f94e020177f01fc518b4f151e69

Contents?: true

Size: 839 Bytes

Versions: 1

Compression:

Stored size: 839 Bytes

Contents

module PPCurses

  # View Hierarchy information:
  #
  # https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CocoaViewsGuide/WorkingWithAViewHierarchy/WorkingWithAViewHierarchy.html

  # Based loosely on ...
  #
  # https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/index.html#//apple_ref/occ/instp/NSView/subviews

  class View  < ResponderManager

    ## Managing the View Hierarchy

    # superview

    # add_subview

    # subviews

    # set_subviews


    ## Drawing

    # Expects screen to be a PPCurses::Screen object
    # Need to convert to work with a window or a view.
    #
    # The default implementation does nothing
    def display(screen)

    end


    ## Key-view Loop Management

    # canBecomeKeyView

    # nextKeyView

    #

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ppcurses-0.1.0 lib/ppcurses/view.rb