aboutsummaryrefslogtreecommitdiff
path: root/vendor/maunium.net/go/tview/borders.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-11-14 00:00:35 +0200
committerTulir Asokan <tulir@maunium.net>2018-11-14 00:00:35 +0200
commitba387764ca1590625d349e74eb8a8a64d1849b67 (patch)
treebc8f02156a63eac99dcddaed38e45b7c312b40c0 /vendor/maunium.net/go/tview/borders.go
parentcfb2cc057c32330be0ca0a68cfbd245cb2b8e31b (diff)
Fix things
Diffstat (limited to 'vendor/maunium.net/go/tview/borders.go')
-rw-r--r--vendor/maunium.net/go/tview/borders.go45
1 files changed, 45 insertions, 0 deletions
diff --git a/vendor/maunium.net/go/tview/borders.go b/vendor/maunium.net/go/tview/borders.go
new file mode 100644
index 0000000..946c878
--- /dev/null
+++ b/vendor/maunium.net/go/tview/borders.go
@@ -0,0 +1,45 @@
+package tview
+
+// Borders defines various borders used when primitives are drawn.
+// These may be changed to accommodate a different look and feel.
+var Borders = struct {
+ Horizontal rune
+ Vertical rune
+ TopLeft rune
+ TopRight rune
+ BottomLeft rune
+ BottomRight rune
+
+ LeftT rune
+ RightT rune
+ TopT rune
+ BottomT rune
+ Cross rune
+
+ HorizontalFocus rune
+ VerticalFocus rune
+ TopLeftFocus rune
+ TopRightFocus rune
+ BottomLeftFocus rune
+ BottomRightFocus rune
+}{
+ Horizontal: BoxDrawingsLightHorizontal,
+ Vertical: BoxDrawingsLightVertical,
+ TopLeft: BoxDrawingsLightDownAndRight,
+ TopRight: BoxDrawingsLightDownAndLeft,
+ BottomLeft: BoxDrawingsLightUpAndRight,
+ BottomRight: BoxDrawingsLightUpAndLeft,
+
+ LeftT: BoxDrawingsLightVerticalAndRight,
+ RightT: BoxDrawingsLightVerticalAndLeft,
+ TopT: BoxDrawingsLightDownAndHorizontal,
+ BottomT: BoxDrawingsLightUpAndHorizontal,
+ Cross: BoxDrawingsLightVerticalAndHorizontal,
+
+ HorizontalFocus: BoxDrawingsDoubleHorizontal,
+ VerticalFocus: BoxDrawingsDoubleVertical,
+ TopLeftFocus: BoxDrawingsDoubleDownAndRight,
+ TopRightFocus: BoxDrawingsDoubleDownAndLeft,
+ BottomLeftFocus: BoxDrawingsDoubleUpAndRight,
+ BottomRightFocus: BoxDrawingsDoubleUpAndLeft,
+}