Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afolmert/libtcod-go
/ functions
Functions
776 in github.com/afolmert/libtcod-go
⨍
Functions
776
◇
Types & classes
93
↓ 60 callers
Method
AddWidget
(w IWidget)
tcod/gui.go:689
↓ 44 callers
Function
If
(condition bool, tv, fv interface{})
tcod/tcod.go:119
↓ 39 callers
Method
SetDefaultBackground
(col, colFocus Color)
tcod/gui.go:103
↓ 39 callers
Method
SetDefaultForeground
(col, colFocus Color)
tcod/gui.go:104
↓ 37 callers
Function
toBool
Bool handling
tcod/tcod.go:199
↓ 35 callers
Method
PrintEx
(x, y int, flag BkgndFlag, alignment Alignment, fmts string, v ...interface{})
tcod/tcod.go:529
↓ 34 callers
Function
fromBool
(b bool)
tcod/tcod.go:207
↓ 31 callers
Method
Clear
()
tcod/tcod.go:520
↓ 31 callers
Function
fromColor
(c Color)
tcod/tcod.go:296
↓ 30 callers
Method
PutChar
(x, y, c int, flag BkgndFlag)
tcod/tcod.go:526
↓ 29 callers
Method
runInternal
()
hmtool/main.go:552
↓ 28 callers
Method
SetCallback
(callback SliderCallback, data interface{})
tcod/gui.go:1540
↓ 27 callers
Function
peekOperation
(l list.List)
hmtool/main.go:364
↓ 26 callers
Method
GetHeight
()
tcod/gui.go:89
↓ 26 callers
Method
GetWidth
()
tcod/gui.go:87
↓ 26 callers
Method
NewSlider
(x, y, w int, min, max float32, label string, tip string)
tcod/gui.go:1457
↓ 26 callers
Method
reseed
()
hmtool/main.go:494
↓ 25 callers
Method
SetValue
(value float32)
tcod/gui.go:1549
↓ 24 callers
Method
GetInt
()
tcod/tcod.go:2340
↓ 22 callers
Method
SetCharBackground
(x, y int, color Color, flag BkgndFlag)
tcod/tcod.go:523
↓ 22 callers
Function
restore
()
hmtool/main.go:1831
↓ 22 callers
Function
toColor
(c C.TCOD_color_t)
tcod/tcod.go:303
↓ 18 callers
Method
Right
()
tcod/tcod.go:1303
↓ 17 callers
Method
Left
()
tcod/tcod.go:1299
↓ 17 callers
Method
SetVisible
(visible bool)
tcod/gui.go:100
↓ 16 callers
Method
Blit
(xSrc, ySrc, wSrc, hSrc int, dst IConsole, xDst, yDst int, foregroundAlpha, backgroundAlpha float32)
tcod/tcod.go:545
↓ 16 callers
Method
addCode
add some code to the generated code
hmtool/main.go:519
↓ 14 callers
Method
Register
(w IWidget)
tcod/gui.go:139
↓ 12 callers
Method
Rect
(x, y, w, h int, clear bool, flag BkgndFlag)
tcod/tcod.go:537
↓ 11 callers
Method
NewButton
(label string, tip string, callback WidgetCallback, userData interface{})
tcod/gui.go:486
↓ 10 callers
Method
IsVisible
()
tcod/gui.go:79
↓ 10 callers
Method
Lerp
(c2 Color, coef float32)
tcod/tcod.go:348
↓ 10 callers
Method
SetFormat
(fmt string)
tcod/gui.go:1545
↓ 10 callers
Method
initializeWidget
Multiple dispatch: self
tcod/gui.go:259
↓ 9 callers
Method
AddProperty
(name string, valueType ParserValueType, mandatory bool)
tcod/tcod.go:2044
↓ 9 callers
Function
SysElapsedSeconds
()
tcod/tcod.go:1073
↓ 9 callers
Function
SysSetFps
(val int)
tcod/tcod.go:1099
↓ 9 callers
Method
add
run self operation and adds it in the list
hmtool/main.go:524
↓ 9 callers
Function
addOperationButton
(tools *tcod.ToolBar, opType OpType, callback tcod.WidgetCallback)
hmtool/main.go:2089
↓ 8 callers
Function
NewConsole
(w, h int)
tcod/tcod.go:558
↓ 8 callers
Method
Print
(x, y int, fmts string, v ...interface{})
tcod/tcod.go:528
↓ 8 callers
Method
SetName
(name string)
tcod/gui.go:944
↓ 8 callers
Method
addInitCode
add a global variable or a function to the generated code
hmtool/main.go:512
↓ 8 callers
Function
min
(a, b int)
sample/main.go:45
↓ 7 callers
Method
GetChar
(x, y int)
tcod/tcod.go:541
↓ 7 callers
Method
GetCurrentColors
()
tcod/gui.go:107
↓ 7 callers
Method
SetValue
(label string)
tcod/gui.go:1092
↓ 7 callers
Method
getButton
()
hmtool/main.go:556
↓ 7 callers
Method
initializeOperation
(opType OpType)
hmtool/main.go:566
↓ 7 callers
Function
message
(delay float32, fmts string, v ...interface{})
hmtool/main.go:1812
↓ 6 callers
Method
BlitRect
(console *Console, x, y, w, h int, flag BkgndFlag)
tcod/tcod.go:1770
↓ 6 callers
Method
GetEx
(f FloatArray, noiseType NoiseType)
tcod/tcod.go:2233
↓ 6 callers
Function
NewNoiseWithOptions
(dimensions int, hurst float32, lacunarity float32, random *Random)
tcod/tcod.go:2229
↓ 6 callers
Method
NewRadioButton
(label string, tip string, callback WidgetCallback, userData interface{})
tcod/gui.go:1355
↓ 6 callers
Method
PrintRectEx
(x, y, w, h int, flag BkgndFlag, alignment Alignment, fmts string, v ...interface{})
tcod/tcod.go:531
↓ 6 callers
Method
Select
()
tcod/gui.go:1415
↓ 6 callers
Method
SetCharForeground
(x, y int, color Color)
tcod/tcod.go:524
↓ 6 callers
Function
cos
(f float32)
sample/main.go:25
↓ 6 callers
Function
max
(a, b int)
sample/main.go:63
↓ 6 callers
Function
newRandom
(data C.TCOD_random_t)
tcod/tcod.go:1937
↓ 5 callers
Method
ComputeSize
()
tcod/gui.go:80
↓ 5 callers
Function
MouseShowCursor
(visible bool)
tcod/tcod.go:494
↓ 5 callers
Method
PutPixel
(x, y int, color Color)
tcod/tcod.go:1760
↓ 5 callers
Method
Render
(w IWidget)
tcod/gui.go:82
↓ 5 callers
Method
Update
(w IWidget, k Key)
tcod/gui.go:81
↓ 5 callers
Function
initColors
Main program
hmtool/main.go:1735
↓ 4 callers
Method
GetValue
()
tcod/tcod.go:390
↓ 4 callers
Method
GetY
()
tcod/gui.go:85
↓ 4 callers
Method
NewLabelWithTip
(x, y int, label string, tip string)
tcod/gui.go:1067
↓ 4 callers
Method
NewToolBarWithWidth
(x, y, w int, name, tip string)
tcod/gui.go:896
↓ 4 callers
Method
NewVBox
(x, y, padding int)
tcod/gui.go:739
↓ 4 callers
Method
RegisterStruct
(name string)
tcod/tcod.go:2106
↓ 4 callers
Method
SetProperties
change a cell properties
tcod/tcod.go:1224
↓ 4 callers
Method
SetSensitivity
(sensitivity float32)
tcod/gui.go:1554
↓ 4 callers
Function
SysElapsedMilliseconds
()
tcod/tcod.go:1069
↓ 4 callers
Function
SysGetLastFrameLength
()
tcod/tcod.go:1107
↓ 4 callers
Function
abs
(i int)
sample/main.go:97
↓ 4 callers
Function
atoi
(s string)
sample/main.go:29
↓ 4 callers
Method
buildCode
generate the code corresponding to the list of operations
hmtool/main.go:421
↓ 4 callers
Method
createParamUi
()
hmtool/main.go:554
↓ 4 callers
Method
getOpType
()
hmtool/main.go:558
↓ 4 callers
Method
initializeButton
(x, y, width, height int, label string, tip string, callback WidgetCallback, userData interface{})
tcod/gui.go:498
↓ 3 callers
Method
AddListProperty
(name string, valueType ParserValueType, mandatory bool)
tcod/tcod.go:2051
↓ 3 callers
Method
AddSeparatorWithTip
(txt string, tip string)
tcod/gui.go:954
↓ 3 callers
Function
ClampF
(a, b, x float32)
tcod/tcod.go:131
↓ 3 callers
Method
Contains
(x, y int)
tcod/tcod.go:1498
↓ 3 callers
Method
Draw
(console IConsole)
sample/asciiart.go:173
↓ 3 callers
Method
GetCharBackground
(x, y int)
tcod/tcod.go:521
↓ 3 callers
Method
GetCharForeground
(x, y int)
tcod/tcod.go:522
↓ 3 callers
Method
GetFbmEx
(f FloatArray, octaves float32, noiseType NoiseType)
tcod/tcod.go:2241
↓ 3 callers
Method
GetFloat
()
tcod/tcod.go:2344
↓ 3 callers
Method
GetMouseIn
()
tcod/gui.go:95
↓ 3 callers
Method
GetMouseL
()
tcod/gui.go:97
↓ 3 callers
Method
GetTurbulenceEx
(f FloatArray, octaves float32, noiseType NoiseType)
tcod/tcod.go:2246
↓ 3 callers
Method
GetX
()
tcod/gui.go:83
↓ 3 callers
Method
IsKeyboardFocused
(w IWidget)
tcod/gui.go:192
↓ 3 callers
Method
Lighten
HSV transformations
tcod/tcod.go:356
↓ 3 callers
Function
MouseGetStatus
()
tcod/tcod.go:490
↓ 3 callers
Function
NewAddLevelOperation
(level float32)
hmtool/main.go:1111
↓ 3 callers
Method
Normalize
()
tcod/tcod.go:1607
next →
1–100 of 776, ranked by callers