Browse Source

Remove wiki references

merge-requests/2/head
Trevor Slocum 2 years ago
parent
commit
48c31ff1a0
  1. 2
      CHANGELOG
  2. 2
      box.go
  3. 2
      button.go
  4. 2
      checkbox.go
  5. 2
      dropdown.go
  6. 2
      flex.go
  7. 2
      form.go
  8. 2
      frame.go
  9. 2
      grid.go
  10. 2
      inputfield.go
  11. 2
      list.go
  12. 2
      modal.go
  13. 2
      pages.go
  14. 2
      table.go
  15. 2
      textview.go
  16. 2
      treeview.go

2
CHANGELOG

@ -64,7 +64,7 @@ v0.1.17 (2018-06-20)
v0.1.15 (2018-05-02)
- Flex and Grid don't clear their background per default, thus allowing for
custom modals. See the Wiki for an example.
custom modals.
v0.1.14 (2018-04-13)
- Added an Escape() function which keep strings like color or region tags from

2
box.go

@ -9,8 +9,6 @@ import (
// Box is the base Primitive for all widgets. It has a background color and
// optional surrounding elements such as a border and a title. It does not have
// inner text. Widgets embed Box and draw their text over it.
//
// See demos/box for an example.
type Box struct {
// The position of the rect.
x, y, width, height int

2
button.go

@ -7,8 +7,6 @@ import (
)
// Button is labeled box that triggers an action when selected.
//
// See https://gitlab.com/tslocum/cview/wiki/Button for an example.
type Button struct {
*Box

2
checkbox.go

@ -8,8 +8,6 @@ import (
// CheckBox implements a simple box for boolean values which can be checked and
// unchecked.
//
// See https://gitlab.com/tslocum/cview/wiki/Checkbox for an example.
type CheckBox struct {
*Box

2
dropdown.go

@ -15,8 +15,6 @@ type dropDownOption struct {
// DropDown implements a selection widget whose options become visible in a
// drop-down list when activated.
//
// See https://gitlab.com/tslocum/cview/wiki/DropDown for an example.
type DropDown struct {
*Box

2
flex.go

@ -24,8 +24,6 @@ type flexItem struct {
// primitives are arranged horizontally or vertically. The way they are
// distributed along that dimension depends on their layout settings, which is
// either a fixed length or a proportional length. See AddItem() for details.
//
// See https://gitlab.com/tslocum/cview/wiki/Flex for an example.
type Flex struct {
*Box

2
form.go

@ -39,8 +39,6 @@ type FormItem interface {
// or horizontal layout. Form elements include types such as InputField or
// CheckBox. These elements can be optionally followed by one or more buttons
// for which you can define form-wide actions (e.g. Save, Clear, Cancel).
//
// See https://gitlab.com/tslocum/cview/wiki/Form for an example.
type Form struct {
*Box

2
frame.go

@ -16,8 +16,6 @@ type frameText struct {
// Frame is a wrapper which adds space around another primitive. In addition,
// the top area (header) and the bottom area (footer) may also contain text.
//
// See https://gitlab.com/tslocum/cview/wiki/Frame for an example.
type Frame struct {
*Box

2
grid.go

@ -27,8 +27,6 @@ type gridItem struct {
// can also be controlled with the arrow keys (or the "g","G", "j", "k", "h",
// and "l" keys) while the grid has focus and none of its contained primitives
// do.
//
// See https://gitlab.com/tslocum/cview/wiki/Grid for an example.
type Grid struct {
*Box

2
inputfield.go

@ -28,8 +28,6 @@ import (
// - Ctrl-K: Delete from the cursor to the end of the line.
// - Ctrl-W: Delete the last word before the cursor.
// - Ctrl-U: Delete the entire line.
//
// See https://gitlab.com/tslocum/cview/wiki/InputField for an example.
type InputField struct {
*Box

2
list.go

@ -18,8 +18,6 @@ type listItem struct {
}
// List displays rows of items, each of which can be selected.
//
// See https://gitlab.com/tslocum/cview/wiki/List for an example.
type List struct {
*Box
*ContextMenu

2
modal.go

@ -9,8 +9,6 @@ import (
// Modal is a centered message window used to inform the user or prompt them
// for an immediate decision. It needs to have at least one button (added via
// AddButtons()) or it will never disappear.
//
// See https://gitlab.com/tslocum/cview/wiki/Modal for an example.
type Modal struct {
*Box

2
pages.go

@ -17,8 +17,6 @@ type page struct {
// Pages is a container for other primitives often used as the application's
// root primitive. It allows to easily switch the visibility of the contained
// primitives.
//
// See https://gitlab.com/tslocum/cview/wiki/Pages for an example.
type Pages struct {
*Box

2
table.go

@ -246,8 +246,6 @@ func (c *TableCell) GetLastPosition() (x, y, width int) {
// The class will attempt to keep the selection from moving out of the screen.
//
// Use SetInputCapture() to override or modify keyboard input.
//
// See https://gitlab.com/tslocum/cview/wiki/Table for an example.
type Table struct {
*Box

2
textview.go

@ -96,8 +96,6 @@ type textViewRegion struct {
//
// The ScrollToHighlight() function can be used to jump to the currently
// highlighted region once when the text view is drawn the next time.
//
// See https://gitlab.com/tslocum/cview/wiki/TextView for an example.
type TextView struct {
*Box

2
treeview.go

@ -314,8 +314,6 @@ func (n *TreeNode) SetIndent(indent int) *TreeNode {
// hierarchy. Alternative (or additionally), you can set different prefixes
// using SetPrefixes() for different levels, for example to display hierarchical
// bullet point lists.
//
// See https://gitlab.com/tslocum/cview/wiki/TreeView for an example.
type TreeView struct {
*Box

Loading…
Cancel
Save