public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/kballard/gitnub.git
Caged (author)
Fri Mar 21 15:09:13 -0700 2008
commit  37c28f30f047da557551c379fdca95f0b8dcde94
tree    095de9316d77f24750bec4bec7dbe0c031d71cde
parent  a1d6f9d106e2d04dc0c61671f690c46f4366ca6a parent  a0d92807728b5d3d337a71644f0cf8db136a2487
gitnub / TexturedWindow.rb
100644 19 lines (16 sloc) 0.458 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# TexturedWindow.rb
# GitNub
#
# Created by Justin Palmer on 3/2/08.
# Copyright (c) 2008 Active Reload, LLC. All rights reserved.
#
 
require 'osx/cocoa'
 
class TexturedWindow < OSX::NSWindow
  def initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
    if super_initWithContentRect_styleMask_backing_defer(rect, mask, backing, defer)
      self.setContentBorderThickness_forEdge(44.0, NSMinYEdge)
    end
    return self
  end
end