Sha256: 45f4ed15f5e5aa2fae1f55f774374f5577c2c71a8c13ed5503778b3c4dfddc04

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 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)
    setBordered(nil)
    setImagePosition(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

2 entries across 2 versions & 1 rubygems

Version Path
teacup-2.1.0 lib/teacup-osx/dummy.rb
teacup-2.0.6 lib/teacup-osx/dummy.rb