Method: RubyCurses::Tree#OLDprint_borders

Defined in:
lib/rbhex/core/widgets/rtree.rb

#OLDprint_bordersObject



255
256
257
258
259
260
261
262
263
264
265
266
267
268
# File 'lib/rbhex/core/widgets/rtree.rb', line 255

def OLDprint_borders
  width = @width
  height = @height-1 # 2010-01-04 15:30 BUFFERED HEIGHT
  window = @graphic  # 2010-01-04 12:37 BUFFERED
  startcol = @col
  startrow = @row
  @color_pair = get_color($datacolor)
#      bordercolor = @border_color || $datacolor # changed 2011 dts
  bordercolor = @border_color || @color_pair # 2011-09-28 V1.3.1
  borderatt = @border_attrib || Ncurses::A_NORMAL

  window.print_border startrow, startcol, height, width, bordercolor, borderatt
  print_title
end