summaryrefslogtreecommitdiff
path: root/BBB_GOFILES/separator.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2018-08-26 13:43:05 -0400
committerPietro Gagliardi <[email protected]>2018-08-26 13:43:05 -0400
commit7b7ae9d7ce2aa6f99677fde7b8a0c21c7024e3e9 (patch)
tree17813999d509a6dd0d1636f415622876c0d6ff93 /BBB_GOFILES/separator.go
parent1095719d84a6ac5f90eefe8e23913f3e09ad692d (diff)
More control migration. Everything beyond this point is nontrivial.
Diffstat (limited to 'BBB_GOFILES/separator.go')
-rw-r--r--BBB_GOFILES/separator.go37
1 files changed, 0 insertions, 37 deletions
diff --git a/BBB_GOFILES/separator.go b/BBB_GOFILES/separator.go
deleted file mode 100644
index 67dea4f..0000000
--- a/BBB_GOFILES/separator.go
+++ /dev/null
@@ -1,37 +0,0 @@
-// 12 december 2015
-
-package ui
-
-import (
- "unsafe"
-)
-
-// #include "ui.h"
-import "C"
-
-// Separator is a Control that represents a horizontal line that
-// visually separates controls.
-type Separator struct {
- ControlBase
- s *C.uiSeparator
-}
-
-// NewHorizontalSeparator creates a new horizontal Separator.
-func NewHorizontalSeparator() *Separator {
- s := new(Separator)
-
- s.s = C.uiNewHorizontalSeparator()
-
- s.ControlBase = NewControlBase(s, uintptr(unsafe.Pointer(s.s)))
- return s
-}
-
-// NewVerticalSeparator creates a new vertical Separator.
-func NewVerticalSeparator() *Separator {
- s := new(Separator)
-
- s.s = C.uiNewVerticalSeparator()
-
- s.ControlBase = NewControlBase(s, uintptr(unsafe.Pointer(s.s)))
- return s
-}