Sha256: 6b1caa42451b848687b980266260781641fa0771719628dc1bfd34ff079bbe58

Contents?: true

Size: 1.35 KB

Versions: 5

Compression:

Stored size: 1.35 KB

Contents

class DummyView < NSView
private
  def dummy
    setFrame(nil)
    setOpaque(nil)
    setClipsToBounds(nil)
    setUserInteractionEnabled(nil)
    setAutoresizingMask(nil)
    NSView.appearanceWhenContainedIn(NSView, nil)
    NSView.appearance
  end
end

class DummyTableView < NSTableView
private
 def dummy
   setAllowSelection(value)
 end
end

class DummyTableColumn < NSTableColumn
private
  def dummy
    setEditable(nil)
  end
end

class DummyButton < NSButton
private
  def dummy
    setTitleEdgeInsets(nil)
    setTarget(nil)
    setAction(nil)
    setBezelStyle(nil)
  end
end

class DummyScrollView < NSScrollView
private
  def dummy
    setScrollEnabled(nil)
    setHasVerticalScroller(nil)
    setHasHorizontalScroller(nil)
  end
end

class DummyTextField < NSTextField
private
  def dummy
    setAdjustsFontSizeToFitWidth(nil)
  end
end

class DummyTextView < NSTextView
private
  def dummy
    setSecureTextEntry(nil)
    setReturnKeyType(nil)
    setAutocapitalizationType(nil)
    setAutocorrectionType(nil)
    setSpellCheckingType(nil)
  end
end

class DummyLayer < CALayer
private
  def dummy
    setCornerRadius(nil)
    setTransform(nil)
    setMasksToBounds(nil)
    setShadowOffset(nil)
    setShadowOpacity(nil)
    setShadowRadius(nil)
    setShadowOffset(nil)
    setShadowColor(nil)
    setShadowPath(nil)
    setOpaque(nil)
    setTranslucent(nil)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
teacup-2.0.5 lib/teacup-osx/dummy.rb
teacup-2.0.4 lib/teacup-osx/dummy.rb
teacup-2.0.3 lib/teacup-osx/dummy.rb
teacup-2.0.2 lib/teacup-osx/dummy.rb
teacup-2.0.0 lib/teacup-osx/dummy.rb