MCPcopy Create free account

hub / github.com/faiface/gui / functions

Functions62 in github.com/faiface/gui

↓ 49 callersMethodDraw
()
env.go:32
↓ 20 callersFunctionHexToColor
(hex string)
examples/pexeso/main.go:22
↓ 15 callersMethodEvents
()
env.go:31
↓ 8 callersMethodMakeEnv
MakeEnv creates a new virtual Env that interacts with the root Env of the Mux. Closing the Draw() channel of the Env will not close the Mux, or any ot
mux.go:59
↓ 4 callersFunctionFixedLeft
(env gui.Env, maxX int)
examples/imageviewer/splits.go:18
↓ 3 callersFunctionButton
(env gui.Env, theme *Theme, text string, action func())
examples/imageviewer/button.go:12
↓ 3 callersFunctionEvenHorizontal
(env gui.Env, minI, maxI, n int)
examples/imageviewer/splits.go:90
↓ 3 callersFunctionFixedTop
(env gui.Env, maxY int)
examples/imageviewer/splits.go:54
↓ 3 callersFunctionMakeTextImage
(text string, face font.Face, clr color.Color)
examples/imageviewer/util.go:66
↓ 2 callersMethodClose
()
examples/imageviewer/util.go:20
↓ 2 callersFunctionDrawCentered
(dst draw.Image, r image.Rectangle, src image.Image, op draw.Op)
examples/imageviewer/util.go:84
↓ 2 callersMethodmakeEnv
(master bool)
mux.go:71
↓ 2 callersFunctionmakeGLFWWin
(o *options)
win/win.go:128
↓ 2 callersMethodopenGLFlush
(r image.Rectangle)
win/win.go:328
↓ 1 callersFunctionBrowser
(env gui.Env, theme *Theme, dir string, cd <-chan string, view chan<- string)
examples/imageviewer/browser.go:15
↓ 1 callersFunctionCanvas
(env gui.Env, pick <-chan color.Color, r image.Rectangle)
examples/paint/main.go:32
↓ 1 callersFunctionColorPicker
(env gui.Env, pick chan<- color.Color, r image.Rectangle, clr color.Color)
examples/paint/main.go:14
↓ 1 callersFunctionDrawLeftCentered
(dst draw.Image, r image.Rectangle, src image.Image, op draw.Op)
examples/imageviewer/util.go:95
↓ 1 callersFunctionEqualColors
(c1, c2 color.Color)
examples/pexeso/main.go:16
↓ 1 callersFunctionFixedBottom
(env gui.Env, minY int)
examples/imageviewer/splits.go:72
↓ 1 callersFunctionFixedRight
(env gui.Env, minX int)
examples/imageviewer/splits.go:36
↓ 1 callersFunctionMakeEventsChan
MakeEventsChan implements a channel of events with an unlimited capacity. It does so by creating a goroutine that queues incoming events. Sending to t
event.go:37
↓ 1 callersMethodMetrics
()
examples/imageviewer/util.go:50
↓ 1 callersFunctionTTFToFace
(ttf []byte, size float64)
examples/imageviewer/util.go:56
↓ 1 callersFunctionTile
(env gui.Env, pair chan PairMsg, r image.Rectangle, clr color.Color)
examples/pexeso/main.go:54
↓ 1 callersFunctionViewer
(env gui.Env, theme *Theme, view <-chan string)
examples/imageviewer/viewer.go:17
↓ 1 callersMethodopenGLThread
()
win/win.go:277
FunctionBorderless
Borderless option makes the window borderless.
win/win.go:50
MethodDraw
()
mux.go:69
MethodDraw
Draw returns the draw channel of the window.
win/win.go:177
MethodDraw
()
examples/imageviewer/splits.go:16
MethodEvents
()
mux.go:68
MethodEvents
Events returns the events channel of the window.
win/win.go:174
MethodEvents
()
examples/imageviewer/splits.go:15
MethodGlyph
(dot fixed.Point26_6, r rune)
examples/imageviewer/util.go:26
MethodGlyphAdvance
(r rune)
examples/imageviewer/util.go:38
MethodGlyphBounds
(r rune)
examples/imageviewer/util.go:32
MethodKern
(r0, r1 rune)
examples/imageviewer/util.go:44
FunctionMaximized
Maximized option makes the window start maximized.
win/win.go:57
FunctionNew
New creates a new window with all the supplied options. The default title is empty and the default size is 640x480.
win/win.go:66
FunctionNewMux
NewMux creates a new Mux that multiplexes the given Env. It returns the Mux along with a master Env. The master Env is just like any other Env created
mux.go:23
FunctionResizable
Resizable option makes the window resizable by the user.
win/win.go:43
FunctionSize
Size option sets the width and height of the window.
win/win.go:35
MethodString
()
event.go:14
MethodString
()
event.go:22
MethodString
()
win/events.go:81
MethodString
()
win/events.go:82
MethodString
()
win/events.go:83
MethodString
()
win/events.go:84
MethodString
()
win/events.go:85
MethodString
()
win/events.go:86
MethodString
()
win/events.go:87
MethodString
()
win/events.go:88
MethodString
()
win/events.go:89
FunctionTitle
Title option sets the title (caption) of the window.
win/win.go:28
MethodeventThread
()
win/win.go:208
Functionmain
()
examples/paint/main.go:126
Functionmain
()
examples/pexeso/main.go:152
Functionmain
()
examples/imageviewer/main.go:64
Functionrun
()
examples/paint/main.go:93
Functionrun
()
examples/pexeso/main.go:106
Functionrun
()
examples/imageviewer/main.go:13