Documentation
¶
Index ¶
- Constants
- func CreateVariables() (variable string)
- type Button
- func (but *Button) Draw(c *g.Canvas)
- func (but *Button) GetName() string
- func (but *Button) GetPos() int
- func (but *Button) GetSubelements() []elements.Element
- func (but *Button) GetXLeft() int
- func (but *Button) GetXRight() int
- func (but *Button) GetYBot() int
- func (but *Button) GetYTop() int
- func (but *Button) Press()
- func (but *Button) SetXLeft(i int)
- func (but *Button) SetXLeftObjectSelect(objXLeft int)
- func (but *Button) SetXRight(i int)
- func (but *Button) SetXRightObjectSelect(objXRight int)
- func (but *Button) SetYBot(i int)
- func (but *Button) SetYTop(i int)
- type File
- func (fil *File) Adding(e elements.Element)
- func (fil *File) Draw(c *g.Canvas)
- func (fil *File) Expand()
- func (fil *File) GetAddingState() bool
- func (fil *File) GetBaseHeight() int
- func (fil *File) GetBaseWidth() int
- func (fil *File) GetID() int
- func (fil *File) GetLevel() int
- func (fil *File) GetName() string
- func (fil *File) GetParent() elements.Element
- func (fil *File) GetRelativeX() int
- func (fil *File) GetRelativeY() int
- func (fil *File) GetSubelements() []elements.Element
- func (fil *File) GetType() int
- func (fil *File) GetXLeft() int
- func (fil *File) GetXRight() int
- func (fil *File) GetYBot() int
- func (fil *File) GetYTop() int
- func (fil *File) Removing(e elements.Element)
- func (fil *File) SetAddingState(a bool)
- func (fil *File) SetAsParent(child elements.Element)
- func (fil *File) SetLevel(i int)
- func (fil *File) SetParent(par elements.Element)
- func (fil *File) SetRelativeX(i int)
- func (fil *File) SetRelativeY(i int)
- func (fil *File) SetXLeft(x int)
- func (fil *File) SetXRight(x int)
- func (fil *File) SetYBot(y int)
- func (fil *File) SetYTop(y int)
- type Folder
- func (fol *Folder) Adding(e elements.Element)
- func (fol *Folder) Draw(c *g.Canvas)
- func (fol *Folder) Expand()
- func (fol *Folder) GetAddingState() bool
- func (fol *Folder) GetBaseHeight() int
- func (fol *Folder) GetBaseWidth() int
- func (fol *Folder) GetID() int
- func (fol *Folder) GetLevel() int
- func (fol *Folder) GetName() string
- func (fol *Folder) GetParent() elements.Element
- func (fol *Folder) GetRelativeX() int
- func (fol *Folder) GetRelativeY() int
- func (fol *Folder) GetSubelements() []elements.Element
- func (fol *Folder) GetType() int
- func (fol *Folder) GetXLeft() int
- func (fol *Folder) GetXRight() int
- func (fol *Folder) GetYBot() int
- func (fol *Folder) GetYTop() int
- func (fol *Folder) Removing(e elements.Element)
- func (fol *Folder) SetAddingState(a bool)
- func (fol *Folder) SetAsParent(child elements.Element)
- func (fol *Folder) SetLevel(i int)
- func (fol *Folder) SetParent(par elements.Element)
- func (fol *Folder) SetRelativeX(i int)
- func (fol *Folder) SetRelativeY(i int)
- func (fol *Folder) SetXLeft(x int)
- func (fol *Folder) SetXRight(x int)
- func (fol *Folder) SetYBot(y int)
- func (fol *Folder) SetYTop(y int)
- type Object
- func (ob *Object) Adding(e elements.Element)
- func (ob *Object) Draw(c *g.Canvas)
- func (ob *Object) GetBaseHeight() int
- func (ob *Object) GetBaseWidth() int
- func (ob *Object) GetID() int
- func (ob *Object) GetLevel() int
- func (ob *Object) GetName() string
- func (ob *Object) GetParent() elements.Element
- func (ob *Object) GetRelativeX() int
- func (ob *Object) GetRelativeY() int
- func (ob *Object) GetSubelements() []elements.Element
- func (ob *Object) GetType() int
- func (ob *Object) GetXLeft() int
- func (ob *Object) GetXRight() int
- func (ob *Object) GetYBot() int
- func (ob *Object) GetYTop() int
- func (ob *Object) Removing(e elements.Element)
- func (ob *Object) SetAsParent(child elements.Element)
- func (ob *Object) SetLevel(i int)
- func (ob *Object) SetParent(par elements.Element)
- func (ob *Object) SetRelativeX(i int)
- func (ob *Object) SetRelativeY(i int)
- func (ob *Object) SetXLeft(x int)
- func (ob *Object) SetXRight(x int)
- func (ob *Object) SetYBot(y int)
- func (ob *Object) SetYTop(y int)
- type Variable
Constants ¶
View Source
const ButtonXLeftOffset int = 5
View Source
const ButtonXRightOffset int = 5
View Source
const FileBaseHeight = 40
View Source
const FileBaseWidth = 110
View Source
const FileType = 2
View Source
const FolderBaseHeight = 40
View Source
const FolderBaseWidth = 110
View Source
const FolderType = 1
View Source
const ObjectBaseHeight = 100
View Source
const ObjectBaseWidth = 100
View Source
const ObjectType = 3
View Source
const VariableType = 4
Variables ¶
This section is empty.
Functions ¶
func CreateVariables ¶
func CreateVariables() (variable string)
Types ¶
type Button ¶
type Button struct {
// contains filtered or unexported fields
}
func CreateButton ¶
func (*Button) GetSubelements ¶
func (*Button) SetXLeftObjectSelect ¶
func (*Button) SetXRightObjectSelect ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func CreateAndInitFiles ¶
func CreateFiles ¶
func (*File) GetAddingState ¶
func (*File) GetBaseHeight ¶
func (*File) GetBaseWidth ¶
func (*File) GetRelativeX ¶
func (*File) GetRelativeY ¶
func (*File) GetSubelements ¶
func (*File) SetAddingState ¶
func (*File) SetAsParent ¶
func (*File) SetRelativeX ¶
func (*File) SetRelativeY ¶
type Folder ¶
type Folder struct {
// contains filtered or unexported fields
}
func CreateAndInitFolders ¶
func CreateFolders ¶
func (*Folder) GetAddingState ¶
func (*Folder) GetBaseHeight ¶
func (*Folder) GetBaseWidth ¶
func (*Folder) GetRelativeX ¶
func (*Folder) GetRelativeY ¶
func (*Folder) GetSubelements ¶
func (*Folder) SetAddingState ¶
func (*Folder) SetAsParent ¶
func (*Folder) SetRelativeX ¶
func (*Folder) SetRelativeY ¶
type Object ¶
func CreateAndInitObject ¶
func CreateObject ¶
func (*Object) GetBaseHeight ¶
func (*Object) GetBaseWidth ¶
func (*Object) GetRelativeX ¶
func (*Object) GetRelativeY ¶
func (*Object) GetSubelements ¶
func (*Object) SetAsParent ¶
func (*Object) SetRelativeX ¶
func (*Object) SetRelativeY ¶
Click to show internal directories.
Click to hide internal directories.