dimensions

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package dimensions

pt_br: A base do sistema gráfico diz que todo container fica contido dentro de um container pai. Um container pai pode ser o container principal da aplicação ou un container qualquer que recebe outro container, por exemplo, um botão

+-main-application-----O----------------------+
|                      |                      |
|     +-containerA-----O-------children-+     |
|     |                                 |     |
O-----O                                 O-----O
|     |                                 |     |
|     +----------------O----------------+     |
|                      |                      |
|     +-buttonA--------O-------children-+     |
|     |                                 |     |
O-----O                                 O-----O
|     |                                 |     |
|     +----------------O----------------+     |
|                      |                      |
+----------------------O-----father-container-+

+-buttonA--O---------------------O------------+
|          |                     |            |
|   +-icon-O------+     +-text---O--------+   |
|   |             |     |                 |   |
O---O  children   O-----O     children    O---O
|   |             |     |                 |   |
|   +------O------+     +--------O--------+   |
|          |                     |            |
+----------O-----------------father-container-+

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dimensions

type Dimensions struct {
	ToDebug string
	Level   int

	X      int
	Y      int
	Width  int
	Height int
	Border int

	SpaceLeft   int
	SpaceRight  int
	SpaceTop    int
	SpaceBottom int
}

Dimensions

                   Top
         +----------O---------+
         |                    |
         |   +------O-----+   |
    Left O   O            O   O Right
         |   +------O-----+   |
         |                    |
         +----------O---------+
                  Bottom

                    A
           +--------O-------+
           |                |
         D O                O B
           |                |
           +--------O-------+
                    C

Molde:
+-father------------O-------------------+
|                   |                   |
|     +-containerA--O-------------+     |
|     |                           |     |
O-----O                           O-----O
|     |                           |     |
|     +-------------O-------------+     |
|                   |                   |
|     +-containerB--O-------------+     |
|     |                           |     |
O-----O                           O-----O
|     |                           |     |
|     +-------------O-------------+     |
|                   |                   |
+-------------------O-------------------+

Ponto de vista horizontal
Option: A - cada container é centralizado em relação ao pai
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O-----O                           O-----O
|     |                           |     |
|     +---------------------------+     |
|                                       |
|     +-containerB----------------+     |
|     |                           |     |
O-----O                           O-----O
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: B - cada container é alinhado a direita em relação ao pai
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|     |                           O-----O
|     |                           |     |
|     +---------------------------+     |
|                                       |
|     +-containerB----------------+     |
|     |                           |     |
|     |                           O-----O
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: C - cada container é alinhado a esquerda em relação ao pai
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O-----O                           |     |
|     |                           |     |
|     +---------------------------+     |
|                                       |
|     +-containerB----------------+     |
|     |                           |     |
O-----O                           |     |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: D - os containers a e b têm o seu tamanho ajustados pelo maior
            o container a é centralizado pelo pai
            o container b y é ajustado por a y
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O--+--O a link to father          O--+--O
|  |  |                           |  |  |
|  |  +---------------------------+  |  |
|  |                                 |  |
|  |  +-containerB----------------+  |  |
|  |  |                           |  |  |
|  +--O b link to a               O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: E - o container a é ajustado a direita pelo pai
            o container b y+w é ajustado por a y+w
            w não é alterado nem em a nem em b
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|     | a link to father          O--+--O
|     |                           |  |  |
|     +---------------------------+  |  |
|                                    |  |
|     +-containerB----------------+  |  |
|     |                           |  |  |
|     | b link to a               O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: F - o container a é ajustado a direita pelo pai
            o container b y+w é ajustado por a y+w
            w é alterado pelo maior
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|  +--O a link to father          O--+--O
|  |  |                           |  |  |
|  |  +---------------------------+  |  |
|  |                                 |  |
|  |  +-containerB----------------+  |  |
|  |  |                           |  |  |
|  +--O b link to a               O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: G
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O--+--O a link to father          |     |
|  |  |                           |     |
|  |  +---------------------------+     |
|  |                                    |
|  |  +-containerB----------------+     |
|  |  |                           |     |
|  +--O b link to a               |     |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: H
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O--+--O a link to father          O--+  |
|  |  |                           |  |  |
|  |  +---------------------------+  |  |
|  |                                 |  |
|  |  +-containerB----------------+  |  |
|  |  |                           |  |  |
|  +--O b link to a               O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: I
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|  +--O                           O-----O
|  |  |                           |     |
|  |  +---------------------------+     |
|  |                                    |
|  |  +-containerB----------------+     |
|  |  |                           |     |
|  +--O                           O-----O
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Option: J
Correto:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
O-----O                           O--+  |
|     |                           |  |  |
|     +---------------------------+  |  |
|                                    |  |
|     +-containerB----------------+  |  |
|     |                           |  |  |
O-----O                           O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Errado:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|  +--O                           O--+  |
|  |  |                           |  |  |
|  |  +---------------------------+  |  |
X  |                                 |  X
|  |  +-containerB----------------+  |  |
|  |  |                           |  |  |
|  +--O                           O--+  |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

Ponto de vista horizontal
Errado:
+-father--------------------------------+
|                                       |
|     +-containerA----------------+     |
|     |                           |     |
|  +--O                           O-----O
|  |  |                           |     |
|  |  +---------------------------+     |
X  |                                    |
|  |  +-containerB----------------+     |
|  |  |                           |     |
|  +--O                           X     |
|     |                           |     |
|     +---------------------------+     |
|                                       |
+---------------------------------------+

+-father-----------------------------O------------------------------------+
|                                    |                                    |
|                   +----------------+----------------+                   |
|                   |                                 |                   |
|     +-containerA--O-------------+     +-containerB--O-------------+     |
|     |                           |     |                           |     |
|  +--O                           O-----O                           O--+  |
|  |  |                           |     |                           |  |  |
|  |  +-------------O-------------+     +-------------O-------------+  |  |
O--+                |                                 |                +--O
|  |  +-containerC--O-------------+     +-containerD--O-------------+  |  |
|  |  |                           |     |                           |  |  |
|  +--O                           O-----O                           O--+  |
|     |                           |     |                           |     |
|     +-------------O-------------+     +-------------O-------------+     |
|                   |                                 |                   |
|                   +----------------+----------------+                   |
|                                    |                                    |
+------------------------------------O------------------------------------+

func NewContainer

func NewContainer(debug string, width, height int) *Dimensions

func NewContainerWidthXY

func NewContainerWidthXY(debug string, x, y, width, height int) *Dimensions

func NewContainerWidthXYAndSpaces

func NewContainerWidthXYAndSpaces(x, y, width, height, left, right, top, bottom int) *Dimensions

func NewContainerWithSpace

func NewContainerWithSpace(width, height, left, right, top, bottom int) *Dimensions

func (*Dimensions) LinkIsPresentAtTheBottom

func (el *Dimensions) LinkIsPresentAtTheBottom(containerA, containerB *Dimensions)

LinkIsPresentAtTheBottom

en: It calculates the vertical position of the container when there is only the link on the bottom are connected to

pt_br: Calcula o posicionamento vertical do container quando só existe o link inferior conectado

             A
  +----------O---------+
  |                    |
  |   +------O-----+   |
D O   O            O   O B
  |   +------O-----+   |
  |          |         |
  +----------O---------+
             C

func (*Dimensions) LinkIsPresentAtTheLeft

func (el *Dimensions) LinkIsPresentAtTheLeft(containerA, containerB *Dimensions)

LinkIsPresentAtTheLeft

en: It calculates the horizontal position of the container when there is only the link on the left are connected to

pt_br: Calcula o posicionamento horizontal do container quando só existe o link a esquerda conectado

             A
  +----------O---------+
  |                    |
  |   +------O-----+   |
D O---O            O   O B
  |   +------O-----+   |
  |                    |
  +----------O---------+
             C

func (*Dimensions) LinkIsPresentAtTheRight

func (el *Dimensions) LinkIsPresentAtTheRight(containerA, containerB *Dimensions)

LinkIsPresentAtTheRight

en: It calculates the horizontal position of the container when there is only the link on the right are connected to

pt_br: Calcula o posicionamento horizontal do container quando só existe o link a direita conectado

             A
  +----------O---------+
  |                    |
  |   +------O-----+   |
D O   O            O---O B
  |   +------O-----+   |
  |                    |
  +----------O---------+
             C

func (*Dimensions) LinkIsPresentAtTheRightAndLeft

func (el *Dimensions) LinkIsPresentAtTheRightAndLeft(containerA, containerB *Dimensions)

LinkIsPresentAtTheRightAndLeft

en: Calculates the horizontal position of the container when the links to the right and the left are connected

pt_br: Calcula o posicionamento horizontal do container quando existe os links direito e esquerdos conectados

             A
  +----------O---------+
  |                    |
  |   +------O-----+   |
D O---O            O---O B
  |   +------O-----+   |
  |                    |
  +----------O---------+
             C

func (*Dimensions) LinkIsPresentAtTheTop

func (el *Dimensions) LinkIsPresentAtTheTop(containerA, containerB *Dimensions)

LinkIsPresentAtTheTop

en: It calculates the vertical position of the container when there is only the link on the top are connected to

pt_br: Calcula o posicionamento vertical do container quando só existe o link superior conectado

             A
  +----------O---------+
  |          |         |
  |   +------O-----+   |
D O   O            O   O B
  |   +------O-----+   |
  |                    |
  +----------O---------+
             C

func (*Dimensions) LinkIsPresentAtTheTopAndBottom

func (el *Dimensions) LinkIsPresentAtTheTopAndBottom(containerA, containerB *Dimensions)

LinkIsPresentAtTheTopAndBottom

en: Calculates the vertical position of the container when the links to the top and bottom are connected

pt_br: Calcula o posicionamento vertical do container quando existe os links superior e inferior conectados

             A
  +----------O---------+
  |          |         |
  |   +------O-----+   |
D O   O            O   O B
  |   +------O-----+   |
  |          |         |
  +----------O---------+
             C

type Filter

type Filter struct{}

func (Filter) CheckIfFatherExistsAndHasOnlyOne

func (el Filter) CheckIfFatherExistsAndHasOnlyOne(list []*Link) bool

func (Filter) LinkErrorFilterContainerIsLinkedInRelationToItSelf

func (el Filter) LinkErrorFilterContainerIsLinkedInRelationToItSelf(container *Dimensions, list []*Link) []*Link

+-father--------------------------------+ | | | +-containerA----------------+ | | +<-O O->+ | | | | | | | | +->O O<-+ | | +---------------------------+ | | | +---------------------------------------+

func (Filter) LinkHorizontalFilterContainerIsAlignsFromTheLeftOrTheRightInRelationToAnotherContainerDirectlyOrIndirectlyLinked

func (el Filter) LinkHorizontalFilterContainerIsAlignsFromTheLeftOrTheRightInRelationToAnotherContainerDirectlyOrIndirectlyLinked(container *Dimensions, listLinks []*Link) []*Link

Ponto de vista horizontal Option: D - os containers a e b têm o seu tamanho ajustados pelo maior

o container a é centralizado pelo pai
o container b y é ajustado por a y

Correto: +-father--------------------------------+ +-father--------------------------------+ | | | | | +-containerA----------------+ | | +-containerA----------------+ | | | | | | | | | | +--O a link to b O--+ | | +>>O O<<+ | | | | | | | | | | | | | | | +---------------------------+ | | | | +---------------------------+ | | | | | | | | | | | | +-containerB----------------+ | | | | +-containerB----------------+ | | | +--O O--+ | | | | | | | | | a link to b | | | |<<O b link to a O>>| | | | b link to c | | | | | | | | | +--O O--+ | | | +---------------------------+ | | | | +---------------------------+ | | | | | | | | | | | | +-containerC----------------+ | | | | +-containerC----------------+ | | | | | | | | | | | | | | | +<<O c link to a O>>+ | | +--O b link to c O--+ | | | | | | | | | | +---------------------------+ | | +---------------------------+ | | | | | | | +---------------------------------------+ +---------------------------------------+

func (Filter) LinkHorizontalFilterContainerIsCentralizedInRelationToTheFather

func (el Filter) LinkHorizontalFilterContainerIsCentralizedInRelationToTheFather(list []*Link) []*Link

Ponto de vista horizontal Option: A - cada container é centralizado em relação ao pai Correto: +-father--------------------------------+ | | | +-containerA----------------+ | | | | | O-----O O-----O | | | | | +---------------------------+ | | | | +-containerB----------------+ | | | | | O-----O O-----O | | | | | +---------------------------+ | | | +---------------------------------------+

func (Filter) LinkHorizontalFilterContainersWithErrorAndFindContainersWithIsNotAlignsFromTheTopOrTheBottomInRelationToFatherDirectlyOrIndirectlyLinked

func (el Filter) LinkHorizontalFilterContainersWithErrorAndFindContainersWithIsNotAlignsFromTheTopOrTheBottomInRelationToFatherDirectlyOrIndirectlyLinked(listOfContainers []*Dimensions, listOfLinks []*Link) (error, []*Dimensions)

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftInRelationToAnother

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftInRelationToAnother(container *Dimensions, list []*Link) []*Link

Ponto de vista horizontal Option: cada container é alinhado a direita em relação ao container A Correto: +-father--------------------------------+ | | | +-containerA----------------+ | | | | | | +-+--O | | | | | | | | | | | +---------------------------+ | | | | | | | | +-containerB----------------+ | | | | | | | | | +--O | | | | | | | | | +---------------------------+ | | | | | | +-containerC----------------+ | | | | | | | +----O | | | | | | | +---------------------------+ | | | +---------------------------------------+

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftInRelationToTheFather

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftInRelationToTheFather(list []*Link) []*Link

Ponto de vista horizontal Option: C - cada container é alinhado a esquerda em relação ao pai Correto: +-father--------------------------------+ | | | +-containerA----------------+ | | | | | O-----O | | | | | | | +---------------------------+ | | | | +-containerB----------------+ | | | | | O-----O | | | | | | | +---------------------------+ | | | +---------------------------------------+

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftOrTheRightInRelationToAnotherContainer

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheLeftOrTheRightInRelationToAnotherContainer(container *Dimensions, list []*Link) []*Link

Ponto de vista horizontal Option: cada container é alinhado a direita em relação ao container A Correto: +-father---------------------------------------------------------------+ | | | +-containerA----------------+ +-containerD----------------+ | | | | | | | | +--O O-+ | O-+ | | | | | | | | | | | | +---------------------------+ | +---------------------------+ | | | | | | | | | +-containerB----------------+ | +-containerE----------------+ | | | | | | | | | | | | | | O-+ | O-+ | | | | | | | | | | | | +---------------------------+ | +---------------------------+ | | | | | | | | | +-containerC----------------+ | +-containerF----------------+ | | | | | | | | | | | | +--O O-+-O O-+ | | | | | | | | +---------------------------+ +---------------------------+ | | | +----------------------------------------------------------------------+

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightAndTheLeftInRelationToAnother

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightAndTheLeftInRelationToAnother(container *Dimensions, list []*Link) []*Link

Ponto de vista horizontal Option: cada container é alinhado a direita em relação ao container A Correto: +-father------------------------------------+ | | | +-containerA----------------+ | | | | | | +-+--O O--+-+ | | | | | | | | | | | | +---------------------------+ | | | | | | | | | | | | +-containerB----------------+ | | | | | | | | | | | | | +--O O--+ | | | | | | | | | | +---------------------------+ | | | | | | | | +-containerC----------------+ | | | | | | | | | +----O O----+ | | | | | | +---------------------------+ | | | +-------------------------------------------+

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightInRelationToAnother

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightInRelationToAnother(container *Dimensions, list []*Link) []*Link

Ponto de vista horizontal Option: cada container é alinhado a direita em relação ao container A Correto: +-father----------------------------------+ | | | +-containerA----------------+ | | | | | | | O--+-+ | | | | | | | | +---------------------------+ | | | | | | | | +-containerB----------------+ | | | | | | | | | | | O--+ | | | | | | | | +---------------------------+ | | | | | | +-containerC----------------+ | | | | | | | | | O----+ | | | | | | +---------------------------+ | | | +-----------------------------------------+

func (Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightInRelationToTheFather

func (el Filter) LinkHorizontalFilterEachContainerIsAlignsFromTheRightInRelationToTheFather(list []*Link) []*Link

Ponto de vista horizontal Option: B - cada container é alinhado a direita em relação ao pai Correto: +-father--------------------------------+ | | | +-containerA----------------+ | | | | | | | O-----O | | | | | +---------------------------+ | | | | +-containerB----------------+ | | | | | | | O-----O | | | | | +---------------------------+ | | | +---------------------------------------+

func (Filter) LinkVerticalFilterContainerIsAlignsFromTheTopOrTheBottomInRelationToAnotherContainerDirectlyOrIndirectlyLinked

func (el Filter) LinkVerticalFilterContainerIsAlignsFromTheTopOrTheBottomInRelationToAnotherContainerDirectlyOrIndirectlyLinked(container *Dimensions, listLinks []*Link) []*Link

func (Filter) LinkVerticalFilterContainersWithErrorAndFindContainersWithIsNotAlignsFromTheTopOrTheBottomInRelationToFatherDirectlyOrIndirectlyLinked

func (el Filter) LinkVerticalFilterContainersWithErrorAndFindContainersWithIsNotAlignsFromTheTopOrTheBottomInRelationToFatherDirectlyOrIndirectlyLinked(listOfContainers []*Dimensions, listOfLinks []*Link) (error, []*Dimensions)

func (Filter) LinkVerticalFilterEachContainerIsAlignsFromTheTopOrTheBottomInRelationToAnotherContainer

func (el Filter) LinkVerticalFilterEachContainerIsAlignsFromTheTopOrTheBottomInRelationToAnotherContainer(container *Dimensions, list []*Link) []*Link

func (Filter) SearchContainerFather

func (el Filter) SearchContainerFather(list []*Link) *Dimensions

func (Filter) SearchForBBottomToABottomLinksBetweenContainers

func (el Filter) SearchForBBottomToABottomLinksBetweenContainers(container *Dimensions, list []*Link) []*Link

+-father------------------------------------------------------------+ | | | +-containerA--X-------------+ +-containerB--X-------------+ | | | | | | | | | | | | | | | | | | | | +-------------O-------------+ +-------------O-------------+ | | | | | | +---------------------------------+ | | | +-------------------------------------------------------------------+

func (Filter) SearchForBTopAndBottomToATopAndBottomLinksBetweenContainers

func (el Filter) SearchForBTopAndBottomToATopAndBottomLinksBetweenContainers(container *Dimensions, list []*Link) []*Link

+-father------------------------------------------------------------+ | | | +---------------------------------+ | | | | | | +-containerA--O-------------+ +-containerB--O-------------+ | | | | | | | | | | | | | | | | | | | | +-------------O-------------+ +-------------O-------------+ | | | | | | +---------------------------------+ | | | +-------------------------------------------------------------------+

func (Filter) SearchForBTopToATopLinksBetweenContainers

func (el Filter) SearchForBTopToATopLinksBetweenContainers(container *Dimensions, list []*Link) []*Link

+-father------------------------------------------------------------+ | | | +---------------------------------+ | | | | | | +-containerA--O-------------+ +-containerB--O-------------+ | | | | | | | | | | | | | | | | | | | | +-------------X-------------+ +-------------X-------------+ | | | +-------------------------------------------------------------------+

func (Filter) SearchForFloatingContainers

func (el Filter) SearchForFloatingContainers(listLink []*Link, listDimensions []*Dimensions) []*Dimensions

+-father--------------------------------+ | | | +-containerA--X-------------+ | | | | | | X X | | | | | | +-------------X-------------+ | | | +---------------------------------------+

type Link struct {
	ToDebug          string
	ContainerA       *Dimensions
	ContainerAFather bool
	ContainerB       *Dimensions
	Top              WallTop
	Left             WallLeft
	Right            WallRight
	Bottom           WallBottom
}
func NewLink(debug string, containerA, containerB *Dimensions, top WallTop, left WallLeft, right WallRight, bottom WallBottom) (error, *Link)

func NewLinkWithFather

func NewLinkWithFather(debug string, containerB, father *Dimensions, top WallTop, left WallLeft, right WallRight, bottom WallBottom) (error, *Link)

func (*Link) LinkAssembly

func (el *Link) LinkAssembly(father Link, list []Link) error

type WallBottom

type WallBottom int
const (
	// KWallBottomNotSet
	//
	// en: Wall bottom not set
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerB----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------X-------------+     |
	//   |                                       |
	//   +-------------------X-------------------+
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerA----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------X-------------+     |
	//   |                                       |
	//   |     +-containerB----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------X-------------+     |
	//   |                                       |
	//   +---------------------------------------+
	KWallBottomNotSet WallBottom = iota

	// KWallBottomContainerBLinkOnTopToContainerALinkOnBottom
	//
	// en: Wall bottom from container B link on top to container A link on bottom
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerB--O-------------+     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     +-------------+-------------+     |
	//   |                   |                   |
	//   +-------------------O-------------------+
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerA----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------O-------------+     |
	//   |                   |                   |
	//   |     +-containerB--O-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +---------------------------------------+
	KWallBottomContainerBLinkOnTopToContainerALinkOnBottom

	// KWallBottomContainerBLinkOnBottomToContainerALinkOnBottom
	//
	// en: Wall bottom from container B link on bottom to container A link on bottom
	//  +-father--------------------------------+
	//  |                                       |
	//  |     +-containerB----------------+     |
	//  |     |                           |     |
	//  |     |                           |     |
	//  |     |                           |     |
	//  |     +-------------O-------------+     |
	//  |                   |                   |
	//  +-------------------O-------------------+
	//
	//  +-father--------------------------------+
	//  |                                       |
	//  |     +-containerA----------------+     |
	//  |     |                           |     |
	//  |     |                           |     |
	//  |     |                           |     |
	//  |     +-------------O-------------+     |
	//  |                   |                   |
	//  |     +-containerB--+-------------+     |
	//  |     |             |             |     |
	//  |     |             |             |     |
	//  |     |             |             |     |
	//  |     +-------------O-------------+     |
	//  |                                       |
	//  +---------------------------------------+
	//
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   +-------------O-------------+   +-------------O-------------+   |
	//  |                 |                               |                 |
	//  |                 +-------------------------------+                 |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallBottomContainerBLinkOnBottomToContainerALinkOnBottom
)

type WallLeft

type WallLeft int
const (
	// KWallLeftNotSet
	//
	// en: Wall left not set
	//  +-father----------------------------+
	//  |                                   |
	//  |   +-containerB----------------+   |
	//  |   |                           |   |
	//  X   X                           |   |
	//  |   |                           |   |
	//  |   +---------------------------+   |
	//  |                                   |
	//  +-----------------------------------+
	//
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           X   X                           |   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallLeftNotSet WallLeft = iota

	// KWallLeftContainerBLinkOnLeftToContainerALinkOnRight
	//
	// en: Wall left from container B link on left to container A link on right
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           O---O                           |   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallLeftContainerBLinkOnLeftToContainerALinkOnRight

	// KWallLeftContainerBLinkOnLeftToContainerALinkOnLeft
	//
	// en: Wall left from container B link on left to container A link on left
	//  +-father----------------------------+
	//  |                                   |
	//  |   +-containerB----------------+   |
	//  |   |                           |   |
	//  O---O                           |   |
	//  |   |                           |   |
	//  |   +---------------------------+   |
	//  |                                   |
	//  +-----------------------------------+
	//
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   O---------------------------+---O                           |   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallLeftContainerBLinkOnLeftToContainerALinkOnLeft
)

type WallRight

type WallRight int
const (
	// KWallRightNotSet
	//
	// en: Wall right not set
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           X   |                           X   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	//
	//  +-father----------------------------+
	//  |                                   |
	//  |   +-containerB----------------+   |
	//  |   |                           |   |
	//  |   |                           X   X
	//  |   |                           |   |
	//  |   +---------------------------+   |
	//  |                                   |
	//  +-----------------------------------+
	KWallRightNotSet WallRight = iota

	// KWallRightContainerBLinkOnRightToContainerALinkOnRight
	//
	// en: Wall right from container B lin on right to container A link on right
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +-containerB----------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           O---+---------------------------O   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	//
	//  +-father----------------------------+
	//  |                                   |
	//  |   +-containerB----------------+   |
	//  |   |                           |   |
	//  |   |                           O---O
	//  |   |                           |   |
	//  |   +---------------------------+   |
	//  |                                   |
	//  +-----------------------------------+
	KWallRightContainerBLinkOnRightToContainerALinkOnRight
)

type WallTop

type WallTop int
const (
	// KWallTopNotSet
	//
	// English: Wall top not set
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerB--X-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +-------------------X-------------------+
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerA----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------X-------------+     |
	//   |                                       |
	//   |     +-containerB--X-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +---------------------------------------+
	KWallTopNotSet WallTop = iota

	// KWallTopContainerBLinkOnTopToContainerALinkOnTop
	//
	// en: Wall top container B link on top to container A link on top
	//   +-father------------O-------------------+
	//   |                   |                   |
	//   |     +-containerB--O-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +---------------------------------------+
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerA--O-------------+     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     +-------------+-------------+     |
	//   |                   |                   |
	//   |     +-containerB--O-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +---------------------------------------+
	//
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |                 +-------------------------------+                 |
	//  |                 |                               |                 |
	//  |   +-containerA--O-------------+   +-containerB--O-------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   +-------------O-------------+   +-------------O-------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallTopContainerBLinkOnTopToContainerALinkOnTop

	// KWallTopContainerBLinkOnTopToContainerALinkOnBottom
	//
	// en: Wall top from container B link on top to container A link on bottom
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerB--O-------------+     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     |             |             |     |
	//   |     +-------------+-------------+     |
	//   |                   |                   |
	//   +-------------------O-------------error-+
	//
	//   +-father--------------------------------+
	//   |                                       |
	//   |     +-containerA----------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +-------------O-------------+     |
	//   |                   |                   |
	//   |     +-containerB--O-------------+     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     |                           |     |
	//   |     +---------------------------+     |
	//   |                                       |
	//   +---------------------------------------+
	//
	//  +-father------------------------------------------------------------+
	//  |                                                                   |
	//  |   +-containerA----------------+   +---------------------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   +-------------O-------------+   +---------------------------+   |
	//  |                 |                                                 |
	//  |                 +-------------------------------+                 |
	//  |                                                 |                 |
	//  |   +---------------------------+   +-containerB--O-------------+   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   |                           |   |                           |   |
	//  |   +---------------------------+   +---------------------------+   |
	//  |                                                                   |
	//  +-------------------------------------------------------------------+
	KWallTopContainerBLinkOnTopToContainerALinkOnBottom
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL