...

Source file src/gitlab.com/tslocum/cview/borders.go

Documentation: gitlab.com/tslocum/cview

     1  package cview
     2  
     3  // Borders defines various borders used when primitives are drawn.
     4  // These may be changed to accommodate a different look and feel.
     5  var Borders = struct {
     6  	Horizontal  rune
     7  	Vertical    rune
     8  	TopLeft     rune
     9  	TopRight    rune
    10  	BottomLeft  rune
    11  	BottomRight rune
    12  
    13  	LeftT   rune
    14  	RightT  rune
    15  	TopT    rune
    16  	BottomT rune
    17  	Cross   rune
    18  
    19  	HorizontalFocus  rune
    20  	VerticalFocus    rune
    21  	TopLeftFocus     rune
    22  	TopRightFocus    rune
    23  	BottomLeftFocus  rune
    24  	BottomRightFocus rune
    25  }{
    26  	Horizontal:  BoxDrawingsLightHorizontal,
    27  	Vertical:    BoxDrawingsLightVertical,
    28  	TopLeft:     BoxDrawingsLightDownAndRight,
    29  	TopRight:    BoxDrawingsLightDownAndLeft,
    30  	BottomLeft:  BoxDrawingsLightUpAndRight,
    31  	BottomRight: BoxDrawingsLightUpAndLeft,
    32  
    33  	LeftT:   BoxDrawingsLightVerticalAndRight,
    34  	RightT:  BoxDrawingsLightVerticalAndLeft,
    35  	TopT:    BoxDrawingsLightDownAndHorizontal,
    36  	BottomT: BoxDrawingsLightUpAndHorizontal,
    37  	Cross:   BoxDrawingsLightVerticalAndHorizontal,
    38  
    39  	HorizontalFocus:  BoxDrawingsDoubleHorizontal,
    40  	VerticalFocus:    BoxDrawingsDoubleVertical,
    41  	TopLeftFocus:     BoxDrawingsDoubleDownAndRight,
    42  	TopRightFocus:    BoxDrawingsDoubleDownAndLeft,
    43  	BottomLeftFocus:  BoxDrawingsDoubleUpAndRight,
    44  	BottomRightFocus: BoxDrawingsDoubleUpAndLeft,
    45  }
    46  

View as plain text