Remove wiki references

This commit is contained in:
Trevor Slocum 2020-04-26 16:59:33 -07:00
parent de0eb1ea89
commit 48c31ff1a0
16 changed files with 1 additions and 31 deletions

View File

@ -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
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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