Documentation ¶
Overview ¶
Package nk provides Go bindings for nuklear.h — a small ANSI C gui library.
Index ¶
- Constants
- Variables
- func NkBufferClear(arg0 *Buffer)
- func NkBufferFree(arg0 *Buffer)
- func NkBufferInfo(arg0 *MemoryStatus, arg1 *Buffer)
- func NkBufferInit(arg0 *Buffer, arg1 *Allocator, size Size)
- func NkBufferInitDefault(arg0 *Buffer)
- func NkBufferInitFixed(arg0 *Buffer, memory unsafe.Pointer, size Size)
- func NkBufferMark(arg0 *Buffer, kind C.enum_)
- func NkBufferMemory(arg0 *Buffer) unsafe.Pointer
- func NkBufferMemoryConst(arg0 *Buffer) unsafe.Pointer
- func NkBufferPush(arg0 *Buffer, kind C.enum_, memory unsafe.Pointer, size Size, align Size)
- func NkBufferReset(arg0 *Buffer, kind C.enum_)
- func NkButtonSetBehavior(arg0 *Context, arg1 C.enum_)
- func NkChartAddSlot(ctx *Context, arg1 C.enum_, count int32, minValue float32, maxValue float32)
- func NkChartAddSlotColored(ctx *Context, arg1 C.enum_, arg2 Color, active Color, count int32, ...)
- func NkChartEnd(arg0 *Context)
- func NkCheckFlagsLabel(arg0 *Context, arg1 *byte, flags uint32, value uint32) uint32
- func NkCheckFlagsText(arg0 *Context, arg1 *byte, arg2 int32, flags uint32, value uint32) uint32
- func NkClear(arg0 *Context)
- func NkColorD(r *float64, g *float64, b *float64, a *float64, arg4 Color)
- func NkColorDv(rgbaOut []float64, arg1 Color)
- func NkColorF(r *float32, g *float32, b *float32, a *float32, arg4 Color)
- func NkColorFv(rgbaOut []float32, arg1 Color)
- func NkColorHexRgb(output []byte, arg1 Color)
- func NkColorHexRgba(output []byte, arg1 Color)
- func NkColorHsvB(outH *byte, outS *byte, outV *byte, arg3 Color)
- func NkColorHsvBv(hsvOut []byte, arg1 Color)
- func NkColorHsvF(outH *float32, outS *float32, outV *float32, arg3 Color)
- func NkColorHsvFv(hsvOut []float32, arg1 Color)
- func NkColorHsvI(outH *int32, outS *int32, outV *int32, arg3 Color)
- func NkColorHsvIv(hsvOut []int32, arg1 Color)
- func NkColorHsvaB(h *byte, s *byte, v *byte, a *Byte, arg4 Color)
- func NkColorHsvaBv(hsvaOut []byte, arg1 Color)
- func NkColorHsvaF(outH *float32, outS *float32, outV *float32, outA *float32, arg4 Color)
- func NkColorHsvaFv(hsvaOut []float32, arg1 Color)
- func NkColorHsvaI(h *int32, s *int32, v *int32, a *int32, arg4 Color)
- func NkColorHsvaIv(hsvaOut []int32, arg1 Color)
- func NkColorfHsvaF(outH *float32, outS *float32, outV *float32, outA *float32, in Colorf)
- func NkColorfHsvaFv(hsva *float32, in Colorf)
- func NkCombo(arg0 *Context, items []string, count int32, selected int32, itemHeight int32, ...) int32
- func NkComboClose(arg0 *Context)
- func NkComboEnd(arg0 *Context)
- func NkComboSeparator(arg0 *Context, itemsSeparatedBySeparator string, separator int32, ...) int32
- func NkComboString(arg0 *Context, itemsSeparatedByZeros string, selected int32, count int32, ...) int32
- func NkCombobox(arg0 *Context, items []string, count int32, selected *int32, itemHeight int32, ...)
- func NkComboboxSeparator(arg0 *Context, itemsSeparatedBySeparator string, separator int32, ...)
- func NkComboboxString(arg0 *Context, itemsSeparatedByZeros string, selected *int32, count int32, ...)
- func NkContextualClose(arg0 *Context)
- func NkContextualEnd(arg0 *Context)
- func NkDrawForeach(ctx *Context, b *Buffer, fn func(cmd *DrawCommand))
- func NkDrawImage(arg0 *CommandBuffer, arg1 Rect, arg2 *Image, arg3 Color)
- func NkDrawListAddImage(arg0 *DrawList, texture Image, rect Rect, arg3 Color)
- func NkDrawListAddText(arg0 *DrawList, arg1 *UserFont, arg2 Rect, text string, len int32, ...)
- func NkDrawListFillCircle(arg0 *DrawList, center Vec2, radius float32, col Color, segs uint32)
- func NkDrawListFillPolyConvex(arg0 *DrawList, points *Vec2, count uint32, arg3 Color, arg4 C.enum_)
- func NkDrawListFillRect(arg0 *DrawList, rect Rect, arg2 Color, rounding float32)
- func NkDrawListFillRectMultiColor(arg0 *DrawList, rect Rect, left Color, top Color, right Color, bottom Color)
- func NkDrawListFillTriangle(arg0 *DrawList, a Vec2, b Vec2, c Vec2, arg4 Color)
- func NkDrawListInit(arg0 *DrawList)
- func NkDrawListPathArcTo(arg0 *DrawList, center Vec2, radius float32, aMin float32, aMax float32, ...)
- func NkDrawListPathArcToFast(arg0 *DrawList, center Vec2, radius float32, aMin int32, aMax int32)
- func NkDrawListPathClear(arg0 *DrawList)
- func NkDrawListPathCurveTo(arg0 *DrawList, p2 Vec2, p3 Vec2, p4 Vec2, numSegments uint32)
- func NkDrawListPathFill(arg0 *DrawList, arg1 Color)
- func NkDrawListPathLineTo(arg0 *DrawList, pos Vec2)
- func NkDrawListPathRectTo(arg0 *DrawList, a Vec2, b Vec2, rounding float32)
- func NkDrawListPathStroke(arg0 *DrawList, arg1 Color, closed C.enum_, thickness float32)
- func NkDrawListSetup(arg0 *DrawList, arg1 *ConvertConfig, cmds *Buffer, vertices *Buffer, ...)
- func NkDrawListStrokeCircle(arg0 *DrawList, center Vec2, radius float32, arg3 Color, segs uint32, ...)
- func NkDrawListStrokeCurve(arg0 *DrawList, p0 Vec2, cp0 Vec2, cp1 Vec2, p1 Vec2, arg5 Color, ...)
- func NkDrawListStrokeLine(arg0 *DrawList, a Vec2, b Vec2, arg3 Color, thickness float32)
- func NkDrawListStrokePolyLine(arg0 *DrawList, pnts *Vec2, cnt uint32, arg3 Color, arg4 C.enum_, ...)
- func NkDrawListStrokeRect(arg0 *DrawList, rect Rect, arg2 Color, rounding float32, thickness float32)
- func NkDrawListStrokeTriangle(arg0 *DrawList, a Vec2, b Vec2, c Vec2, arg4 Color, thickness float32)
- func NkDrawNineSlice(arg0 *CommandBuffer, arg1 Rect, arg2 *NineSlice, arg3 Color)
- func NkDrawText(arg0 *CommandBuffer, arg1 Rect, text string, len int32, arg4 *UserFont, ...)
- func NkEditFocus(arg0 *Context, flags Flags)
- func NkEditUnfocus(arg0 *Context)
- func NkEnd(ctx *Context)
- func NkFillArc(arg0 *CommandBuffer, cx float32, cy float32, radius float32, aMin float32, ...)
- func NkFillCircle(arg0 *CommandBuffer, arg1 Rect, arg2 Color)
- func NkFillPolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, arg3 Color)
- func NkFillRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, arg3 Color)
- func NkFillRectMultiColor(arg0 *CommandBuffer, arg1 Rect, left Color, top Color, right Color, ...)
- func NkFillTriangle(arg0 *CommandBuffer, x0 float32, y0 float32, x1 float32, y1 float32, ...)
- func NkFontAtlasBake(arg0 *FontAtlas, width *int32, height *int32, arg3 C.enum_) unsafe.Pointer
- func NkFontAtlasBegin(arg0 *FontAtlas)
- func NkFontAtlasCleanup(atlas *FontAtlas)
- func NkFontAtlasClear(arg0 *FontAtlas)
- func NkFontAtlasEnd(arg0 *FontAtlas, tex Handle, arg2 *DrawNullTexture)
- func NkFontAtlasInit(arg0 *FontAtlas, arg1 *Allocator)
- func NkFontAtlasInitCustom(arg0 *FontAtlas, persistent *Allocator, transient *Allocator)
- func NkFontAtlasInitDefault(arg0 *FontAtlas)
- func NkFontStashBegin(atlas **FontAtlas)
- func NkFontStashEnd()
- func NkFree(arg0 *Context)
- func NkGroupEnd(arg0 *Context)
- func NkGroupGetScroll(arg0 *Context, id string, xOffset *Uint, yOffset *Uint)
- func NkGroupScrolledEnd(arg0 *Context)
- func NkGroupSetScroll(arg0 *Context, id string, xOffset Uint, yOffset Uint)
- func NkImage(arg0 *Context, arg1 Image)
- func NkImageColor(arg0 *Context, arg1 Image, arg2 Color)
- func NkInputBegin(arg0 *Context)
- func NkInputButton(arg0 *Context, arg1 C.enum_, x int32, y int32, down Bool)
- func NkInputChar(arg0 *Context, arg1 byte)
- func NkInputEnd(arg0 *Context)
- func NkInputKey(arg0 *Context, arg1 C.enum_, down Bool)
- func NkInputMotion(arg0 *Context, x int32, y int32)
- func NkInputScroll(arg0 *Context, val Vec2)
- func NkInputUnicode(arg0 *Context, arg1 Rune)
- func NkLabel(arg0 *Context, arg1 *byte, align Flags)
- func NkLabelColored(arg0 *Context, arg1 *byte, align Flags, arg3 Color)
- func NkLabelColoredWrap(arg0 *Context, arg1 *byte, arg2 Color)
- func NkLabelWrap(arg0 *Context, arg1 *byte)
- func NkLayoutRatioFromPixel(arg0 *Context, pixelWidth float32) float32
- func NkLayoutResetMinRowHeight(arg0 *Context)
- func NkLayoutRow(arg0 *Context, arg1 C.enum_, height float32, cols int32, ratio []float32)
- func NkLayoutRowBegin(ctx *Context, fmt C.enum_, rowHeight float32, cols int32)
- func NkLayoutRowDynamic(ctx *Context, height float32, cols int32)
- func NkLayoutRowEnd(arg0 *Context)
- func NkLayoutRowPush(arg0 *Context, value float32)
- func NkLayoutRowStatic(ctx *Context, height float32, itemWidth int32, cols int32)
- func NkLayoutRowTemplateBegin(arg0 *Context, rowHeight float32)
- func NkLayoutRowTemplateEnd(arg0 *Context)
- func NkLayoutRowTemplatePushDynamic(arg0 *Context)
- func NkLayoutRowTemplatePushStatic(arg0 *Context, width float32)
- func NkLayoutRowTemplatePushVariable(arg0 *Context, minWidth float32)
- func NkLayoutSetMinRowHeight(arg0 *Context, height float32)
- func NkLayoutSpaceBegin(arg0 *Context, arg1 C.enum_, height float32, widgetCount int32)
- func NkLayoutSpaceEnd(arg0 *Context)
- func NkLayoutSpacePush(arg0 *Context, bounds Rect)
- func NkListViewEnd(arg0 *ListView)
- func NkMenuClose(arg0 *Context)
- func NkMenuEnd(arg0 *Context)
- func NkMenubarBegin(arg0 *Context)
- func NkMenubarEnd(arg0 *Context)
- func NkNineSliceIsSub9slice(img *NineSlice) int32
- func NkPlatformDisplayHandle() *glfw.Window
- func NkPlatformNewFrame()
- func NkPlatformRender(aa AntiAliasing, maxVertexBuffer, maxElementBuffer int)
- func NkPlatformShutdown()
- func NkPlot(arg0 *Context, arg1 C.enum_, values *float32, count int32, offset int32)
- func NkPopupClose(arg0 *Context)
- func NkPopupEnd(arg0 *Context)
- func NkPopupGetScroll(arg0 *Context, offsetX *Uint, offsetY *Uint)
- func NkPopupSetScroll(arg0 *Context, offsetX Uint, offsetY Uint)
- func NkPropertyDouble(arg0 *Context, name string, min float64, val *float64, max float64, ...)
- func NkPropertyFloat(arg0 *Context, name string, min float32, val *float32, max float32, ...)
- func NkPropertyInt(arg0 *Context, name string, min int32, val *int32, max int32, step int32, ...)
- func NkPropertyd(arg0 *Context, name string, min float64, val float64, max float64, ...) float64
- func NkPropertyf(arg0 *Context, name string, min float32, val float32, max float32, ...) float32
- func NkPropertyi(arg0 *Context, name string, min int32, val int32, max int32, step int32, ...) int32
- func NkPushCustom(arg0 *CommandBuffer, arg1 Rect, arg2 CommandCustomCallback, usr Handle)
- func NkPushScissor(arg0 *CommandBuffer, arg1 Rect)
- func NkRegisterClipboard(ctx *Context)
- func NkSlideFloat(arg0 *Context, min float32, val float32, max float32, step float32) float32
- func NkSlideInt(arg0 *Context, min int32, val int32, max int32, step int32) int32
- func NkSpacer(arg0 *Context)
- func NkSpacing(arg0 *Context, cols int32)
- func NkStrAppendStrChar(arg0 *Str, arg1 *byte) int32
- func NkStrAppendStrRunes(arg0 *Str, arg1 *Rune) int32
- func NkStrAppendStrUtf8(arg0 *Str, arg1 *byte) int32
- func NkStrAppendTextChar(arg0 *Str, arg1 *byte, arg2 int32) int32
- func NkStrAppendTextRunes(arg0 *Str, arg1 *Rune, arg2 int32) int32
- func NkStrAppendTextUtf8(arg0 *Str, arg1 *byte, arg2 int32) int32
- func NkStrAtChar(arg0 *Str, pos int32) *byte
- func NkStrAtCharConst(arg0 *Str, pos int32) string
- func NkStrAtConst(arg0 *Str, pos int32, unicode *Rune, len *int32) string
- func NkStrAtRune(arg0 *Str, pos int32, unicode *Rune, len *int32) *byte
- func NkStrClear(arg0 *Str)
- func NkStrDeleteChars(arg0 *Str, pos int32, len int32)
- func NkStrDeleteRunes(arg0 *Str, pos int32, len int32)
- func NkStrFree(arg0 *Str)
- func NkStrGet(arg0 *Str) *byte
- func NkStrGetConst(arg0 *Str) string
- func NkStrInit(arg0 *Str, arg1 *Allocator, size Size)
- func NkStrInitDefault(arg0 *Str)
- func NkStrInitFixed(arg0 *Str, memory unsafe.Pointer, size Size)
- func NkStrInsertAtChar(arg0 *Str, pos int32, arg2 *byte, arg3 int32) int32
- func NkStrInsertAtRune(arg0 *Str, pos int32, arg2 *byte, arg3 int32) int32
- func NkStrInsertStrChar(arg0 *Str, pos int32, arg2 *byte) int32
- func NkStrInsertStrRunes(arg0 *Str, pos int32, arg2 *Rune) int32
- func NkStrInsertStrUtf8(arg0 *Str, pos int32, arg2 *byte) int32
- func NkStrInsertTextChar(arg0 *Str, pos int32, arg2 *byte, arg3 int32) int32
- func NkStrInsertTextRunes(arg0 *Str, pos int32, arg2 *Rune, arg3 int32) int32
- func NkStrInsertTextUtf8(arg0 *Str, pos int32, arg2 *byte, arg3 int32) int32
- func NkStrLen(arg0 *Str) int32
- func NkStrLenChar(arg0 *Str) int32
- func NkStrRemoveChars(arg0 *Str, len int32)
- func NkStrRemoveRunes(str *Str, len int32)
- func NkStrfilter(text string, regexp string) int32
- func NkStricmp(s1 string, s2 string) int32
- func NkStricmpn(s1 string, s2 string, n int32) int32
- func NkStrlen(str string) int32
- func NkStrmatchFuzzyString(str string, pattern string, outScore *int32) int32
- func NkStrmatchFuzzyText(txt string, txtLen int32, pattern string, outScore *int32) int32
- func NkStrokeArc(arg0 *CommandBuffer, cx float32, cy float32, radius float32, aMin float32, ...)
- func NkStrokeCircle(arg0 *CommandBuffer, arg1 Rect, lineThickness float32, arg3 Color)
- func NkStrokeCurve(arg0 *CommandBuffer, arg1 float32, arg2 float32, arg3 float32, arg4 float32, ...)
- func NkStrokeLine(b *CommandBuffer, x0 float32, y0 float32, x1 float32, y1 float32, ...)
- func NkStrokePolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, lineThickness float32, ...)
- func NkStrokePolyline(arg0 *CommandBuffer, points []float32, pointCount int32, lineThickness float32, ...)
- func NkStrokeRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, lineThickness float32, ...)
- func NkStrokeTriangle(arg0 *CommandBuffer, arg1 float32, arg2 float32, arg3 float32, arg4 float32, ...)
- func NkStrtod(str string, endptr []string) float64
- func NkStrtof(str string, endptr []string) float32
- func NkStrtoi(str string, endptr []string) int32
- func NkStyleDefault(arg0 *Context)
- func NkStyleFromTable(arg0 *Context, arg1 []Color)
- func NkStyleGetColorByName(arg0 C.enum_) string
- func NkStyleHideCursor(arg0 *Context)
- func NkStyleLoadAllCursors(arg0 *Context, arg1 *Cursor)
- func NkStyleLoadCursor(arg0 *Context, arg1 C.enum_, arg2 *Cursor)
- func NkStyleSetFont(arg0 *Context, arg1 *UserFont)
- func NkStyleShowCursor(arg0 *Context)
- func NkText(arg0 *Context, arg1 *byte, arg2 int32, arg3 Flags)
- func NkTextColored(arg0 *Context, arg1 *byte, arg2 int32, arg3 Flags, arg4 Color)
- func NkTextWrap(arg0 *Context, arg1 *byte, arg2 int32)
- func NkTextWrapColored(arg0 *Context, arg1 *byte, arg2 int32, arg3 Color)
- func NkTexteditDelete(arg0 *TextEdit, where int32, len int32)
- func NkTexteditDeleteSelection(arg0 *TextEdit)
- func NkTexteditFree(arg0 *TextEdit)
- func NkTexteditInit(arg0 *TextEdit, arg1 *Allocator, size Size)
- func NkTexteditInitDefault(arg0 *TextEdit)
- func NkTexteditInitFixed(arg0 *TextEdit, memory unsafe.Pointer, size Size)
- func NkTexteditRedo(arg0 *TextEdit)
- func NkTexteditSelectAll(arg0 *TextEdit)
- func NkTexteditText(arg0 *TextEdit, arg1 *byte, totalLen int32)
- func NkTexteditUndo(arg0 *TextEdit)
- func NkTooltip(arg0 *Context, arg1 *byte)
- func NkTooltipEnd(arg0 *Context)
- func NkTreeElementPop(arg0 *Context)
- func NkTreePop(arg0 *Context)
- func NkTreeStatePop(arg0 *Context)
- func NkTriangleFromDirection(result *Vec2, r Rect, padX float32, padY float32, arg4 C.enum_)
- func NkUtfAt(buffer string, length int32, index int32, unicode *Rune, len []int32) string
- func NkUtfDecode(arg0 *byte, arg1 *Rune, arg2 int32) int32
- func NkUtfEncode(arg0 Rune, arg1 *byte, arg2 int32) int32
- func NkUtfLen(arg0 *byte, byteLen int32) int32
- func NkWidget(arg0 *Rect, arg1 *Context) C.enum_
- func NkWidgetFitting(arg0 *Rect, arg1 *Context, arg2 Vec2) C.enum_
- func NkWidgetHeight(arg0 *Context) float32
- func NkWidgetWidth(arg0 *Context) float32
- func NkWindowClose(ctx *Context, name string)
- func NkWindowCollapse(arg0 *Context, name string, state C.enum_)
- func NkWindowCollapseIf(arg0 *Context, name string, arg2 C.enum_, cond int32)
- func NkWindowGetHeight(arg0 *Context) float32
- func NkWindowGetScroll(arg0 *Context, offsetX *Uint, offsetY *Uint)
- func NkWindowGetWidth(arg0 *Context) float32
- func NkWindowSetBounds(arg0 *Context, name string, bounds Rect)
- func NkWindowSetFocus(arg0 *Context, name string)
- func NkWindowSetPosition(arg0 *Context, name string, pos Vec2)
- func NkWindowSetScroll(arg0 *Context, offsetX Uint, offsetY Uint)
- func NkWindowSetSize(arg0 *Context, name string, arg2 Vec2)
- func NkWindowShow(arg0 *Context, name string, arg2 C.enum_)
- func NkWindowShowIf(arg0 *Context, name string, arg2 C.enum_, cond int32)
- func SetBackgroundColor(ctx *Context, color Color)
- func SetGroupPadding(ctx *Context, v Vec2)
- func SetPadding(ctx *Context, v Vec2)
- func SetSpacing(ctx *Context, v Vec2)
- func SetTextColor(ctx *Context, color Color)
- type Allocator
- type BakedFont
- func (x *BakedFont) Free()
- func (s *BakedFont) GetAscent() *float32
- func (s *BakedFont) GetDescent() *float32
- func (s *BakedFont) GetGlyphCount() *Rune
- func (s *BakedFont) GetGlyphOffset() *Rune
- func (s *BakedFont) GetHeight() *float32
- func (s *BakedFont) GetRanges() **Rune
- func (x *BakedFont) PassRef() *C.struct_nk_baked_font
- func (x *BakedFont) Ref() *C.struct_nk_baked_font
- type Bool
- func NkBegin(ctx *Context, title string, bounds Rect, flags Flags) Bool
- func NkBeginTitled(ctx *Context, name string, title string, bounds Rect, flags Flags) Bool
- func NkButtonColor(arg0 *Context, arg1 Color) Bool
- func NkButtonImage(arg0 *Context, img Image) Bool
- func NkButtonImageLabel(arg0 *Context, img Image, arg2 *byte, textAlignment Flags) Bool
- func NkButtonImageLabelStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 *byte, textAlignment Flags) Bool
- func NkButtonImageStyled(arg0 *Context, arg1 *StyleButton, img Image) Bool
- func NkButtonImageText(arg0 *Context, img Image, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkButtonImageTextStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 *byte, arg4 int32, ...) Bool
- func NkButtonLabel(arg0 *Context, title string) Bool
- func NkButtonLabelStyled(arg0 *Context, arg1 *StyleButton, title string) Bool
- func NkButtonPopBehavior(arg0 *Context) Bool
- func NkButtonPushBehavior(arg0 *Context, arg1 C.enum_) Bool
- func NkButtonSymbol(arg0 *Context, arg1 C.enum_) Bool
- func NkButtonSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, textAlignment Flags) Bool
- func NkButtonSymbolLabelStyled(ctx *Context, style *StyleButton, symbol C.enum_, title string, align Flags) Bool
- func NkButtonSymbolStyled(arg0 *Context, arg1 *StyleButton, arg2 C.enum_) Bool
- func NkButtonSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkButtonSymbolTextStyled(arg0 *Context, arg1 *StyleButton, arg2 C.enum_, arg3 *byte, arg4 int32, ...) Bool
- func NkButtonText(arg0 *Context, title string, len int32) Bool
- func NkButtonTextStyled(arg0 *Context, arg1 *StyleButton, title string, len int32) Bool
- func NkChartBegin(arg0 *Context, arg1 C.enum_, num int32, min float32, max float32) Bool
- func NkChartBeginColored(arg0 *Context, arg1 C.enum_, arg2 Color, active Color, num int32, min float32, ...) Bool
- func NkCheckLabel(arg0 *Context, arg1 *byte, active Bool) Bool
- func NkCheckText(arg0 *Context, arg1 *byte, arg2 int32, active Bool) Bool
- func NkCheckboxFlagsLabel(arg0 *Context, arg1 *byte, flags *uint32, value uint32) Bool
- func NkCheckboxFlagsText(arg0 *Context, arg1 *byte, arg2 int32, flags *uint32, value uint32) Bool
- func NkCheckboxLabel(arg0 *Context, arg1 *byte, active *Bool) Bool
- func NkCheckboxText(arg0 *Context, arg1 *byte, arg2 int32, active *Bool) Bool
- func NkColorPick(arg0 *Context, arg1 *Colorf, arg2 C.enum_) Bool
- func NkComboBeginColor(arg0 *Context, color Color, size Vec2) Bool
- func NkComboBeginImage(arg0 *Context, img Image, size Vec2) Bool
- func NkComboBeginImageLabel(arg0 *Context, selected string, arg2 Image, size Vec2) Bool
- func NkComboBeginImageText(arg0 *Context, selected string, arg2 int32, arg3 Image, size Vec2) Bool
- func NkComboBeginLabel(arg0 *Context, selected string, size Vec2) Bool
- func NkComboBeginSymbol(arg0 *Context, arg1 C.enum_, size Vec2) Bool
- func NkComboBeginSymbolLabel(arg0 *Context, selected string, arg2 C.enum_, size Vec2) Bool
- func NkComboBeginSymbolText(arg0 *Context, selected string, arg2 int32, arg3 C.enum_, size Vec2) Bool
- func NkComboBeginText(arg0 *Context, selected string, arg2 int32, size Vec2) Bool
- func NkComboItemImageLabel(arg0 *Context, arg1 Image, arg2 *byte, alignment Flags) Bool
- func NkComboItemImageText(arg0 *Context, arg1 Image, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkComboItemLabel(arg0 *Context, arg1 *byte, alignment Flags) Bool
- func NkComboItemSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, alignment Flags) Bool
- func NkComboItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkComboItemText(arg0 *Context, arg1 *byte, arg2 int32, alignment Flags) Bool
- func NkContextualBegin(arg0 *Context, arg1 Flags, arg2 Vec2, triggerBounds Rect) Bool
- func NkContextualItemImageLabel(arg0 *Context, arg1 Image, arg2 *byte, alignment Flags) Bool
- func NkContextualItemImageText(arg0 *Context, arg1 Image, arg2 *byte, len int32, alignment Flags) Bool
- func NkContextualItemLabel(arg0 *Context, arg1 *byte, align Flags) Bool
- func NkContextualItemSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, alignment Flags) Bool
- func NkContextualItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkContextualItemText(arg0 *Context, arg1 *byte, arg2 int32, align Flags) Bool
- func NkFilterAscii(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterBinary(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterDecimal(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterDefault(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterFloat(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterHex(arg0 *TextEdit, unicode Rune) Bool
- func NkFilterOct(arg0 *TextEdit, unicode Rune) Bool
- func NkGroupBegin(arg0 *Context, title string, arg2 Flags) Bool
- func NkGroupBeginTitled(arg0 *Context, name string, title string, arg3 Flags) Bool
- func NkGroupScrolledBegin(arg0 *Context, off *Scroll, title string, arg3 Flags) Bool
- func NkGroupScrolledOffsetBegin(arg0 *Context, xOffset *Uint, yOffset *Uint, title string, flags Flags) Bool
- func NkImageIsSubimage(img *Image) Bool
- func NkInit(arg0 *Context, arg1 *Allocator, arg2 *UserFont) Bool
- func NkInitCustom(arg0 *Context, cmds *Buffer, pool *Buffer, arg3 *UserFont) Bool
- func NkInitDefault(arg0 *Context, arg1 *UserFont) Bool
- func NkInitFixed(arg0 *Context, memory unsafe.Pointer, size Size, arg3 *UserFont) Bool
- func NkInputAnyMouseClickInRect(arg0 *Input, arg1 Rect) Bool
- func NkInputHasMouseClick(arg0 *Input, arg1 C.enum_) Bool
- func NkInputHasMouseClickDownInRect(arg0 *Input, arg1 C.enum_, arg2 Rect, down Bool) Bool
- func NkInputHasMouseClickInButtonRect(arg0 *Input, arg1 C.enum_, arg2 Rect) Bool
- func NkInputHasMouseClickInRect(arg0 *Input, arg1 C.enum_, arg2 Rect) Bool
- func NkInputIsKeyDown(arg0 *Input, arg1 C.enum_) Bool
- func NkInputIsKeyPressed(arg0 *Input, arg1 C.enum_) Bool
- func NkInputIsKeyReleased(arg0 *Input, arg1 C.enum_) Bool
- func NkInputIsMouseClickDownInRect(i *Input, id C.enum_, b Rect, down Bool) Bool
- func NkInputIsMouseClickInRect(arg0 *Input, arg1 C.enum_, arg2 Rect) Bool
- func NkInputIsMouseDown(arg0 *Input, arg1 C.enum_) Bool
- func NkInputIsMouseHoveringRect(arg0 *Input, arg1 Rect) Bool
- func NkInputIsMousePressed(arg0 *Input, arg1 C.enum_) Bool
- func NkInputIsMousePrevHoveringRect(arg0 *Input, arg1 Rect) Bool
- func NkInputIsMouseReleased(arg0 *Input, arg1 C.enum_) Bool
- func NkInputMouseClicked(arg0 *Input, arg1 C.enum_, arg2 Rect) Bool
- func NkItemIsAnyActive(arg0 *Context) Bool
- func NkListViewBegin(arg0 *Context, out *ListView, id string, arg3 Flags, rowHeight int32, ...) Bool
- func NkMenuBeginImage(arg0 *Context, arg1 *byte, arg2 Image, size Vec2) Bool
- func NkMenuBeginImageLabel(arg0 *Context, arg1 *byte, align Flags, arg3 Image, size Vec2) Bool
- func NkMenuBeginImageText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, arg4 Image, size Vec2) Bool
- func NkMenuBeginLabel(arg0 *Context, arg1 *byte, align Flags, size Vec2) Bool
- func NkMenuBeginSymbol(arg0 *Context, arg1 *byte, arg2 C.enum_, size Vec2) Bool
- func NkMenuBeginSymbolLabel(arg0 *Context, arg1 *byte, align Flags, arg3 C.enum_, size Vec2) Bool
- func NkMenuBeginSymbolText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, arg4 C.enum_, size Vec2) Bool
- func NkMenuBeginText(arg0 *Context, title string, titleLen int32, align Flags, size Vec2) Bool
- func NkMenuItemImageLabel(arg0 *Context, arg1 Image, arg2 *byte, alignment Flags) Bool
- func NkMenuItemImageText(arg0 *Context, arg1 Image, arg2 *byte, len int32, alignment Flags) Bool
- func NkMenuItemLabel(arg0 *Context, arg1 *byte, alignment Flags) Bool
- func NkMenuItemSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, alignment Flags) Bool
- func NkMenuItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
- func NkMenuItemText(arg0 *Context, arg1 *byte, arg2 int32, align Flags) Bool
- func NkOptionLabel(arg0 *Context, arg1 *byte, active Bool) Bool
- func NkOptionText(arg0 *Context, arg1 *byte, arg2 int32, active Bool) Bool
- func NkPopupBegin(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 Flags, bounds Rect) Bool
- func NkProgress(arg0 *Context, cur *Size, max Size, modifyable Bool) Bool
- func NkRadioLabel(arg0 *Context, arg1 *byte, active *Bool) Bool
- func NkRadioText(arg0 *Context, arg1 *byte, arg2 int32, active *Bool) Bool
- func NkSelectImageLabel(arg0 *Context, arg1 Image, arg2 *byte, align Flags, value Bool) Bool
- func NkSelectImageText(arg0 *Context, arg1 Image, arg2 *byte, arg3 int32, align Flags, value Bool) Bool
- func NkSelectLabel(arg0 *Context, arg1 *byte, align Flags, value Bool) Bool
- func NkSelectSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, align Flags, value Bool) Bool
- func NkSelectSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, align Flags, value Bool) Bool
- func NkSelectText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, value Bool) Bool
- func NkSelectableImageLabel(arg0 *Context, arg1 Image, arg2 *byte, align Flags, value []Bool) Bool
- func NkSelectableImageText(arg0 *Context, arg1 Image, arg2 *byte, arg3 int32, align Flags, value []Bool) Bool
- func NkSelectableLabel(arg0 *Context, arg1 *byte, align Flags, value *Bool) Bool
- func NkSelectableSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, align Flags, value []Bool) Bool
- func NkSelectableSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, align Flags, value []Bool) Bool
- func NkSelectableText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, value []Bool) Bool
- func NkSliderFloat(arg0 *Context, min float32, val *float32, max float32, step float32) Bool
- func NkSliderInt(arg0 *Context, min int32, val *int32, max int32, step int32) Bool
- func NkStylePopColor(arg0 *Context) Bool
- func NkStylePopFlags(arg0 *Context) Bool
- func NkStylePopFloat(arg0 *Context) Bool
- func NkStylePopFont(arg0 *Context) Bool
- func NkStylePopStyleItem(arg0 *Context) Bool
- func NkStylePopVec2(arg0 *Context) Bool
- func NkStylePushColor(arg0 *Context, arg1 *Color, arg2 Color) Bool
- func NkStylePushFlags(arg0 *Context, arg1 *Flags, arg2 Flags) Bool
- func NkStylePushFloat(arg0 *Context, arg1 *float32, arg2 float32) Bool
- func NkStylePushFont(arg0 *Context, arg1 *UserFont) Bool
- func NkStylePushStyleItem(arg0 *Context, arg1 *StyleItem, arg2 StyleItem) Bool
- func NkStylePushVec2(arg0 *Context, arg1 *Vec2, arg2 Vec2) Bool
- func NkStyleSetCursor(arg0 *Context, arg1 C.enum_) Bool
- func NkTexteditCut(arg0 *TextEdit) Bool
- func NkTexteditPaste(arg0 *TextEdit, arg1 *byte, len int32) Bool
- func NkTooltipBegin(arg0 *Context, width float32) Bool
- func NkTreeElementImagePushHashed(arg0 *Context, arg1 C.enum_, arg2 Image, title string, initialState C.enum_, ...) Bool
- func NkTreeElementPushHashed(arg0 *Context, arg1 C.enum_, title string, initialState C.enum_, ...) Bool
- func NkTreeImagePushHashed(arg0 *Context, arg1 C.enum_, arg2 Image, title string, initialState C.enum_, ...) Bool
- func NkTreePushHashed(arg0 *Context, arg1 C.enum_, title string, initialState C.enum_, hash string, ...) Bool
- func NkTreeStateImagePush(arg0 *Context, arg1 C.enum_, arg2 Image, title string, state []C.enum_) Bool
- func NkTreeStatePush(arg0 *Context, arg1 C.enum_, title string, state *C.enum_) Bool
- func NkWidgetHasMouseClickDown(arg0 *Context, arg1 C.enum_, down Bool) Bool
- func NkWidgetIsHovered(arg0 *Context) Bool
- func NkWidgetIsMouseClicked(arg0 *Context, arg1 C.enum_) Bool
- func NkWindowHasFocus(arg0 *Context) Bool
- func NkWindowIsActive(arg0 *Context, arg1 *byte) Bool
- func NkWindowIsAnyHovered(arg0 *Context) Bool
- func NkWindowIsClosed(arg0 *Context, arg1 *byte) Bool
- func NkWindowIsCollapsed(ctx *Context, name string) Bool
- func NkWindowIsHidden(arg0 *Context, arg1 *byte) Bool
- func NkWindowIsHovered(arg0 *Context) Bool
- type Buffer
- func (b *Buffer) Allocated() int
- func (x *Buffer) Free()
- func (s *Buffer) GetAllocated() *Size
- func (s *Buffer) GetCalls() *Size
- func (s *Buffer) GetGrowFactor() *float32
- func (s *Buffer) GetMarker() [2]BufferMarker
- func (s *Buffer) GetMemory() *Memory
- func (s *Buffer) GetNeeded() *Size
- func (s *Buffer) GetPool() *Allocator
- func (s *Buffer) GetSize() *Size
- func (x *Buffer) PassRef() *C.struct_nk_buffer
- func (x *Buffer) Ref() *C.struct_nk_buffer
- func (b *Buffer) Size() int
- func (b *Buffer) Type() AllocationType
- type BufferMarker
- type Byte
- type Char
- type Chart
- func (x *Chart) Free()
- func (s *Chart) GetH() *float32
- func (s *Chart) GetSlot() *int32
- func (s *Chart) GetSlots() [4]ChartSlot
- func (s *Chart) GetW() *float32
- func (s *Chart) GetX() *float32
- func (s *Chart) GetY() *float32
- func (x *Chart) PassRef() *C.struct_nk_chart
- func (x *Chart) Ref() *C.struct_nk_chart
- type ChartSlot
- func (x *ChartSlot) Free()
- func (s *ChartSlot) GetColor() *Color
- func (s *ChartSlot) GetCount() *int32
- func (s *ChartSlot) GetHighlight() *Color
- func (s *ChartSlot) GetIndex() *int32
- func (s *ChartSlot) GetLast() *Vec2
- func (s *ChartSlot) GetMax() *float32
- func (s *ChartSlot) GetMin() *float32
- func (s *ChartSlot) GetRange() *float32
- func (x *ChartSlot) PassRef() *C.struct_nk_chart_slot
- func (x *ChartSlot) Ref() *C.struct_nk_chart_slot
- type Clipboard
- type ClipboardPlugin
- type Color
- func NewColor() *Color
- func NewColorRef(ref unsafe.Pointer) *Color
- func NkHsv(h int32, s int32, v int32) Color
- func NkHsvBv(hsv *byte) Color
- func NkHsvF(h float32, s float32, v float32) Color
- func NkHsvFv(hsv *float32) Color
- func NkHsvIv(hsv *int32) Color
- func NkHsva(h int32, s int32, v int32, a int32) Color
- func NkHsvaBv(hsva *byte) Color
- func NkHsvaF(h float32, s float32, v float32, a float32) Color
- func NkHsvaFv(hsva *float32) Color
- func NkHsvaIv(hsva *int32) Color
- func NkRgb(r int32, g int32, b int32) Color
- func NkRgbBv(rgb *byte) Color
- func NkRgbCf(c Colorf) Color
- func NkRgbF(r float32, g float32, b float32) Color
- func NkRgbFv(rgb *float32) Color
- func NkRgbHex(rgb string) Color
- func NkRgbIv(rgb *int32) Color
- func NkRgba(r int32, g int32, b int32, a int32) Color
- func NkRgbaBv(rgba *byte) Color
- func NkRgbaCf(c Colorf) Color
- func NkRgbaF(r float32, g float32, b float32, a float32) Color
- func NkRgbaFv(rgba *float32) Color
- func NkRgbaHex(rgb string) Color
- func NkRgbaIv(rgba *int32) Color
- func NkRgbaU32(arg0 Uint) Color
- func (c Color) A() Byte
- func (c Color) B() Byte
- func (x *Color) Free()
- func (c Color) G() Byte
- func (s *Color) GetA() *Byte
- func (s *Color) GetB() *Byte
- func (s *Color) GetG() *Byte
- func (s *Color) GetR() *Byte
- func (x *Color) PassRef() *C.struct_nk_color
- func (c Color) R() Byte
- func (c Color) RGBA() (Byte, Byte, Byte, Byte)
- func (c Color) RGBAi() (int32, int32, int32, int32)
- func (x *Color) Ref() *C.struct_nk_color
- func (c *Color) SetA(a Byte)
- func (c *Color) SetB(b Byte)
- func (c *Color) SetG(g Byte)
- func (c *Color) SetR(r Byte)
- func (c *Color) SetRGBA(r, g, b, a Byte)
- func (c *Color) SetRGBAi(r, g, b, a int32)
- type Colorf
- type Command
- type CommandArc
- func (x *CommandArc) Free()
- func (s *CommandArc) GetA() [2]float32
- func (s *CommandArc) GetColor() *Color
- func (s *CommandArc) GetCx() *int16
- func (s *CommandArc) GetCy() *int16
- func (s *CommandArc) GetHeader() *Command
- func (s *CommandArc) GetLineThickness() *uint16
- func (s *CommandArc) GetR() *uint16
- func (x *CommandArc) PassRef() *C.struct_nk_command_arc
- func (x *CommandArc) Ref() *C.struct_nk_command_arc
- type CommandArcFilled
- func (x *CommandArcFilled) Free()
- func (s *CommandArcFilled) GetA() [2]float32
- func (s *CommandArcFilled) GetColor() *Color
- func (s *CommandArcFilled) GetCx() *int16
- func (s *CommandArcFilled) GetCy() *int16
- func (s *CommandArcFilled) GetHeader() *Command
- func (s *CommandArcFilled) GetR() *uint16
- func (x *CommandArcFilled) PassRef() *C.struct_nk_command_arc_filled
- func (x *CommandArcFilled) Ref() *C.struct_nk_command_arc_filled
- type CommandBuffer
- func (x *CommandBuffer) Free()
- func (s *CommandBuffer) GetBase() **Buffer
- func (s *CommandBuffer) GetBegin() *Size
- func (s *CommandBuffer) GetClip() *Rect
- func (s *CommandBuffer) GetEnd() *Size
- func (s *CommandBuffer) GetLast() *Size
- func (s *CommandBuffer) GetUseClipping() *int32
- func (s *CommandBuffer) GetUserdata() *Handle
- func (x *CommandBuffer) PassRef() *C.struct_nk_command_buffer
- func (x *CommandBuffer) Ref() *C.struct_nk_command_buffer
- type CommandCircle
- func (x *CommandCircle) Free()
- func (s *CommandCircle) GetColor() *Color
- func (s *CommandCircle) GetH() *uint16
- func (s *CommandCircle) GetHeader() *Command
- func (s *CommandCircle) GetLineThickness() *uint16
- func (s *CommandCircle) GetW() *uint16
- func (s *CommandCircle) GetX() *int16
- func (s *CommandCircle) GetY() *int16
- func (x *CommandCircle) PassRef() *C.struct_nk_command_circle
- func (x *CommandCircle) Ref() *C.struct_nk_command_circle
- type CommandCircleFilled
- func (x *CommandCircleFilled) Free()
- func (s *CommandCircleFilled) GetColor() *Color
- func (s *CommandCircleFilled) GetH() *uint16
- func (s *CommandCircleFilled) GetHeader() *Command
- func (s *CommandCircleFilled) GetW() *uint16
- func (s *CommandCircleFilled) GetX() *int16
- func (s *CommandCircleFilled) GetY() *int16
- func (x *CommandCircleFilled) PassRef() *C.struct_nk_command_circle_filled
- func (x *CommandCircleFilled) Ref() *C.struct_nk_command_circle_filled
- type CommandCurve
- func (x *CommandCurve) Free()
- func (s *CommandCurve) GetBegin() *Vec2i
- func (s *CommandCurve) GetColor() *Color
- func (s *CommandCurve) GetCtrl() [2]Vec2i
- func (s *CommandCurve) GetEnd() *Vec2i
- func (s *CommandCurve) GetHeader() *Command
- func (s *CommandCurve) GetLineThickness() *uint16
- func (x *CommandCurve) PassRef() *C.struct_nk_command_curve
- func (x *CommandCurve) Ref() *C.struct_nk_command_curve
- type CommandCustom
- func (x *CommandCustom) Free()
- func (s *CommandCustom) GetCallback() *CommandCustomCallback
- func (s *CommandCustom) GetCallbackData() *Handle
- func (s *CommandCustom) GetH() *uint16
- func (s *CommandCustom) GetHeader() *Command
- func (s *CommandCustom) GetW() *uint16
- func (s *CommandCustom) GetX() *int16
- func (s *CommandCustom) GetY() *int16
- func (x *CommandCustom) PassRef() *C.struct_nk_command_custom
- func (x *CommandCustom) Ref() *C.struct_nk_command_custom
- type CommandCustomCallback
- type CommandImage
- func (x *CommandImage) Free()
- func (s *CommandImage) GetCol() *Color
- func (s *CommandImage) GetH() *uint16
- func (s *CommandImage) GetHeader() *Command
- func (s *CommandImage) GetImg() *Image
- func (s *CommandImage) GetW() *uint16
- func (s *CommandImage) GetX() *int16
- func (s *CommandImage) GetY() *int16
- func (x *CommandImage) PassRef() *C.struct_nk_command_image
- func (x *CommandImage) Ref() *C.struct_nk_command_image
- type CommandLine
- func (x *CommandLine) Free()
- func (s *CommandLine) GetBegin() *Vec2i
- func (s *CommandLine) GetColor() *Color
- func (s *CommandLine) GetEnd() *Vec2i
- func (s *CommandLine) GetHeader() *Command
- func (s *CommandLine) GetLineThickness() *uint16
- func (x *CommandLine) PassRef() *C.struct_nk_command_line
- func (x *CommandLine) Ref() *C.struct_nk_command_line
- type CommandPolygon
- func (x *CommandPolygon) Free()
- func (s *CommandPolygon) GetColor() *Color
- func (s *CommandPolygon) GetHeader() *Command
- func (s *CommandPolygon) GetLineThickness() *uint16
- func (s *CommandPolygon) GetPointCount() *uint16
- func (s *CommandPolygon) GetPoints() [1]Vec2i
- func (x *CommandPolygon) PassRef() *C.struct_nk_command_polygon
- func (x *CommandPolygon) Ref() *C.struct_nk_command_polygon
- type CommandPolygonFilled
- func (x *CommandPolygonFilled) Free()
- func (s *CommandPolygonFilled) GetColor() *Color
- func (s *CommandPolygonFilled) GetHeader() *Command
- func (s *CommandPolygonFilled) GetPointCount() *uint16
- func (s *CommandPolygonFilled) GetPoints() [1]Vec2i
- func (x *CommandPolygonFilled) PassRef() *C.struct_nk_command_polygon_filled
- func (x *CommandPolygonFilled) Ref() *C.struct_nk_command_polygon_filled
- type CommandPolyline
- func (x *CommandPolyline) Free()
- func (s *CommandPolyline) GetColor() *Color
- func (s *CommandPolyline) GetHeader() *Command
- func (s *CommandPolyline) GetLineThickness() *uint16
- func (s *CommandPolyline) GetPointCount() *uint16
- func (s *CommandPolyline) GetPoints() [1]Vec2i
- func (x *CommandPolyline) PassRef() *C.struct_nk_command_polyline
- func (x *CommandPolyline) Ref() *C.struct_nk_command_polyline
- type CommandRect
- func (x *CommandRect) Free()
- func (s *CommandRect) GetColor() *Color
- func (s *CommandRect) GetH() *uint16
- func (s *CommandRect) GetHeader() *Command
- func (s *CommandRect) GetLineThickness() *uint16
- func (s *CommandRect) GetRounding() *uint16
- func (s *CommandRect) GetW() *uint16
- func (s *CommandRect) GetX() *int16
- func (s *CommandRect) GetY() *int16
- func (x *CommandRect) PassRef() *C.struct_nk_command_rect
- func (x *CommandRect) Ref() *C.struct_nk_command_rect
- type CommandRectFilled
- func (x *CommandRectFilled) Free()
- func (s *CommandRectFilled) GetColor() *Color
- func (s *CommandRectFilled) GetH() *uint16
- func (s *CommandRectFilled) GetHeader() *Command
- func (s *CommandRectFilled) GetRounding() *uint16
- func (s *CommandRectFilled) GetW() *uint16
- func (s *CommandRectFilled) GetX() *int16
- func (s *CommandRectFilled) GetY() *int16
- func (x *CommandRectFilled) PassRef() *C.struct_nk_command_rect_filled
- func (x *CommandRectFilled) Ref() *C.struct_nk_command_rect_filled
- type CommandRectMultiColor
- func (x *CommandRectMultiColor) Free()
- func (s *CommandRectMultiColor) GetBottom() *Color
- func (s *CommandRectMultiColor) GetH() *uint16
- func (s *CommandRectMultiColor) GetHeader() *Command
- func (s *CommandRectMultiColor) GetLeft() *Color
- func (s *CommandRectMultiColor) GetRight() *Color
- func (s *CommandRectMultiColor) GetTop() *Color
- func (s *CommandRectMultiColor) GetW() *uint16
- func (s *CommandRectMultiColor) GetX() *int16
- func (s *CommandRectMultiColor) GetY() *int16
- func (x *CommandRectMultiColor) PassRef() *C.struct_nk_command_rect_multi_color
- func (x *CommandRectMultiColor) Ref() *C.struct_nk_command_rect_multi_color
- type CommandScissor
- func (x *CommandScissor) Free()
- func (s *CommandScissor) GetH() *uint16
- func (s *CommandScissor) GetHeader() *Command
- func (s *CommandScissor) GetW() *uint16
- func (s *CommandScissor) GetX() *int16
- func (s *CommandScissor) GetY() *int16
- func (x *CommandScissor) PassRef() *C.struct_nk_command_scissor
- func (x *CommandScissor) Ref() *C.struct_nk_command_scissor
- type CommandText
- func (x *CommandText) Free()
- func (s *CommandText) GetBackground() *Color
- func (s *CommandText) GetFont() []*UserFont
- func (s *CommandText) GetForeground() *Color
- func (s *CommandText) GetH() *uint16
- func (s *CommandText) GetHeader() *Command
- func (s *CommandText) GetHeight() *float32
- func (s *CommandText) GetLength() *int32
- func (s *CommandText) GetString() [1]byte
- func (s *CommandText) GetW() *uint16
- func (s *CommandText) GetX() *int16
- func (s *CommandText) GetY() *int16
- func (x *CommandText) PassRef() *C.struct_nk_command_text
- func (x *CommandText) Ref() *C.struct_nk_command_text
- type CommandTriangle
- func (x *CommandTriangle) Free()
- func (s *CommandTriangle) GetA() *Vec2i
- func (s *CommandTriangle) GetB() *Vec2i
- func (s *CommandTriangle) GetC() *Vec2i
- func (s *CommandTriangle) GetColor() *Color
- func (s *CommandTriangle) GetHeader() *Command
- func (s *CommandTriangle) GetLineThickness() *uint16
- func (x *CommandTriangle) PassRef() *C.struct_nk_command_triangle
- func (x *CommandTriangle) Ref() *C.struct_nk_command_triangle
- type CommandTriangleFilled
- func (x *CommandTriangleFilled) Free()
- func (s *CommandTriangleFilled) GetA() *Vec2i
- func (s *CommandTriangleFilled) GetB() *Vec2i
- func (s *CommandTriangleFilled) GetC() *Vec2i
- func (s *CommandTriangleFilled) GetColor() *Color
- func (s *CommandTriangleFilled) GetHeader() *Command
- func (x *CommandTriangleFilled) PassRef() *C.struct_nk_command_triangle_filled
- func (x *CommandTriangleFilled) Ref() *C.struct_nk_command_triangle_filled
- type ConfigStackButtonBehavior
- func (x *ConfigStackButtonBehavior) Free()
- func (s *ConfigStackButtonBehavior) GetElements() [8]ConfigStackButtonBehaviorElement
- func (s *ConfigStackButtonBehavior) GetHead() *int32
- func (x *ConfigStackButtonBehavior) PassRef() *C.struct_nk_config_stack_button_behavior
- func (x *ConfigStackButtonBehavior) Ref() *C.struct_nk_config_stack_button_behavior
- type ConfigStackButtonBehaviorElement
- type ConfigStackColor
- type ConfigStackColorElement
- func (x *ConfigStackColorElement) Free()
- func (s *ConfigStackColorElement) GetAddress() **Color
- func (s *ConfigStackColorElement) GetOldValue() *Color
- func (x *ConfigStackColorElement) PassRef() *C.struct_nk_config_stack_color_element
- func (x *ConfigStackColorElement) Ref() *C.struct_nk_config_stack_color_element
- type ConfigStackFlags
- type ConfigStackFlagsElement
- func (x *ConfigStackFlagsElement) Free()
- func (s *ConfigStackFlagsElement) GetAddress() **Flags
- func (s *ConfigStackFlagsElement) GetOldValue() *Flags
- func (x *ConfigStackFlagsElement) PassRef() *C.struct_nk_config_stack_flags_element
- func (x *ConfigStackFlagsElement) Ref() *C.struct_nk_config_stack_flags_element
- type ConfigStackFloat
- type ConfigStackFloatElement
- func (x *ConfigStackFloatElement) Free()
- func (s *ConfigStackFloatElement) GetAddress() []*float32
- func (s *ConfigStackFloatElement) GetOldValue() *float32
- func (x *ConfigStackFloatElement) PassRef() *C.struct_nk_config_stack_float_element
- func (x *ConfigStackFloatElement) Ref() *C.struct_nk_config_stack_float_element
- type ConfigStackStyleItem
- func (x *ConfigStackStyleItem) Free()
- func (s *ConfigStackStyleItem) GetElements() [16]ConfigStackStyleItemElement
- func (s *ConfigStackStyleItem) GetHead() *int32
- func (x *ConfigStackStyleItem) PassRef() *C.struct_nk_config_stack_style_item
- func (x *ConfigStackStyleItem) Ref() *C.struct_nk_config_stack_style_item
- type ConfigStackStyleItemElement
- func (x *ConfigStackStyleItemElement) Free()
- func (s *ConfigStackStyleItemElement) GetAddress() **StyleItem
- func (s *ConfigStackStyleItemElement) GetOldValue() *StyleItem
- func (x *ConfigStackStyleItemElement) PassRef() *C.struct_nk_config_stack_style_item_element
- func (x *ConfigStackStyleItemElement) Ref() *C.struct_nk_config_stack_style_item_element
- type ConfigStackUserFont
- func (x *ConfigStackUserFont) Deref()
- func (x *ConfigStackUserFont) Free()
- func (x *ConfigStackUserFont) PassRef() (*C.struct_nk_config_stack_user_font, *cgoAllocMap)
- func (x ConfigStackUserFont) PassValue() (C.struct_nk_config_stack_user_font, *cgoAllocMap)
- func (x *ConfigStackUserFont) Ref() *C.struct_nk_config_stack_user_font
- type ConfigStackUserFontElement
- func (x *ConfigStackUserFontElement) Deref()
- func (x *ConfigStackUserFontElement) Free()
- func (x *ConfigStackUserFontElement) PassRef() (*C.struct_nk_config_stack_user_font_element, *cgoAllocMap)
- func (x ConfigStackUserFontElement) PassValue() (C.struct_nk_config_stack_user_font_element, *cgoAllocMap)
- func (x *ConfigStackUserFontElement) Ref() *C.struct_nk_config_stack_user_font_element
- type ConfigStackVec2
- type ConfigStackVec2Element
- func (x *ConfigStackVec2Element) Free()
- func (s *ConfigStackVec2Element) GetAddress() **Vec2
- func (s *ConfigStackVec2Element) GetOldValue() *Vec2
- func (x *ConfigStackVec2Element) PassRef() *C.struct_nk_config_stack_vec2_element
- func (x *ConfigStackVec2Element) Ref() *C.struct_nk_config_stack_vec2_element
- type ConfigurationStacks
- func (x *ConfigurationStacks) Free()
- func (s *ConfigurationStacks) GetButtonBehaviors() *ConfigStackButtonBehavior
- func (s *ConfigurationStacks) GetColors() *ConfigStackColor
- func (s *ConfigurationStacks) GetFlags() *ConfigStackFlags
- func (s *ConfigurationStacks) GetFloats() *ConfigStackFloat
- func (s *ConfigurationStacks) GetFonts() *ConfigStackUserFont
- func (s *ConfigurationStacks) GetStyleItems() *ConfigStackStyleItem
- func (s *ConfigurationStacks) GetVectors() *ConfigStackVec2
- func (x *ConfigurationStacks) PassRef() *C.struct_nk_configuration_stacks
- func (x *ConfigurationStacks) Ref() *C.struct_nk_configuration_stacks
- type Context
- func (ctx *Context) ButtonBehavior() ButtonBehavior
- func (ctx *Context) Clip() *Clipboard
- func (ctx *Context) DeltaTimeSeconds() float32
- func (x *Context) Free()
- func (s *Context) GetActive() **Window
- func (s *Context) GetBegin() **Window
- func (s *Context) GetBuild() *int32
- func (s *Context) GetClip() *Clipboard
- func (s *Context) GetCount() *uint32
- func (s *Context) GetCurrent() **Window
- func (s *Context) GetDeltaTimeSeconds() *float32
- func (s *Context) GetDrawList() *DrawList
- func (s *Context) GetEnd() **Window
- func (s *Context) GetFreelist() **PageElement
- func (s *Context) GetInput() *Input
- func (s *Context) GetLastWidgetState() *Flags
- func (s *Context) GetMemory() *Buffer
- func (s *Context) GetOverlay() *CommandBuffer
- func (s *Context) GetPool() *Pool
- func (s *Context) GetSeq() *uint32
- func (s *Context) GetStacks() *ConfigurationStacks
- func (s *Context) GetStyle() *Style
- func (s *Context) GetTextEdit() *TextEdit
- func (s *Context) GetUsePool() *int32
- func (ctx *Context) Input() *Input
- func (ctx *Context) LastWidgetState() Flags
- func (ctx *Context) Memory() *Buffer
- func (x *Context) PassRef() *C.struct_nk_context
- func (x *Context) Ref() *C.struct_nk_context
- func (ctx *Context) SetClipboard(board ClipboardPlugin)
- func (ctx *Context) Stacks() *ConfigurationStacks
- func (ctx *Context) Style() *Style
- type ConvertConfig
- type Cursor
- type DrawCommand
- func NewDrawCommand() *DrawCommand
- func NewDrawCommandRef(ref unsafe.Pointer) *DrawCommand
- func Nk_DrawBegin(arg0 *Context, arg1 *Buffer) *DrawCommand
- func Nk_DrawEnd(arg0 *Context, arg1 *Buffer) *DrawCommand
- func Nk_DrawListBegin(arg0 *DrawList, arg1 *Buffer) *DrawCommand
- func Nk_DrawListEnd(arg0 *DrawList, arg1 *Buffer) *DrawCommand
- func Nk_DrawListNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *DrawList) *DrawCommand
- func Nk_DrawNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *Context) *DrawCommand
- func (cmd *DrawCommand) ClipRect() *Rect
- func (cmd *DrawCommand) ElemCount() int
- func (x *DrawCommand) Free()
- func (s *DrawCommand) GetClipRect() *Rect
- func (s *DrawCommand) GetElemCount() *uint32
- func (s *DrawCommand) GetTexture() *Handle
- func (x *DrawCommand) PassRef() *C.struct_nk_draw_command
- func (x *DrawCommand) Ref() *C.struct_nk_draw_command
- func (cmd *DrawCommand) Texture() Handle
- type DrawIndex
- type DrawList
- func (x *DrawList) Free()
- func (s *DrawList) GetBuffer() **Buffer
- func (s *DrawList) GetCircleVtx() [12]Vec2
- func (s *DrawList) GetClipRect() *Rect
- func (s *DrawList) GetCmdCount() *uint32
- func (s *DrawList) GetCmdOffset() *Size
- func (s *DrawList) GetConfig() *ConvertConfig
- func (s *DrawList) GetElementCount() *uint32
- func (s *DrawList) GetElements() **Buffer
- func (s *DrawList) GetPathCount() *uint32
- func (s *DrawList) GetPathOffset() *uint32
- func (s *DrawList) GetVertexCount() *uint32
- func (s *DrawList) GetVertices() **Buffer
- func (x *DrawList) PassRef() *C.struct_nk_draw_list
- func (x *DrawList) Ref() *C.struct_nk_draw_list
- type DrawNullTexture
- type DrawVertexLayoutElement
- func (x *DrawVertexLayoutElement) Deref()
- func (x *DrawVertexLayoutElement) Free()
- func (x *DrawVertexLayoutElement) PassRef() (*C.struct_nk_draw_vertex_layout_element, *cgoAllocMap)
- func (x DrawVertexLayoutElement) PassValue() (C.struct_nk_draw_vertex_layout_element, *cgoAllocMap)
- func (x *DrawVertexLayoutElement) Ref() *C.struct_nk_draw_vertex_layout_element
- type EditState
- func (x *EditState) Free()
- func (s *EditState) GetActive() *int32
- func (s *EditState) GetCursor() *int32
- func (s *EditState) GetMode() *byte
- func (s *EditState) GetName() *Hash
- func (s *EditState) GetOld() *uint32
- func (s *EditState) GetPrev() *int32
- func (s *EditState) GetScrollbar() *Scroll
- func (s *EditState) GetSelEnd() *int32
- func (s *EditState) GetSelStart() *int32
- func (s *EditState) GetSeq() *uint32
- func (s *EditState) GetSingleLine() *byte
- func (x *EditState) PassRef() *C.struct_nk_edit_state
- func (x *EditState) Ref() *C.struct_nk_edit_state
- type Flags
- func NkChartPush(arg0 *Context, arg1 float32) Flags
- func NkChartPushSlot(arg0 *Context, arg1 float32, arg2 int32) Flags
- func NkConvert(arg0 *Context, cmds *Buffer, vertices *Buffer, elements *Buffer, ...) Flags
- func NkEditBuffer(arg0 *Context, arg1 Flags, arg2 *TextEdit, arg3 PluginFilter) Flags
- func NkEditString(arg0 *Context, arg1 Flags, buffer []byte, len *int32, max int32, ...) Flags
- func NkEditStringZeroTerminated(arg0 *Context, arg1 Flags, buffer []byte, max int32, arg4 PluginFilter) Flags
- type Font
- func NewFont() *Font
- func NewFontRef(ref unsafe.Pointer) *Font
- func NkFontAtlasAdd(arg0 *FontAtlas, arg1 *FontConfig) *Font
- func NkFontAtlasAddCompressed(arg0 *FontAtlas, memory unsafe.Pointer, size Size, height float32, ...) *Font
- func NkFontAtlasAddCompressedBase85(arg0 *FontAtlas, data string, height float32, config *FontConfig) *Font
- func NkFontAtlasAddDefault(arg0 *FontAtlas, height float32, arg2 *FontConfig) *Font
- func NkFontAtlasAddFromBytes(atlas *FontAtlas, data []byte, height float32, config *FontConfig) *Font
- func NkFontAtlasAddFromFile(atlas *FontAtlas, filePath string, height float32, arg3 *FontConfig) *Font
- func NkFontAtlasAddFromMemory(atlas *FontAtlas, memory unsafe.Pointer, size Size, height float32, ...) *Font
- func (x *Font) Free()
- func (s *Font) GetConfig() **FontConfig
- func (s *Font) GetFallback() **FontGlyph
- func (s *Font) GetFallbackCodepoint() *Rune
- func (s *Font) GetGlyphs() **FontGlyph
- func (s *Font) GetHandle() *UserFont
- func (s *Font) GetInfo() *BakedFont
- func (s *Font) GetNext() **Font
- func (s *Font) GetScale() *float32
- func (s *Font) GetTexture() *Handle
- func (f Font) Handle() *UserFont
- func (x *Font) PassRef() *C.struct_nk_font
- func (x *Font) Ref() *C.struct_nk_font
- type FontAtlas
- func (atlas *FontAtlas) DefaultFont() *Font
- func (x *FontAtlas) Free()
- func (s *FontAtlas) GetConfig() **FontConfig
- func (s *FontAtlas) GetCursors() [7]Cursor
- func (s *FontAtlas) GetCustom() *Recti
- func (s *FontAtlas) GetDefaultFont() **Font
- func (s *FontAtlas) GetFontNum() *int32
- func (s *FontAtlas) GetFonts() **Font
- func (s *FontAtlas) GetGlyphCount() *int32
- func (s *FontAtlas) GetGlyphs() **FontGlyph
- func (s *FontAtlas) GetPermanent() *Allocator
- func (s *FontAtlas) GetPixel() *unsafe.Pointer
- func (s *FontAtlas) GetTemporary() *Allocator
- func (s *FontAtlas) GetTexHeight() *int32
- func (s *FontAtlas) GetTexWidth() *int32
- func (x *FontAtlas) PassRef() *C.struct_nk_font_atlas
- func (x *FontAtlas) Ref() *C.struct_nk_font_atlas
- type FontConfig
- func (x *FontConfig) Free()
- func (s *FontConfig) GetFallbackGlyph() *Rune
- func (s *FontConfig) GetFont() **BakedFont
- func (s *FontConfig) GetMergeMode() *byte
- func (s *FontConfig) GetN() **FontConfig
- func (s *FontConfig) GetNext() **FontConfig
- func (s *FontConfig) GetOversampleH() *byte
- func (s *FontConfig) GetOversampleV() *byte
- func (s *FontConfig) GetP() **FontConfig
- func (s *FontConfig) GetPadding() [3]byte
- func (s *FontConfig) GetPixelSnap() *byte
- func (s *FontConfig) GetRange() **Rune
- func (s *FontConfig) GetSize() *float32
- func (s *FontConfig) GetSpacing() *Vec2
- func (s *FontConfig) GetTtfBlob() *unsafe.Pointer
- func (s *FontConfig) GetTtfDataOwnedByAtlas() *byte
- func (s *FontConfig) GetTtfSize() *Size
- func (x *FontConfig) PassRef() *C.struct_nk_font_config
- func (x *FontConfig) Ref() *C.struct_nk_font_config
- func (fc *FontConfig) SetOversample(v, h int)
- func (fc *FontConfig) SetPixelSnap(b bool)
- func (fc *FontConfig) SetRange(r *Rune)
- func (fc *FontConfig) SetRangeGoRune(r []rune)
- type FontGlyph
- func (x *FontGlyph) Free()
- func (s *FontGlyph) GetCodepoint() *Rune
- func (s *FontGlyph) GetH() *float32
- func (s *FontGlyph) GetU0() *float32
- func (s *FontGlyph) GetU1() *float32
- func (s *FontGlyph) GetV0() *float32
- func (s *FontGlyph) GetV1() *float32
- func (s *FontGlyph) GetW() *float32
- func (s *FontGlyph) GetX0() *float32
- func (s *FontGlyph) GetX1() *float32
- func (s *FontGlyph) GetXadvance() *float32
- func (s *FontGlyph) GetY0() *float32
- func (s *FontGlyph) GetY1() *float32
- func (x *FontGlyph) PassRef() *C.struct_nk_font_glyph
- func (x *FontGlyph) Ref() *C.struct_nk_font_glyph
- type Glyph
- type Handle
- type Hash
- type Image
- func NewImage() *Image
- func NewImageRef(ref unsafe.Pointer) *Image
- func NkImageHandle(arg0 Handle) Image
- func NkImageId(arg0 int32) Image
- func NkImagePtr(arg0 unsafe.Pointer) Image
- func NkSubimageHandle(arg0 Handle, w Ushort, h Ushort, subRegion Rect) Image
- func NkSubimageId(arg0 int32, w Ushort, h Ushort, subRegion Rect) Image
- func NkSubimagePtr(arg0 unsafe.Pointer, w Ushort, h Ushort, subRegion Rect) Image
- type Input
- type Int
- type Key
- type Keyboard
- type ListView
- func (l *ListView) Begin() int
- func (l *ListView) Count() int
- func (l *ListView) End() int
- func (x *ListView) Free()
- func (s *ListView) GetBegin() *int32
- func (s *ListView) GetCount() *int32
- func (s *ListView) GetCtx() **Context
- func (s *ListView) GetEnd() *int32
- func (s *ListView) GetScrollPointer() **Uint
- func (s *ListView) GetScrollValue() *Uint
- func (s *ListView) GetTotalHeight() *int32
- func (x *ListView) PassRef() *C.struct_nk_list_view
- func (x *ListView) Ref() *C.struct_nk_list_view
- type Memory
- type MemoryStatus
- func (x *MemoryStatus) Free()
- func (s *MemoryStatus) GetAllocated() *Size
- func (s *MemoryStatus) GetCalls() *Size
- func (s *MemoryStatus) GetMemory() *unsafe.Pointer
- func (s *MemoryStatus) GetNeeded() *Size
- func (s *MemoryStatus) GetSize() *Size
- func (s *MemoryStatus) GetType() *uint32
- func (x *MemoryStatus) PassRef() *C.struct_nk_memory_status
- func (x *MemoryStatus) Ref() *C.struct_nk_memory_status
- type MenuState
- func (x *MenuState) Free()
- func (s *MenuState) GetH() *float32
- func (s *MenuState) GetOffset() *Scroll
- func (s *MenuState) GetW() *float32
- func (s *MenuState) GetX() *float32
- func (s *MenuState) GetY() *float32
- func (x *MenuState) PassRef() *C.struct_nk_menu_state
- func (x *MenuState) Ref() *C.struct_nk_menu_state
- type Mouse
- func (mouse *Mouse) Delta() (int32, int32)
- func (x *Mouse) Free()
- func (s *Mouse) GetButtons() [4]MouseButton
- func (s *Mouse) GetDelta() *Vec2
- func (s *Mouse) GetGrab() *byte
- func (s *Mouse) GetGrabbed() *byte
- func (s *Mouse) GetPos() *Vec2
- func (s *Mouse) GetPrev() *Vec2
- func (s *Mouse) GetScrollDelta() *Vec2
- func (s *Mouse) GetUngrab() *byte
- func (mouse *Mouse) Grab() bool
- func (mouse *Mouse) Grabbed() bool
- func (x *Mouse) PassRef() *C.struct_nk_mouse
- func (mouse *Mouse) Pos() (int32, int32)
- func (mouse *Mouse) Prev() (int32, int32)
- func (x *Mouse) Ref() *C.struct_nk_mouse
- func (mouse *Mouse) ScrollDelta() Vec2
- func (mouse *Mouse) SetPos(x, y int32)
- func (mouse *Mouse) Ungrab() bool
- type MouseButton
- type NineSlice
- func NewNineSlice() *NineSlice
- func NewNineSliceRef(ref unsafe.Pointer) *NineSlice
- func NkNineSliceHandle(arg0 Handle, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
- func NkNineSliceId(arg0 int32, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
- func NkNineSlicePtr(arg0 unsafe.Pointer, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
- func NkSub9sliceHandle(arg0 Handle, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, r Ushort, ...) NineSlice
- func NkSub9sliceId(arg0 int32, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, r Ushort, ...) NineSlice
- func NkSub9slicePtr(arg0 unsafe.Pointer, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, ...) NineSlice
- func (x *NineSlice) Free()
- func (s *NineSlice) GetB() *Ushort
- func (s *NineSlice) GetImg() *Image
- func (s *NineSlice) GetL() *Ushort
- func (s *NineSlice) GetR() *Ushort
- func (s *NineSlice) GetT() *Ushort
- func (x *NineSlice) PassRef() *C.struct_nk_nine_slice
- func (x *NineSlice) Ref() *C.struct_nk_nine_slice
- type NkGLFWClipbard
- type Page
- type PageData
- type PageElement
- type Panel
- func (panel *Panel) Bounds() *Rect
- func (x *Panel) Free()
- func (s *Panel) GetAtX() *float32
- func (s *Panel) GetAtY() *float32
- func (s *Panel) GetBorder() *float32
- func (s *Panel) GetBounds() *Rect
- func (s *Panel) GetBuffer() **CommandBuffer
- func (s *Panel) GetChart() *Chart
- func (s *Panel) GetClip() *Rect
- func (s *Panel) GetFlags() *Flags
- func (s *Panel) GetFooterHeight() *float32
- func (s *Panel) GetHasScrolling() *uint32
- func (s *Panel) GetHeaderHeight() *float32
- func (s *Panel) GetMaxX() *float32
- func (s *Panel) GetMenu() *MenuState
- func (s *Panel) GetOffsetX() **Uint
- func (s *Panel) GetOffsetY() **Uint
- func (s *Panel) GetParent() **Panel
- func (s *Panel) GetRow() *RowLayout
- func (x *Panel) PassRef() *C.struct_nk_panel
- func (x *Panel) Ref() *C.struct_nk_panel
- type PlatformInitOption
- type PluginAlloc
- type PluginCopy
- type PluginFilter
- type PluginFree
- type PluginPaste
- type Pool
- func (x *Pool) Free()
- func (s *Pool) GetAlloc() *Allocator
- func (s *Pool) GetCap() *Size
- func (s *Pool) GetCapacity() *uint32
- func (s *Pool) GetFreelist() **PageElement
- func (s *Pool) GetPageCount() *uint32
- func (s *Pool) GetPages() **Page
- func (s *Pool) GetSize() *Size
- func (x *Pool) PassRef() *C.struct_nk_pool
- func (x *Pool) Ref() *C.struct_nk_pool
- type PopupBuffer
- func (x *PopupBuffer) Free()
- func (s *PopupBuffer) GetActive() *Bool
- func (s *PopupBuffer) GetBegin() *Size
- func (s *PopupBuffer) GetEnd() *Size
- func (s *PopupBuffer) GetLast() *Size
- func (s *PopupBuffer) GetParent() *Size
- func (x *PopupBuffer) PassRef() *C.struct_nk_popup_buffer
- func (x *PopupBuffer) Ref() *C.struct_nk_popup_buffer
- type PopupState
- func (x *PopupState) Free()
- func (s *PopupState) GetActive() *Bool
- func (s *PopupState) GetActiveCon() *uint32
- func (s *PopupState) GetBuf() *PopupBuffer
- func (s *PopupState) GetComboCount() *uint32
- func (s *PopupState) GetConCount() *uint32
- func (s *PopupState) GetConOld() *uint32
- func (s *PopupState) GetHeader() *Rect
- func (s *PopupState) GetName() *Hash
- func (s *PopupState) GetWin() **Window
- func (x *PopupState) PassRef() *C.struct_nk_popup_state
- func (x *PopupState) Ref() *C.struct_nk_popup_state
- type PropertyState
- func (x *PropertyState) Free()
- func (s *PropertyState) GetActive() *int32
- func (s *PropertyState) GetBuffer() [64]byte
- func (s *PropertyState) GetCursor() *int32
- func (s *PropertyState) GetLength() *int32
- func (s *PropertyState) GetName() *Hash
- func (s *PropertyState) GetOld() *uint32
- func (s *PropertyState) GetPrev() *int32
- func (s *PropertyState) GetSelectEnd() *int32
- func (s *PropertyState) GetSelectStart() *int32
- func (s *PropertyState) GetSeq() *uint32
- func (s *PropertyState) GetState() *int32
- func (x *PropertyState) PassRef() *C.struct_nk_property_state
- func (x *PropertyState) Ref() *C.struct_nk_property_state
- type Ptr
- type QueryFontGlyphF
- type RawString
- type Rect
- func NewRect() *Rect
- func NewRectRef(ref unsafe.Pointer) *Rect
- func NkGetNullRect() Rect
- func NkLayoutSpaceBounds(arg0 *Context) Rect
- func NkLayoutSpaceRectToLocal(arg0 *Context, arg1 Rect) Rect
- func NkLayoutSpaceRectToScreen(arg0 *Context, arg1 Rect) Rect
- func NkLayoutWidgetBounds(arg0 *Context) Rect
- func NkRect(x float32, y float32, w float32, h float32) Rect
- func NkRecta(pos Vec2, size Vec2) Rect
- func NkRecti(x int32, y int32, w int32, h int32) Rect
- func NkRectiv(xywh *int32) Rect
- func NkRectv(xywh *float32) Rect
- func NkWidgetBounds(arg0 *Context) Rect
- func NkWindowGetBounds(ctx *Context) Rect
- func NkWindowGetContentRegion(arg0 *Context) Rect
- func (x *Rect) Free()
- func (s *Rect) GetH() *float32
- func (s *Rect) GetW() *float32
- func (s *Rect) GetX() *float32
- func (s *Rect) GetY() *float32
- func (r *Rect) H() float32
- func (x *Rect) PassRef() *C.struct_nk_rect
- func (x *Rect) Ref() *C.struct_nk_rect
- func (r *Rect) W() float32
- func (r *Rect) X() float32
- func (r *Rect) Y() float32
- type Recti
- type RowLayout
- func (x *RowLayout) Free()
- func (s *RowLayout) GetColumns() *int32
- func (s *RowLayout) GetFilled() *float32
- func (s *RowLayout) GetHeight() *float32
- func (s *RowLayout) GetIndex() *int32
- func (s *RowLayout) GetItem() *Rect
- func (s *RowLayout) GetItemHeight() *float32
- func (s *RowLayout) GetItemOffset() *float32
- func (s *RowLayout) GetItemWidth() *float32
- func (s *RowLayout) GetMinHeight() *float32
- func (s *RowLayout) GetRatio() []*float32
- func (s *RowLayout) GetTemplates() [16]float32
- func (s *RowLayout) GetTreeDepth() *int32
- func (x *RowLayout) PassRef() *C.struct_nk_row_layout
- func (x *RowLayout) Ref() *C.struct_nk_row_layout
- type Rune
- type Scroll
- type Short
- type Size
- type Str
- type Style
- func (x *Style) Free()
- func (s *Style) GetButton() *StyleButton
- func (s *Style) GetChart() *StyleChart
- func (s *Style) GetCheckbox() *StyleToggle
- func (s *Style) GetCombo() *StyleCombo
- func (s *Style) GetContextualButton() *StyleButton
- func (s *Style) GetCursorActive() **Cursor
- func (s *Style) GetCursorLast() **Cursor
- func (s *Style) GetCursorVisible() *int32
- func (s *Style) GetCursors() [7]*Cursor
- func (s *Style) GetEdit() *StyleEdit
- func (s *Style) GetFont() []*UserFont
- func (s *Style) GetMenuButton() *StyleButton
- func (s *Style) GetOption() *StyleToggle
- func (s *Style) GetProgress() *StyleProgress
- func (s *Style) GetProperty() *StyleProperty
- func (s *Style) GetScrollh() *StyleScrollbar
- func (s *Style) GetScrollv() *StyleScrollbar
- func (s *Style) GetSelectable() *StyleSelectable
- func (s *Style) GetSlider() *StyleSlider
- func (s *Style) GetTab() *StyleTab
- func (s *Style) GetText() *StyleText
- func (s *Style) GetWindow() *StyleWindow
- func (x *Style) PassRef() *C.struct_nk_style
- func (x *Style) Ref() *C.struct_nk_style
- func (s *Style) Text() *StyleText
- func (s *Style) Window() *StyleWindow
- type StyleButton
- func (x *StyleButton) Free()
- func (s *StyleButton) GetActive() *StyleItem
- func (s *StyleButton) GetBorder() *float32
- func (s *StyleButton) GetBorderColor() *Color
- func (s *StyleButton) GetHover() *StyleItem
- func (s *StyleButton) GetImagePadding() *Vec2
- func (s *StyleButton) GetNormal() *StyleItem
- func (s *StyleButton) GetPadding() *Vec2
- func (s *StyleButton) GetRounding() *float32
- func (s *StyleButton) GetTextActive() *Color
- func (s *StyleButton) GetTextAlignment() *Flags
- func (s *StyleButton) GetTextBackground() *Color
- func (s *StyleButton) GetTextHover() *Color
- func (s *StyleButton) GetTextNormal() *Color
- func (s *StyleButton) GetTouchPadding() *Vec2
- func (s *StyleButton) GetUserdata() *Handle
- func (x *StyleButton) PassRef() *C.struct_nk_style_button
- func (x *StyleButton) Ref() *C.struct_nk_style_button
- type StyleChart
- func (x *StyleChart) Free()
- func (s *StyleChart) GetBackground() *StyleItem
- func (s *StyleChart) GetBorder() *float32
- func (s *StyleChart) GetBorderColor() *Color
- func (s *StyleChart) GetColor() *Color
- func (s *StyleChart) GetPadding() *Vec2
- func (s *StyleChart) GetRounding() *float32
- func (s *StyleChart) GetSelectedColor() *Color
- func (x *StyleChart) PassRef() *C.struct_nk_style_chart
- func (x *StyleChart) Ref() *C.struct_nk_style_chart
- type StyleCombo
- func (x *StyleCombo) Free()
- func (s *StyleCombo) GetActive() *StyleItem
- func (s *StyleCombo) GetBorder() *float32
- func (s *StyleCombo) GetBorderColor() *Color
- func (s *StyleCombo) GetButton() *StyleButton
- func (s *StyleCombo) GetButtonPadding() *Vec2
- func (s *StyleCombo) GetContentPadding() *Vec2
- func (s *StyleCombo) GetHover() *StyleItem
- func (s *StyleCombo) GetLabelActive() *Color
- func (s *StyleCombo) GetLabelHover() *Color
- func (s *StyleCombo) GetLabelNormal() *Color
- func (s *StyleCombo) GetNormal() *StyleItem
- func (s *StyleCombo) GetRounding() *float32
- func (s *StyleCombo) GetSpacing() *Vec2
- func (s *StyleCombo) GetSymbolActive() *Color
- func (s *StyleCombo) GetSymbolHover() *Color
- func (s *StyleCombo) GetSymbolNormal() *Color
- func (x *StyleCombo) PassRef() *C.struct_nk_style_combo
- func (x *StyleCombo) Ref() *C.struct_nk_style_combo
- type StyleEdit
- func (x *StyleEdit) Free()
- func (s *StyleEdit) GetActive() *StyleItem
- func (s *StyleEdit) GetBorder() *float32
- func (s *StyleEdit) GetBorderColor() *Color
- func (s *StyleEdit) GetCursorHover() *Color
- func (s *StyleEdit) GetCursorNormal() *Color
- func (s *StyleEdit) GetCursorSize() *float32
- func (s *StyleEdit) GetCursorTextHover() *Color
- func (s *StyleEdit) GetCursorTextNormal() *Color
- func (s *StyleEdit) GetHover() *StyleItem
- func (s *StyleEdit) GetNormal() *StyleItem
- func (s *StyleEdit) GetPadding() *Vec2
- func (s *StyleEdit) GetRounding() *float32
- func (s *StyleEdit) GetRowPadding() *float32
- func (s *StyleEdit) GetScrollbar() *StyleScrollbar
- func (s *StyleEdit) GetScrollbarSize() *Vec2
- func (s *StyleEdit) GetSelectedHover() *Color
- func (s *StyleEdit) GetSelectedNormal() *Color
- func (s *StyleEdit) GetSelectedTextHover() *Color
- func (s *StyleEdit) GetSelectedTextNormal() *Color
- func (s *StyleEdit) GetTextActive() *Color
- func (s *StyleEdit) GetTextHover() *Color
- func (s *StyleEdit) GetTextNormal() *Color
- func (x *StyleEdit) PassRef() *C.struct_nk_style_edit
- func (x *StyleEdit) Ref() *C.struct_nk_style_edit
- type StyleItem
- type StyleItemData
- type StyleProgress
- func (x *StyleProgress) Free()
- func (s *StyleProgress) GetActive() *StyleItem
- func (s *StyleProgress) GetBorder() *float32
- func (s *StyleProgress) GetBorderColor() *Color
- func (s *StyleProgress) GetCursorActive() *StyleItem
- func (s *StyleProgress) GetCursorBorder() *float32
- func (s *StyleProgress) GetCursorBorderColor() *Color
- func (s *StyleProgress) GetCursorHover() *StyleItem
- func (s *StyleProgress) GetCursorNormal() *StyleItem
- func (s *StyleProgress) GetCursorRounding() *float32
- func (s *StyleProgress) GetHover() *StyleItem
- func (s *StyleProgress) GetNormal() *StyleItem
- func (s *StyleProgress) GetPadding() *Vec2
- func (s *StyleProgress) GetRounding() *float32
- func (s *StyleProgress) GetUserdata() *Handle
- func (x *StyleProgress) PassRef() *C.struct_nk_style_progress
- func (x *StyleProgress) Ref() *C.struct_nk_style_progress
- type StyleProperty
- func (x *StyleProperty) Free()
- func (s *StyleProperty) GetActive() *StyleItem
- func (s *StyleProperty) GetBorder() *float32
- func (s *StyleProperty) GetBorderColor() *Color
- func (s *StyleProperty) GetDecButton() *StyleButton
- func (s *StyleProperty) GetEdit() *StyleEdit
- func (s *StyleProperty) GetHover() *StyleItem
- func (s *StyleProperty) GetIncButton() *StyleButton
- func (s *StyleProperty) GetLabelActive() *Color
- func (s *StyleProperty) GetLabelHover() *Color
- func (s *StyleProperty) GetLabelNormal() *Color
- func (s *StyleProperty) GetNormal() *StyleItem
- func (s *StyleProperty) GetPadding() *Vec2
- func (s *StyleProperty) GetRounding() *float32
- func (s *StyleProperty) GetUserdata() *Handle
- func (x *StyleProperty) PassRef() *C.struct_nk_style_property
- func (x *StyleProperty) Ref() *C.struct_nk_style_property
- type StyleScrollbar
- func (x *StyleScrollbar) Free()
- func (s *StyleScrollbar) GetActive() *StyleItem
- func (s *StyleScrollbar) GetBorder() *float32
- func (s *StyleScrollbar) GetBorderColor() *Color
- func (s *StyleScrollbar) GetBorderCursor() *float32
- func (s *StyleScrollbar) GetCursorActive() *StyleItem
- func (s *StyleScrollbar) GetCursorBorderColor() *Color
- func (s *StyleScrollbar) GetCursorHover() *StyleItem
- func (s *StyleScrollbar) GetCursorNormal() *StyleItem
- func (s *StyleScrollbar) GetDecButton() *StyleButton
- func (s *StyleScrollbar) GetHover() *StyleItem
- func (s *StyleScrollbar) GetIncButton() *StyleButton
- func (s *StyleScrollbar) GetNormal() *StyleItem
- func (s *StyleScrollbar) GetPadding() *Vec2
- func (s *StyleScrollbar) GetRounding() *float32
- func (s *StyleScrollbar) GetRoundingCursor() *float32
- func (s *StyleScrollbar) GetShowButtons() *int32
- func (s *StyleScrollbar) GetUserdata() *Handle
- func (x *StyleScrollbar) PassRef() *C.struct_nk_style_scrollbar
- func (x *StyleScrollbar) Ref() *C.struct_nk_style_scrollbar
- type StyleSelectable
- func (x *StyleSelectable) Free()
- func (s *StyleSelectable) GetHover() *StyleItem
- func (s *StyleSelectable) GetHoverActive() *StyleItem
- func (s *StyleSelectable) GetImagePadding() *Vec2
- func (s *StyleSelectable) GetNormal() *StyleItem
- func (s *StyleSelectable) GetNormalActive() *StyleItem
- func (s *StyleSelectable) GetPadding() *Vec2
- func (s *StyleSelectable) GetPressed() *StyleItem
- func (s *StyleSelectable) GetPressedActive() *StyleItem
- func (s *StyleSelectable) GetRounding() *float32
- func (s *StyleSelectable) GetTextAlignment() *Flags
- func (s *StyleSelectable) GetTextBackground() *Color
- func (s *StyleSelectable) GetTextHover() *Color
- func (s *StyleSelectable) GetTextHoverActive() *Color
- func (s *StyleSelectable) GetTextNormal() *Color
- func (s *StyleSelectable) GetTextNormalActive() *Color
- func (s *StyleSelectable) GetTextPressed() *Color
- func (s *StyleSelectable) GetTextPressedActive() *Color
- func (s *StyleSelectable) GetTouchPadding() *Vec2
- func (s *StyleSelectable) GetUserdata() *Handle
- func (x *StyleSelectable) PassRef() *C.struct_nk_style_selectable
- func (x *StyleSelectable) Ref() *C.struct_nk_style_selectable
- type StyleSlide
- type StyleSlider
- func (x *StyleSlider) Free()
- func (s *StyleSlider) GetActive() *StyleItem
- func (s *StyleSlider) GetBarActive() *Color
- func (s *StyleSlider) GetBarFilled() *Color
- func (s *StyleSlider) GetBarHeight() *float32
- func (s *StyleSlider) GetBarHover() *Color
- func (s *StyleSlider) GetBarNormal() *Color
- func (s *StyleSlider) GetBorder() *float32
- func (s *StyleSlider) GetBorderColor() *Color
- func (s *StyleSlider) GetCursorActive() *StyleItem
- func (s *StyleSlider) GetCursorHover() *StyleItem
- func (s *StyleSlider) GetCursorNormal() *StyleItem
- func (s *StyleSlider) GetCursorSize() *Vec2
- func (s *StyleSlider) GetDecButton() *StyleButton
- func (s *StyleSlider) GetHover() *StyleItem
- func (s *StyleSlider) GetIncButton() *StyleButton
- func (s *StyleSlider) GetNormal() *StyleItem
- func (s *StyleSlider) GetPadding() *Vec2
- func (s *StyleSlider) GetRounding() *float32
- func (s *StyleSlider) GetShowButtons() *int32
- func (s *StyleSlider) GetSpacing() *Vec2
- func (s *StyleSlider) GetUserdata() *Handle
- func (x *StyleSlider) PassRef() *C.struct_nk_style_slider
- func (x *StyleSlider) Ref() *C.struct_nk_style_slider
- type StyleTab
- func (x *StyleTab) Free()
- func (s *StyleTab) GetBackground() *StyleItem
- func (s *StyleTab) GetBorder() *float32
- func (s *StyleTab) GetBorderColor() *Color
- func (s *StyleTab) GetIndent() *float32
- func (s *StyleTab) GetNodeMaximizeButton() *StyleButton
- func (s *StyleTab) GetNodeMinimizeButton() *StyleButton
- func (s *StyleTab) GetPadding() *Vec2
- func (s *StyleTab) GetRounding() *float32
- func (s *StyleTab) GetSpacing() *Vec2
- func (s *StyleTab) GetTabMaximizeButton() *StyleButton
- func (s *StyleTab) GetTabMinimizeButton() *StyleButton
- func (s *StyleTab) GetText() *Color
- func (x *StyleTab) PassRef() *C.struct_nk_style_tab
- func (x *StyleTab) Ref() *C.struct_nk_style_tab
- type StyleText
- type StyleToggle
- func (x *StyleToggle) Free()
- func (s *StyleToggle) GetActive() *StyleItem
- func (s *StyleToggle) GetBorder() *float32
- func (s *StyleToggle) GetBorderColor() *Color
- func (s *StyleToggle) GetCursorHover() *StyleItem
- func (s *StyleToggle) GetCursorNormal() *StyleItem
- func (s *StyleToggle) GetHover() *StyleItem
- func (s *StyleToggle) GetNormal() *StyleItem
- func (s *StyleToggle) GetPadding() *Vec2
- func (s *StyleToggle) GetSpacing() *float32
- func (s *StyleToggle) GetTextActive() *Color
- func (s *StyleToggle) GetTextAlignment() *Flags
- func (s *StyleToggle) GetTextBackground() *Color
- func (s *StyleToggle) GetTextHover() *Color
- func (s *StyleToggle) GetTextNormal() *Color
- func (s *StyleToggle) GetTouchPadding() *Vec2
- func (s *StyleToggle) GetUserdata() *Handle
- func (x *StyleToggle) PassRef() *C.struct_nk_style_toggle
- func (x *StyleToggle) Ref() *C.struct_nk_style_toggle
- type StyleWindow
- func (w *StyleWindow) Background() *Color
- func (x *StyleWindow) Free()
- func (s *StyleWindow) GetBackground() *Color
- func (s *StyleWindow) GetBorder() *float32
- func (s *StyleWindow) GetBorderColor() *Color
- func (s *StyleWindow) GetComboBorder() *float32
- func (s *StyleWindow) GetComboBorderColor() *Color
- func (s *StyleWindow) GetComboPadding() *Vec2
- func (s *StyleWindow) GetContextualBorder() *float32
- func (s *StyleWindow) GetContextualBorderColor() *Color
- func (s *StyleWindow) GetContextualPadding() *Vec2
- func (s *StyleWindow) GetFixedBackground() *StyleItem
- func (s *StyleWindow) GetGroupBorder() *float32
- func (s *StyleWindow) GetGroupBorderColor() *Color
- func (s *StyleWindow) GetGroupPadding() *Vec2
- func (s *StyleWindow) GetHeader() *StyleWindowHeader
- func (s *StyleWindow) GetMenuBorder() *float32
- func (s *StyleWindow) GetMenuBorderColor() *Color
- func (s *StyleWindow) GetMenuPadding() *Vec2
- func (s *StyleWindow) GetMinRowHeightPadding() *float32
- func (s *StyleWindow) GetMinSize() *Vec2
- func (s *StyleWindow) GetPadding() *Vec2
- func (s *StyleWindow) GetPopupBorder() *float32
- func (s *StyleWindow) GetPopupBorderColor() *Color
- func (s *StyleWindow) GetPopupPadding() *Vec2
- func (s *StyleWindow) GetRounding() *float32
- func (s *StyleWindow) GetScaler() *StyleItem
- func (s *StyleWindow) GetScrollbarSize() *Vec2
- func (s *StyleWindow) GetSpacing() *Vec2
- func (s *StyleWindow) GetTooltipBorder() *float32
- func (s *StyleWindow) GetTooltipBorderColor() *Color
- func (s *StyleWindow) GetTooltipPadding() *Vec2
- func (w *StyleWindow) GroupPadding() *Vec2
- func (w *StyleWindow) Padding() *Vec2
- func (x *StyleWindow) PassRef() *C.struct_nk_style_window
- func (x *StyleWindow) Ref() *C.struct_nk_style_window
- func (w *StyleWindow) Spacing() *Vec2
- type StyleWindowHeader
- func (x *StyleWindowHeader) Free()
- func (s *StyleWindowHeader) GetActive() *StyleItem
- func (s *StyleWindowHeader) GetCloseButton() *StyleButton
- func (s *StyleWindowHeader) GetHover() *StyleItem
- func (s *StyleWindowHeader) GetLabelActive() *Color
- func (s *StyleWindowHeader) GetLabelHover() *Color
- func (s *StyleWindowHeader) GetLabelNormal() *Color
- func (s *StyleWindowHeader) GetLabelPadding() *Vec2
- func (s *StyleWindowHeader) GetMinimizeButton() *StyleButton
- func (s *StyleWindowHeader) GetNormal() *StyleItem
- func (s *StyleWindowHeader) GetPadding() *Vec2
- func (s *StyleWindowHeader) GetSpacing() *Vec2
- func (x *StyleWindowHeader) PassRef() *C.struct_nk_style_window_header
- func (x *StyleWindowHeader) Ref() *C.struct_nk_style_window_header
- type Table
- func (x *Table) Free()
- func (s *Table) GetKeys() [59]Hash
- func (s *Table) GetNext() **Table
- func (s *Table) GetPrev() **Table
- func (s *Table) GetSeq() *uint32
- func (s *Table) GetSize() *uint32
- func (s *Table) GetValues() [59]Uint
- func (x *Table) PassRef() *C.struct_nk_table
- func (x *Table) Ref() *C.struct_nk_table
- type TextEdit
- func (x *TextEdit) Free()
- func (s *TextEdit) GetActive() *byte
- func (s *TextEdit) GetClip() *Clipboard
- func (s *TextEdit) GetCursor() *int32
- func (s *TextEdit) GetCursorAtEndOfLine() *byte
- func (s *TextEdit) GetFilter() *PluginFilter
- func (t *TextEdit) GetGoString() string
- func (s *TextEdit) GetHasPreferredX() *byte
- func (s *TextEdit) GetInitialized() *byte
- func (s *TextEdit) GetMode() *byte
- func (s *TextEdit) GetPadding1() *byte
- func (s *TextEdit) GetPreferredX() *float32
- func (s *TextEdit) GetScrollbar() *Vec2
- func (s *TextEdit) GetSelectEnd() *int32
- func (s *TextEdit) GetSelectStart() *int32
- func (s *TextEdit) GetSingleLine() *byte
- func (s *TextEdit) GetString() *Str
- func (s *TextEdit) GetUndo() *TextUndoState
- func (x *TextEdit) PassRef() *C.struct_nk_text_edit
- func (x *TextEdit) Ref() *C.struct_nk_text_edit
- type TextUndoRecord
- func (x *TextUndoRecord) Free()
- func (s *TextUndoRecord) GetCharStorage() *int16
- func (s *TextUndoRecord) GetDeleteLength() *int16
- func (s *TextUndoRecord) GetInsertLength() *int16
- func (s *TextUndoRecord) GetWhere() *int32
- func (x *TextUndoRecord) PassRef() *C.struct_nk_text_undo_record
- func (x *TextUndoRecord) Ref() *C.struct_nk_text_undo_record
- type TextUndoState
- func (x *TextUndoState) Free()
- func (s *TextUndoState) GetRedoCharPoint() *int16
- func (s *TextUndoState) GetRedoPoint() *int16
- func (s *TextUndoState) GetUndoChar() [999]Rune
- func (s *TextUndoState) GetUndoCharPoint() *int16
- func (s *TextUndoState) GetUndoPoint() *int16
- func (s *TextUndoState) GetUndoRec() [99]TextUndoRecord
- func (x *TextUndoState) PassRef() *C.struct_nk_text_undo_state
- func (x *TextUndoState) Ref() *C.struct_nk_text_undo_state
- type TextWidthF
- type Uchar
- type Uint
- type UserFont
- type UserFontGlyph
- type Ushort
- type Vec2
- func NewVec2() *Vec2
- func NewVec2Ref(ref unsafe.Pointer) *Vec2
- func NkLayoutSpaceToLocal(arg0 *Context, arg1 Vec2) Vec2
- func NkLayoutSpaceToScreen(arg0 *Context, arg1 Vec2) Vec2
- func NkRectPos(arg0 Rect) Vec2
- func NkRectSize(arg0 Rect) Vec2
- func NkVec2(x float32, y float32) Vec2
- func NkVec2i(x int32, y int32) Vec2
- func NkVec2iv(xy *int32) Vec2
- func NkVec2v(xy *float32) Vec2
- func NkWidgetPosition(arg0 *Context) Vec2
- func NkWidgetSize(arg0 *Context) Vec2
- func NkWindowGetContentRegionMax(arg0 *Context) Vec2
- func NkWindowGetContentRegionMin(arg0 *Context) Vec2
- func NkWindowGetContentRegionSize(arg0 *Context) Vec2
- func NkWindowGetPosition(ctx *Context) Vec2
- func NkWindowGetSize(arg0 *Context) Vec2
- func (x *Vec2) Free()
- func (s *Vec2) GetX() *float32
- func (s *Vec2) GetY() *float32
- func (x *Vec2) PassRef() *C.struct_nk_vec2
- func (x *Vec2) Ref() *C.struct_nk_vec2
- func (v *Vec2) Reset()
- func (v *Vec2) SetX(x float32)
- func (v *Vec2) SetY(y float32)
- func (v *Vec2) X() float32
- func (v *Vec2) Y() float32
- type Vec2i
- type Window
- func (x *Window) Free()
- func (s *Window) GetBounds() *Rect
- func (s *Window) GetBuffer() *CommandBuffer
- func (s *Window) GetEdit() *EditState
- func (s *Window) GetFlags() *Flags
- func (s *Window) GetLayout() **Panel
- func (s *Window) GetName() *Hash
- func (s *Window) GetNameString() [64]byte
- func (s *Window) GetNext() **Window
- func (s *Window) GetParent() **Window
- func (s *Window) GetPopup() *PopupState
- func (s *Window) GetPrev() **Window
- func (s *Window) GetProperty() *PropertyState
- func (s *Window) GetScrollbar() *Scroll
- func (s *Window) GetScrollbarHidingTimer() *float32
- func (s *Window) GetScrolled() *uint32
- func (s *Window) GetSeq() *uint32
- func (s *Window) GetTableCount() *uint32
- func (s *Window) GetTables() **Table
- func (x *Window) PassRef() *C.struct_nk_window
- func (x *Window) Ref() *C.struct_nk_window
Constants ¶
const ( // IncludeDefaultAllocator as defined in nuklear/<predefined>:397 IncludeDefaultAllocator = 1 // IncludeFontBaking as defined in nuklear/<predefined>:398 IncludeFontBaking = 1 // IncludeDefaultFont as defined in nuklear/<predefined>:399 IncludeDefaultFont = 1 // IncludeVertexBufferOutput as defined in nuklear/<predefined>:400 IncludeVertexBufferOutput = 1 // IncludeFixedTypes as defined in nuklear/<predefined>:401 IncludeFixedTypes = 1 // IncludeStandardIo as defined in nuklear/<predefined>:402 IncludeStandardIo = 1 // Undefined as defined in nk/nuklear.h:236 Undefined = (-1.0) // UtfSize as defined in nk/nuklear.h:238 UtfSize = 4 // InputMax as defined in nk/nuklear.h:240 InputMax = 16 // MaxNumberBuffer as defined in nk/nuklear.h:243 MaxNumberBuffer = 64 // ScrollbarHidingTimeout as defined in nk/nuklear.h:246 ScrollbarHidingTimeout = 4.0 // Lib as defined in nk/nuklear.h:270 Lib = 0x5f8840 // FileLine as defined in nk/nuklear.h:301 FileLine = 0x5f8840 // Bool as defined in nk/nuklear.h:407 Bool = 0x5f8840 // Strtod as defined in nk/nuklear.h:3781 Strtod = 0x5f8840 // TexteditUndostatecount as defined in nk/nuklear.h:4297 TexteditUndostatecount = 99 // TexteditUndocharcount as defined in nk/nuklear.h:4301 TexteditUndocharcount = 999 // MaxLayoutRowTemplateColumns as defined in nk/nuklear.h:5316 MaxLayoutRowTemplateColumns = 16 // ChartMaxSlot as defined in nk/nuklear.h:5319 ChartMaxSlot = 4 // WindowMaxName as defined in nk/nuklear.h:5418 WindowMaxName = 64 // ButtonBehaviorStackSize as defined in nk/nuklear.h:5532 ButtonBehaviorStackSize = 8 // FontStackSize as defined in nk/nuklear.h:5536 FontStackSize = 8 // StyleItemStackSize as defined in nk/nuklear.h:5540 StyleItemStackSize = 16 // FloatStackSize as defined in nk/nuklear.h:5544 FloatStackSize = 32 // VectorStackSize as defined in nk/nuklear.h:5548 VectorStackSize = 16 // FlagsStackSize as defined in nk/nuklear.h:5552 FlagsStackSize = 32 // ColorStackSize as defined in nk/nuklear.h:5556 ColorStackSize = 32 // Float as defined in nk/nuklear.h:5570 Float = 0x5f8840 // ValuePageCapacity as defined in nk/nuklear.h:5600 ValuePageCapacity = 0x5f8840 // Pi as defined in nk/nuklear.h:5684 Pi = 3.141592654 // UtfInvalid as defined in nk/nuklear.h:5685 UtfInvalid = 0xFFFD // MaxFloatPrecision as defined in nk/nuklear.h:5686 MaxFloatPrecision = 2 )
const ( // False as declared in nk/nuklear.h:475 False = iota // True as declared in nk/nuklear.h:475 True = 1 )
const ( // Up as declared in nk/nuklear.h:489 Up = iota // Right as declared in nk/nuklear.h:489 Right = 1 // Down as declared in nk/nuklear.h:489 Down = 2 // Left as declared in nk/nuklear.h:489 Left = 3 )
const ( // ButtonDefault as declared in nk/nuklear.h:490 ButtonDefault = iota // ButtonRepeater as declared in nk/nuklear.h:490 ButtonRepeater = 1 )
const ( // Fixed as declared in nk/nuklear.h:491 Fixed = False // Modifiable as declared in nk/nuklear.h:491 Modifiable = True )
const ( // Vertical as declared in nk/nuklear.h:492 Vertical = iota // Horizontal as declared in nk/nuklear.h:492 Horizontal = 1 )
const ( // Minimized as declared in nk/nuklear.h:493 Minimized = False // Maximized as declared in nk/nuklear.h:493 Maximized = True )
const ( // Hidden as declared in nk/nuklear.h:494 Hidden = False // Shown as declared in nk/nuklear.h:494 Shown = True )
const ( // ChartLines as declared in nk/nuklear.h:495 ChartLines = iota // ChartColumn as declared in nk/nuklear.h:495 ChartColumn = 1 // ChartMax as declared in nk/nuklear.h:495 ChartMax = 2 )
const ( // ChartHovering as declared in nk/nuklear.h:496 ChartHovering = 0x01 // ChartClicked as declared in nk/nuklear.h:496 ChartClicked = 0x02 )
const ( // ColorFormatRGB as declared in nk/nuklear.h:497 ColorFormatRGB = iota // ColorFormatRGBA as declared in nk/nuklear.h:497 ColorFormatRGBA = 1 )
const ( // PopupStatic as declared in nk/nuklear.h:498 PopupStatic = iota // PopupDynamic as declared in nk/nuklear.h:498 PopupDynamic = 1 )
const ( // Dynamic as declared in nk/nuklear.h:499 Dynamic = iota // Static as declared in nk/nuklear.h:499 Static = 1 )
const ( // TreeNode as declared in nk/nuklear.h:500 TreeNode = iota // TreeTab as declared in nk/nuklear.h:500 TreeTab = 1 )
const ( // SymbolNone as declared in nk/nuklear.h:514 SymbolNone = iota // SymbolX as declared in nk/nuklear.h:515 SymbolX = 1 // SymbolUnderscore as declared in nk/nuklear.h:516 SymbolUnderscore = 2 // SymbolCircleSolid as declared in nk/nuklear.h:517 SymbolCircleSolid = 3 // SymbolCircleOutline as declared in nk/nuklear.h:518 SymbolCircleOutline = 4 // SymbolRectSolid as declared in nk/nuklear.h:519 SymbolRectSolid = 5 // SymbolRectOutline as declared in nk/nuklear.h:520 SymbolRectOutline = 6 // SymbolTriangleUp as declared in nk/nuklear.h:521 SymbolTriangleUp = 7 // SymbolTriangleDown as declared in nk/nuklear.h:522 SymbolTriangleDown = 8 // SymbolTriangleLeft as declared in nk/nuklear.h:523 SymbolTriangleLeft = 9 // SymbolTriangleRight as declared in nk/nuklear.h:524 SymbolTriangleRight = 10 // SymbolPlus as declared in nk/nuklear.h:525 SymbolPlus = 11 // SymbolMinus as declared in nk/nuklear.h:526 SymbolMinus = 12 // SymbolMax as declared in nk/nuklear.h:527 SymbolMax = 13 )
const ( // KeyNone as declared in nk/nuklear.h:756 KeyNone = iota // KeyShift as declared in nk/nuklear.h:757 KeyShift = 1 // KeyCtrl as declared in nk/nuklear.h:758 KeyCtrl = 2 // KeyDel as declared in nk/nuklear.h:759 KeyDel = 3 // KeyEnter as declared in nk/nuklear.h:760 KeyEnter = 4 // KeyTab as declared in nk/nuklear.h:761 KeyTab = 5 // KeyBackspace as declared in nk/nuklear.h:762 KeyBackspace = 6 // KeyCopy as declared in nk/nuklear.h:763 KeyCopy = 7 // KeyCut as declared in nk/nuklear.h:764 KeyCut = 8 // KeyPaste as declared in nk/nuklear.h:765 KeyPaste = 9 // KeyUp as declared in nk/nuklear.h:766 KeyUp = 10 // KeyDown as declared in nk/nuklear.h:767 KeyDown = 11 // KeyLeft as declared in nk/nuklear.h:768 KeyLeft = 12 // KeyRight as declared in nk/nuklear.h:769 KeyRight = 13 // KeyTextInsertMode as declared in nk/nuklear.h:771 KeyTextInsertMode = 14 // KeyTextReplaceMode as declared in nk/nuklear.h:772 KeyTextReplaceMode = 15 // KeyTextResetMode as declared in nk/nuklear.h:773 KeyTextResetMode = 16 // KeyTextLineStart as declared in nk/nuklear.h:774 KeyTextLineStart = 17 // KeyTextLineEnd as declared in nk/nuklear.h:775 KeyTextLineEnd = 18 // KeyTextStart as declared in nk/nuklear.h:776 KeyTextStart = 19 // KeyTextEnd as declared in nk/nuklear.h:777 KeyTextEnd = 20 // KeyTextUndo as declared in nk/nuklear.h:778 KeyTextUndo = 21 // KeyTextRedo as declared in nk/nuklear.h:779 KeyTextRedo = 22 // KeyTextSelectAll as declared in nk/nuklear.h:780 KeyTextSelectAll = 23 // KeyTextWordLeft as declared in nk/nuklear.h:781 KeyTextWordLeft = 24 // KeyTextWordRight as declared in nk/nuklear.h:782 KeyTextWordRight = 25 // KeyScrollStart as declared in nk/nuklear.h:784 KeyScrollStart = 26 // KeyScrollEnd as declared in nk/nuklear.h:785 KeyScrollEnd = 27 // KeyScrollDown as declared in nk/nuklear.h:786 KeyScrollDown = 28 // KeyScrollUp as declared in nk/nuklear.h:787 KeyScrollUp = 29 // KeyMax as declared in nk/nuklear.h:788 KeyMax = 30 )
const ( // ButtonLeft as declared in nk/nuklear.h:791 ButtonLeft = iota // ButtonMiddle as declared in nk/nuklear.h:792 ButtonMiddle = 1 // ButtonRight as declared in nk/nuklear.h:793 ButtonRight = 2 // ButtonDouble as declared in nk/nuklear.h:794 ButtonDouble = 3 // ButtonMax as declared in nk/nuklear.h:795 ButtonMax = 4 )
const ( // AntiAliasingOff as declared in nk/nuklear.h:1162 AntiAliasingOff = iota // AntiAliasingOn as declared in nk/nuklear.h:1162 AntiAliasingOn = 1 )
const ( // ConvertSuccess as declared in nk/nuklear.h:1164 ConvertSuccess = iota // ConvertInvalidParam as declared in nk/nuklear.h:1165 ConvertInvalidParam = 1 // ConvertCommandBufferFull as declared in nk/nuklear.h:1166 ConvertCommandBufferFull = (1 << (1)) // ConvertVertexBufferFull as declared in nk/nuklear.h:1167 ConvertVertexBufferFull = (1 << (2)) // ConvertElementBufferFull as declared in nk/nuklear.h:1168 ConvertElementBufferFull = (1 << (3)) )
const ( // WindowBorder as declared in nk/nuklear.h:1471 WindowBorder = (1 << (0)) // WindowMovable as declared in nk/nuklear.h:1472 WindowMovable = (1 << (1)) // WindowScalable as declared in nk/nuklear.h:1473 WindowScalable = (1 << (2)) // WindowClosable as declared in nk/nuklear.h:1474 WindowClosable = (1 << (3)) // WindowMinimizable as declared in nk/nuklear.h:1475 WindowMinimizable = (1 << (4)) // WindowNoScrollbar as declared in nk/nuklear.h:1476 WindowNoScrollbar = (1 << (5)) // WindowTitle as declared in nk/nuklear.h:1477 WindowTitle = (1 << (6)) // WindowScrollAutoHide as declared in nk/nuklear.h:1478 WindowScrollAutoHide = (1 << (7)) // WindowBackground as declared in nk/nuklear.h:1479 WindowBackground = (1 << (8)) // WindowScaleLeft as declared in nk/nuklear.h:1480 WindowScaleLeft = (1 << (9)) // WindowNoInput as declared in nk/nuklear.h:1481 WindowNoInput = (1 << (10)) )
const ( // WidgetInvalid as declared in nk/nuklear.h:3077 WidgetInvalid = iota // WidgetValid as declared in nk/nuklear.h:3078 WidgetValid = 1 // WidgetRom as declared in nk/nuklear.h:3079 WidgetRom = 2 )
const ( // WidgetStateModified as declared in nk/nuklear.h:3082 WidgetStateModified = (1 << (1)) // WidgetStateInactive as declared in nk/nuklear.h:3083 WidgetStateInactive = (1 << (2)) // WidgetStateEntered as declared in nk/nuklear.h:3084 WidgetStateEntered = (1 << (3)) // WidgetStateHover as declared in nk/nuklear.h:3085 WidgetStateHover = (1 << (4)) // WidgetStateActived as declared in nk/nuklear.h:3086 WidgetStateActived = (1 << (5)) // WidgetStateLeft as declared in nk/nuklear.h:3087 WidgetStateLeft = (1 << (6)) // WidgetStateHovered as declared in nk/nuklear.h:3088 WidgetStateHovered = WidgetStateHover | WidgetStateModified // WidgetStateActive as declared in nk/nuklear.h:3089 WidgetStateActive = WidgetStateActived | WidgetStateModified )
const ( // TextAlignLeft as declared in nk/nuklear.h:3108 TextAlignLeft = 0x01 // TextAlignCentered as declared in nk/nuklear.h:3109 TextAlignCentered = 0x02 // TextAlignRight as declared in nk/nuklear.h:3110 TextAlignRight = 0x04 // TextAlignTop as declared in nk/nuklear.h:3111 TextAlignTop = 0x08 // TextAlignMiddle as declared in nk/nuklear.h:3112 TextAlignMiddle = 0x10 // TextAlignBottom as declared in nk/nuklear.h:3113 TextAlignBottom = 0x20 )
const ( // TextLeft as declared in nk/nuklear.h:3116 TextLeft = TextAlignMiddle | TextAlignLeft // TextCentered as declared in nk/nuklear.h:3117 TextCentered = TextAlignMiddle | TextAlignCentered // TextRight as declared in nk/nuklear.h:3118 TextRight = TextAlignMiddle | TextAlignRight )
const ( // EditDefault as declared in nk/nuklear.h:3451 EditDefault = iota // EditReadOnly as declared in nk/nuklear.h:3452 EditReadOnly = (1 << (0)) // EditAutoSelect as declared in nk/nuklear.h:3453 EditAutoSelect = (1 << (1)) // EditSigEnter as declared in nk/nuklear.h:3454 EditSigEnter = (1 << (2)) // EditAllowTab as declared in nk/nuklear.h:3455 EditAllowTab = (1 << (3)) // EditNoCursor as declared in nk/nuklear.h:3456 EditNoCursor = (1 << (4)) // EditSelectable as declared in nk/nuklear.h:3457 EditSelectable = (1 << (5)) // EditClipboard as declared in nk/nuklear.h:3458 EditClipboard = (1 << (6)) // EditCtrlEnterNewline as declared in nk/nuklear.h:3459 EditCtrlEnterNewline = (1 << (7)) // EditNoHorizontalScroll as declared in nk/nuklear.h:3460 EditNoHorizontalScroll = (1 << (8)) // EditAlwaysInsertMode as declared in nk/nuklear.h:3461 EditAlwaysInsertMode = (1 << (9)) // EditMultiline as declared in nk/nuklear.h:3462 EditMultiline = (1 << (10)) // EditGotoEndOnActivate as declared in nk/nuklear.h:3463 EditGotoEndOnActivate = (1 << (11)) )
const ( // EditSimple as declared in nk/nuklear.h:3466 EditSimple = EditAlwaysInsertMode // EditField as declared in nk/nuklear.h:3467 EditField = EditSimple | EditSelectable | EditClipboard // EditBox as declared in nk/nuklear.h:3468 EditBox = EditAlwaysInsertMode | EditSelectable | EditMultiline | EditAllowTab | EditClipboard // EditEditor as declared in nk/nuklear.h:3469 EditEditor = EditSelectable | EditMultiline | EditAllowTab | EditClipboard )
const ( // EditActive as declared in nk/nuklear.h:3472 EditActive = (1 << (0)) // EditInactive as declared in nk/nuklear.h:3473 EditInactive = (1 << (1)) // EditActivated as declared in nk/nuklear.h:3474 EditActivated = (1 << (2)) // EditDeactivated as declared in nk/nuklear.h:3475 EditDeactivated = (1 << (3)) // EditCommited as declared in nk/nuklear.h:3476 EditCommited = (1 << (4)) )
const ( // ColorText as declared in nk/nuklear.h:3597 ColorText = iota // ColorWindow as declared in nk/nuklear.h:3598 ColorWindow = 1 // ColorHeader as declared in nk/nuklear.h:3599 ColorHeader = 2 // ColorBorder as declared in nk/nuklear.h:3600 ColorBorder = 3 // ColorButton as declared in nk/nuklear.h:3601 ColorButton = 4 // ColorButtonHover as declared in nk/nuklear.h:3602 ColorButtonHover = 5 // ColorButtonActive as declared in nk/nuklear.h:3603 ColorButtonActive = 6 // ColorToggle as declared in nk/nuklear.h:3604 ColorToggle = 7 // ColorToggleHover as declared in nk/nuklear.h:3605 ColorToggleHover = 8 // ColorToggleCursor as declared in nk/nuklear.h:3606 ColorToggleCursor = 9 // ColorSelect as declared in nk/nuklear.h:3607 ColorSelect = 10 // ColorSelectActive as declared in nk/nuklear.h:3608 ColorSelectActive = 11 // ColorSlider as declared in nk/nuklear.h:3609 ColorSlider = 12 // ColorSliderCursor as declared in nk/nuklear.h:3610 ColorSliderCursor = 13 // ColorSliderCursorHover as declared in nk/nuklear.h:3611 ColorSliderCursorHover = 14 // ColorSliderCursorActive as declared in nk/nuklear.h:3612 ColorSliderCursorActive = 15 // ColorProperty as declared in nk/nuklear.h:3613 ColorProperty = 16 // ColorEdit as declared in nk/nuklear.h:3614 ColorEdit = 17 // ColorEditCursor as declared in nk/nuklear.h:3615 ColorEditCursor = 18 // ColorCombo as declared in nk/nuklear.h:3616 ColorCombo = 19 // ColorChart as declared in nk/nuklear.h:3617 ColorChart = 20 // ColorChartColor as declared in nk/nuklear.h:3618 ColorChartColor = 21 // ColorChartColorHighlight as declared in nk/nuklear.h:3619 ColorChartColorHighlight = 22 // ColorScrollbar as declared in nk/nuklear.h:3620 ColorScrollbar = 23 // ColorScrollbarCursor as declared in nk/nuklear.h:3621 ColorScrollbarCursor = 24 // ColorScrollbarCursorHover as declared in nk/nuklear.h:3622 ColorScrollbarCursorHover = 25 // ColorScrollbarCursorActive as declared in nk/nuklear.h:3623 ColorScrollbarCursorActive = 26 // ColorTabHeader as declared in nk/nuklear.h:3624 ColorTabHeader = 27 // ColorCount as declared in nk/nuklear.h:3625 ColorCount = 28 )
const ( // CursorArrow as declared in nk/nuklear.h:3628 CursorArrow = iota // CursorText as declared in nk/nuklear.h:3629 CursorText = 1 // CursorMove as declared in nk/nuklear.h:3630 CursorMove = 2 // CursorResizeVertical as declared in nk/nuklear.h:3631 CursorResizeVertical = 3 // CursorResizeHorizontal as declared in nk/nuklear.h:3632 CursorResizeHorizontal = 4 // CursorResizeTopLeftDownRight as declared in nk/nuklear.h:3633 CursorResizeTopLeftDownRight = 5 // CursorResizeTopRightDownLeft as declared in nk/nuklear.h:3634 CursorResizeTopRightDownLeft = 6 // CursorCount as declared in nk/nuklear.h:3635 CursorCount = 7 )
const ( // CoordUv as declared in nk/nuklear.h:3987 CoordUv = iota // CoordPixel as declared in nk/nuklear.h:3988 CoordPixel = 1 )
const ( // FontAtlasAlpha8 as declared in nk/nuklear.h:4061 FontAtlasAlpha8 = iota // FontAtlasRgba32 as declared in nk/nuklear.h:4062 FontAtlasRgba32 = 1 )
const ( // BufferFixed as declared in nk/nuklear.h:4159 BufferFixed = iota // BufferDynamic as declared in nk/nuklear.h:4160 BufferDynamic = 1 )
const ( // BufferFront as declared in nk/nuklear.h:4164 BufferFront = iota // BufferBack as declared in nk/nuklear.h:4165 BufferBack = 1 // BufferMax as declared in nk/nuklear.h:4166 BufferMax = 2 )
const ( // TextEditSingleLine as declared in nk/nuklear.h:4328 TextEditSingleLine = iota // TextEditMultiLine as declared in nk/nuklear.h:4329 TextEditMultiLine = 1 )
const ( // TextEditModeView as declared in nk/nuklear.h:4333 TextEditModeView = iota // TextEditModeInsert as declared in nk/nuklear.h:4334 TextEditModeInsert = 1 // TextEditModeReplace as declared in nk/nuklear.h:4335 TextEditModeReplace = 2 )
const ( // CommandTypeNop as declared in nk/nuklear.h:4436 CommandTypeNop = iota // CommandTypeScissor as declared in nk/nuklear.h:4437 CommandTypeScissor = 1 // CommandTypeLine as declared in nk/nuklear.h:4438 CommandTypeLine = 2 // CommandTypeCurve as declared in nk/nuklear.h:4439 CommandTypeCurve = 3 // CommandTypeRect as declared in nk/nuklear.h:4440 CommandTypeRect = 4 // CommandTypeRectFilled as declared in nk/nuklear.h:4441 CommandTypeRectFilled = 5 // CommandTypeRectMultiColor as declared in nk/nuklear.h:4442 CommandTypeRectMultiColor = 6 // CommandTypeCircle as declared in nk/nuklear.h:4443 CommandTypeCircle = 7 // CommandTypeCircleFilled as declared in nk/nuklear.h:4444 CommandTypeCircleFilled = 8 // CommandTypeArc as declared in nk/nuklear.h:4445 CommandTypeArc = 9 // CommandTypeArcFilled as declared in nk/nuklear.h:4446 CommandTypeArcFilled = 10 // CommandTypeTriangle as declared in nk/nuklear.h:4447 CommandTypeTriangle = 11 // CommandTypeTriangleFilled as declared in nk/nuklear.h:4448 CommandTypeTriangleFilled = 12 // CommandTypePolygon as declared in nk/nuklear.h:4449 CommandTypePolygon = 13 // CommandTypePolygonFilled as declared in nk/nuklear.h:4450 CommandTypePolygonFilled = 14 // CommandTypePolyline as declared in nk/nuklear.h:4451 CommandTypePolyline = 15 // CommandTypeText as declared in nk/nuklear.h:4452 CommandTypeText = 16 // CommandTypeImage as declared in nk/nuklear.h:4453 CommandTypeImage = 17 // CommandTypeCustom as declared in nk/nuklear.h:4454 CommandTypeCustom = 18 )
const ( // ClippingOff as declared in nk/nuklear.h:4619 ClippingOff = False // ClippingOn as declared in nk/nuklear.h:4620 ClippingOn = True )
const ( // StrokeOpen as declared in nk/nuklear.h:4738 StrokeOpen = False // StrokeClosed as declared in nk/nuklear.h:4740 StrokeClosed = True )
const ( // VertexPosition as declared in nk/nuklear.h:4745 VertexPosition = iota // VertexColor as declared in nk/nuklear.h:4746 VertexColor = 1 // VertexTexcoord as declared in nk/nuklear.h:4747 VertexTexcoord = 2 // VertexAttributeCount as declared in nk/nuklear.h:4748 VertexAttributeCount = 3 )
const ( // FormatSchar as declared in nk/nuklear.h:4752 FormatSchar = iota // FormatSshort as declared in nk/nuklear.h:4753 FormatSshort = 1 // FormatSint as declared in nk/nuklear.h:4754 FormatSint = 2 // FormatUchar as declared in nk/nuklear.h:4755 FormatUchar = 3 // FormatUshort as declared in nk/nuklear.h:4756 FormatUshort = 4 // FormatUint as declared in nk/nuklear.h:4757 FormatUint = 5 // FormatFloat as declared in nk/nuklear.h:4758 FormatFloat = 6 // FormatDouble as declared in nk/nuklear.h:4759 FormatDouble = 7 // FormatColorBegin as declared in nk/nuklear.h:4761 FormatColorBegin = 8 // FormatR8g8b8 as declared in nk/nuklear.h:4762 FormatR8g8b8 = FormatColorBegin // FormatR16g15b16 as declared in nk/nuklear.h:4763 FormatR16g15b16 = 9 // FormatR32g32b32 as declared in nk/nuklear.h:4764 FormatR32g32b32 = 10 // FormatR8g8b8a8 as declared in nk/nuklear.h:4766 FormatR8g8b8a8 = 11 // FormatB8g8r8a8 as declared in nk/nuklear.h:4767 FormatB8g8r8a8 = 12 // FormatR16g15b16a16 as declared in nk/nuklear.h:4768 FormatR16g15b16a16 = 13 // FormatR32g32b32a32 as declared in nk/nuklear.h:4769 FormatR32g32b32a32 = 14 // FormatR32g32b32a32Float as declared in nk/nuklear.h:4770 FormatR32g32b32a32Float = 15 // FormatR32g32b32a32Double as declared in nk/nuklear.h:4771 FormatR32g32b32a32Double = 16 // FormatRgb32 as declared in nk/nuklear.h:4773 FormatRgb32 = 17 // FormatRgba32 as declared in nk/nuklear.h:4774 FormatRgba32 = 18 // FormatColorEnd as declared in nk/nuklear.h:4775 FormatColorEnd = FormatRgba32 // FormatCount as declared in nk/nuklear.h:4776 FormatCount = 19 )
const ( // StyleItemColor as declared in nk/nuklear.h:4873 StyleItemColor = iota // StyleItemImage as declared in nk/nuklear.h:4874 StyleItemImage = 1 // StyleItemNineSlice as declared in nk/nuklear.h:4875 StyleItemNineSlice = 2 )
const ( // HeaderLeft as declared in nk/nuklear.h:5216 HeaderLeft = iota // HeaderRight as declared in nk/nuklear.h:5217 HeaderRight = 1 )
const ( // PanelNone as declared in nk/nuklear.h:5323 PanelNone = iota // PanelWindow as declared in nk/nuklear.h:5324 PanelWindow = (1 << (0)) // PanelGroup as declared in nk/nuklear.h:5325 PanelGroup = (1 << (1)) // PanelPopup as declared in nk/nuklear.h:5326 PanelPopup = (1 << (2)) // PanelContextual as declared in nk/nuklear.h:5327 PanelContextual = (1 << (4)) // PanelCombo as declared in nk/nuklear.h:5328 PanelCombo = (1 << (5)) // PanelMenu as declared in nk/nuklear.h:5329 PanelMenu = (1 << (6)) // PanelTooltip as declared in nk/nuklear.h:5330 PanelTooltip = (1 << (7)) )
const ( // PanelSetNonblock as declared in nk/nuklear.h:5333 PanelSetNonblock = PanelContextual | PanelCombo | PanelMenu | PanelTooltip // PanelSetPopup as declared in nk/nuklear.h:5334 PanelSetPopup = PanelSetNonblock | PanelPopup // PanelSetSub as declared in nk/nuklear.h:5335 PanelSetSub = PanelSetPopup | PanelGroup )
const ( // LayoutDynamicFixed as declared in nk/nuklear.h:5355 LayoutDynamicFixed = iota // LayoutDynamicRow as declared in nk/nuklear.h:5356 LayoutDynamicRow = 1 // LayoutDynamicFree as declared in nk/nuklear.h:5357 LayoutDynamicFree = 2 // LayoutDynamic as declared in nk/nuklear.h:5358 LayoutDynamic = 3 // LayoutStaticFixed as declared in nk/nuklear.h:5359 LayoutStaticFixed = 4 // LayoutStaticRow as declared in nk/nuklear.h:5360 LayoutStaticRow = 5 // LayoutStaticFree as declared in nk/nuklear.h:5361 LayoutStaticFree = 6 // LayoutStatic as declared in nk/nuklear.h:5362 LayoutStatic = 7 // LayoutTemplate as declared in nk/nuklear.h:5363 LayoutTemplate = 8 // LayoutCount as declared in nk/nuklear.h:5364 LayoutCount = 9 )
const ( // WindowPrivate as declared in nk/nuklear.h:5423 WindowPrivate = (1 << (11)) // WindowDynamic as declared in nk/nuklear.h:5424 WindowDynamic = WindowPrivate // WindowRom as declared in nk/nuklear.h:5426 WindowRom = (1 << (12)) // WindowNotInteractive as declared in nk/nuklear.h:5428 WindowNotInteractive = WindowRom | WindowNoInput // WindowHidden as declared in nk/nuklear.h:5430 WindowHidden = (1 << (13)) // WindowClosed as declared in nk/nuklear.h:5432 WindowClosed = (1 << (14)) // WindowMinimized as declared in nk/nuklear.h:5434 WindowMinimized = (1 << (15)) // WindowRemoveRom as declared in nk/nuklear.h:5436 WindowRemoveRom = (1 << (16)) )
Variables ¶
var VertexLayoutEnd = DrawVertexLayoutElement{ Attribute: VertexAttributeCount, Format: FormatCount, Offset: 0, }
Functions ¶
func NkBufferClear ¶
func NkBufferClear(arg0 *Buffer)
NkBufferClear function as declared in nk/nuklear.h:4205
func NkBufferFree ¶
func NkBufferFree(arg0 *Buffer)
NkBufferFree function as declared in nk/nuklear.h:4206
func NkBufferInfo ¶
func NkBufferInfo(arg0 *MemoryStatus, arg1 *Buffer)
NkBufferInfo function as declared in nk/nuklear.h:4201
func NkBufferInit ¶
NkBufferInit function as declared in nk/nuklear.h:4199
func NkBufferInitDefault ¶
func NkBufferInitDefault(arg0 *Buffer)
NkBufferInitDefault function as declared in nk/nuklear.h:4197
func NkBufferInitFixed ¶
NkBufferInitFixed function as declared in nk/nuklear.h:4200
func NkBufferMark ¶
NkBufferMark function as declared in nk/nuklear.h:4203
func NkBufferMemory ¶
NkBufferMemory function as declared in nk/nuklear.h:4207
func NkBufferMemoryConst ¶
NkBufferMemoryConst function as declared in nk/nuklear.h:4208
func NkBufferPush ¶
NkBufferPush function as declared in nk/nuklear.h:4202
func NkBufferReset ¶
NkBufferReset function as declared in nk/nuklear.h:4204
func NkButtonSetBehavior ¶
NkButtonSetBehavior function as declared in nk/nuklear.h:3169
func NkChartAddSlot ¶
NkChartAddSlot function as declared in nk/nuklear.h:3490
func NkChartAddSlotColored ¶
func NkChartAddSlotColored(ctx *Context, arg1 C.enum_, arg2 Color, active Color, count int32, minValue float32, maxValue float32)
NkChartAddSlotColored function as declared in nk/nuklear.h:3491
func NkChartEnd ¶
func NkChartEnd(arg0 *Context)
NkChartEnd function as declared in nk/nuklear.h:3494
func NkCheckFlagsLabel ¶
NkCheckFlagsLabel function as declared in nk/nuklear.h:3179
func NkCheckFlagsText ¶
NkCheckFlagsText function as declared in nk/nuklear.h:3180
func NkColorHexRgb ¶
NkColorHexRgb function as declared in nk/nuklear.h:3708
func NkColorHexRgba ¶
NkColorHexRgba function as declared in nk/nuklear.h:3707
func NkColorHsvB ¶
NkColorHsvB function as declared in nk/nuklear.h:3711
func NkColorHsvBv ¶
NkColorHsvBv function as declared in nk/nuklear.h:3713
func NkColorHsvF ¶
NkColorHsvF function as declared in nk/nuklear.h:3714
func NkColorHsvFv ¶
NkColorHsvFv function as declared in nk/nuklear.h:3715
func NkColorHsvI ¶
NkColorHsvI function as declared in nk/nuklear.h:3710
func NkColorHsvIv ¶
NkColorHsvIv function as declared in nk/nuklear.h:3712
func NkColorHsvaB ¶
NkColorHsvaB function as declared in nk/nuklear.h:3718
func NkColorHsvaBv ¶
NkColorHsvaBv function as declared in nk/nuklear.h:3720
func NkColorHsvaF ¶
NkColorHsvaF function as declared in nk/nuklear.h:3721
func NkColorHsvaFv ¶
NkColorHsvaFv function as declared in nk/nuklear.h:3722
func NkColorHsvaI ¶
NkColorHsvaI function as declared in nk/nuklear.h:3717
func NkColorHsvaIv ¶
NkColorHsvaIv function as declared in nk/nuklear.h:3719
func NkColorfHsvaF ¶
NkColorfHsvaF function as declared in nk/nuklear.h:3684
func NkColorfHsvaFv ¶
NkColorfHsvaFv function as declared in nk/nuklear.h:3685
func NkCombo ¶
func NkCombo(arg0 *Context, items []string, count int32, selected int32, itemHeight int32, size Vec2) int32
NkCombo function as declared in nk/nuklear.h:3512
func NkComboClose ¶
func NkComboClose(arg0 *Context)
NkComboClose function as declared in nk/nuklear.h:3540
func NkComboEnd ¶
func NkComboEnd(arg0 *Context)
NkComboEnd function as declared in nk/nuklear.h:3541
func NkComboSeparator ¶
func NkComboSeparator(arg0 *Context, itemsSeparatedBySeparator string, separator int32, selected int32, count int32, itemHeight int32, size Vec2) int32
NkComboSeparator function as declared in nk/nuklear.h:3513
func NkComboString ¶
func NkComboString(arg0 *Context, itemsSeparatedByZeros string, selected int32, count int32, itemHeight int32, size Vec2) int32
NkComboString function as declared in nk/nuklear.h:3514
func NkCombobox ¶
func NkCombobox(arg0 *Context, items []string, count int32, selected *int32, itemHeight int32, size Vec2)
NkCombobox function as declared in nk/nuklear.h:3516
func NkComboboxSeparator ¶
func NkComboboxSeparator(arg0 *Context, itemsSeparatedBySeparator string, separator int32, selected *int32, count int32, itemHeight int32, size Vec2)
NkComboboxSeparator function as declared in nk/nuklear.h:3518
func NkComboboxString ¶
func NkComboboxString(arg0 *Context, itemsSeparatedByZeros string, selected *int32, count int32, itemHeight int32, size Vec2)
NkComboboxString function as declared in nk/nuklear.h:3517
func NkContextualClose ¶
func NkContextualClose(arg0 *Context)
NkContextualClose function as declared in nk/nuklear.h:3554
func NkContextualEnd ¶
func NkContextualEnd(arg0 *Context)
NkContextualEnd function as declared in nk/nuklear.h:3555
func NkDrawForeach ¶
func NkDrawForeach(ctx *Context, b *Buffer, fn func(cmd *DrawCommand))
func NkDrawImage ¶
func NkDrawImage(arg0 *CommandBuffer, arg1 Rect, arg2 *Image, arg3 Color)
NkDrawImage function as declared in nk/nuklear.h:4650
func NkDrawListAddImage ¶
NkDrawListAddImage function as declared in nk/nuklear.h:4859
func NkDrawListAddText ¶
func NkDrawListAddText(arg0 *DrawList, arg1 *UserFont, arg2 Rect, text string, len int32, fontHeight float32, arg6 Color)
NkDrawListAddText function as declared in nk/nuklear.h:4860
func NkDrawListFillCircle ¶
NkDrawListFillCircle function as declared in nk/nuklear.h:4855
func NkDrawListFillPolyConvex ¶
NkDrawListFillPolyConvex function as declared in nk/nuklear.h:4856
func NkDrawListFillRect ¶
NkDrawListFillRect function as declared in nk/nuklear.h:4852
func NkDrawListFillRectMultiColor ¶
func NkDrawListFillRectMultiColor(arg0 *DrawList, rect Rect, left Color, top Color, right Color, bottom Color)
NkDrawListFillRectMultiColor function as declared in nk/nuklear.h:4853
func NkDrawListFillTriangle ¶
NkDrawListFillTriangle function as declared in nk/nuklear.h:4854
func NkDrawListInit ¶
func NkDrawListInit(arg0 *DrawList)
NkDrawListInit function as declared in nk/nuklear.h:4824
func NkDrawListPathArcTo ¶
func NkDrawListPathArcTo(arg0 *DrawList, center Vec2, radius float32, aMin float32, aMax float32, segments uint32)
NkDrawListPathArcTo function as declared in nk/nuklear.h:4837
func NkDrawListPathArcToFast ¶
NkDrawListPathArcToFast function as declared in nk/nuklear.h:4836
func NkDrawListPathClear ¶
func NkDrawListPathClear(arg0 *DrawList)
NkDrawListPathClear function as declared in nk/nuklear.h:4834
func NkDrawListPathCurveTo ¶
NkDrawListPathCurveTo function as declared in nk/nuklear.h:4839
func NkDrawListPathFill ¶
NkDrawListPathFill function as declared in nk/nuklear.h:4840
func NkDrawListPathLineTo ¶
NkDrawListPathLineTo function as declared in nk/nuklear.h:4835
func NkDrawListPathRectTo ¶
NkDrawListPathRectTo function as declared in nk/nuklear.h:4838
func NkDrawListPathStroke ¶
NkDrawListPathStroke function as declared in nk/nuklear.h:4841
func NkDrawListSetup ¶
func NkDrawListSetup(arg0 *DrawList, arg1 *ConvertConfig, cmds *Buffer, vertices *Buffer, elements []Buffer, lineAa C.enum_, shapeAa C.enum_)
NkDrawListSetup function as declared in nk/nuklear.h:4825
func NkDrawListStrokeCircle ¶
func NkDrawListStrokeCircle(arg0 *DrawList, center Vec2, radius float32, arg3 Color, segs uint32, thickness float32)
NkDrawListStrokeCircle function as declared in nk/nuklear.h:4847
func NkDrawListStrokeCurve ¶
func NkDrawListStrokeCurve(arg0 *DrawList, p0 Vec2, cp0 Vec2, cp1 Vec2, p1 Vec2, arg5 Color, segments uint32, thickness float32)
NkDrawListStrokeCurve function as declared in nk/nuklear.h:4848
func NkDrawListStrokeLine ¶
NkDrawListStrokeLine function as declared in nk/nuklear.h:4844
func NkDrawListStrokePolyLine ¶
func NkDrawListStrokePolyLine(arg0 *DrawList, pnts *Vec2, cnt uint32, arg3 Color, arg4 C.enum_, thickness float32, arg6 C.enum_)
NkDrawListStrokePolyLine function as declared in nk/nuklear.h:4849
func NkDrawListStrokeRect ¶
func NkDrawListStrokeRect(arg0 *DrawList, rect Rect, arg2 Color, rounding float32, thickness float32)
NkDrawListStrokeRect function as declared in nk/nuklear.h:4845
func NkDrawListStrokeTriangle ¶
func NkDrawListStrokeTriangle(arg0 *DrawList, a Vec2, b Vec2, c Vec2, arg4 Color, thickness float32)
NkDrawListStrokeTriangle function as declared in nk/nuklear.h:4846
func NkDrawNineSlice ¶
func NkDrawNineSlice(arg0 *CommandBuffer, arg1 Rect, arg2 *NineSlice, arg3 Color)
NkDrawNineSlice function as declared in nk/nuklear.h:4651
func NkDrawText ¶
func NkDrawText(arg0 *CommandBuffer, arg1 Rect, text string, len int32, arg4 *UserFont, arg5 Color, arg6 Color)
NkDrawText function as declared in nk/nuklear.h:4652
func NkEditFocus ¶
NkEditFocus function as declared in nk/nuklear.h:3481
func NkEditUnfocus ¶
func NkEditUnfocus(arg0 *Context)
NkEditUnfocus function as declared in nk/nuklear.h:3482
func NkFillArc ¶
func NkFillArc(arg0 *CommandBuffer, cx float32, cy float32, radius float32, aMin float32, aMax float32, arg6 Color)
NkFillArc function as declared in nk/nuklear.h:4645
func NkFillCircle ¶
func NkFillCircle(arg0 *CommandBuffer, arg1 Rect, arg2 Color)
NkFillCircle function as declared in nk/nuklear.h:4644
func NkFillPolygon ¶
func NkFillPolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, arg3 Color)
NkFillPolygon function as declared in nk/nuklear.h:4647
func NkFillRect ¶
func NkFillRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, arg3 Color)
NkFillRect function as declared in nk/nuklear.h:4642
func NkFillRectMultiColor ¶
func NkFillRectMultiColor(arg0 *CommandBuffer, arg1 Rect, left Color, top Color, right Color, bottom Color)
NkFillRectMultiColor function as declared in nk/nuklear.h:4643
func NkFillTriangle ¶
func NkFillTriangle(arg0 *CommandBuffer, x0 float32, y0 float32, x1 float32, y1 float32, x2 float32, y2 float32, arg7 Color)
NkFillTriangle function as declared in nk/nuklear.h:4646
func NkFontAtlasBake ¶
NkFontAtlasBake function as declared in nk/nuklear.h:4107
func NkFontAtlasBegin ¶
func NkFontAtlasBegin(arg0 *FontAtlas)
NkFontAtlasBegin function as declared in nk/nuklear.h:4095
func NkFontAtlasCleanup ¶
func NkFontAtlasCleanup(atlas *FontAtlas)
NkFontAtlasCleanup function as declared in nk/nuklear.h:4110
func NkFontAtlasClear ¶
func NkFontAtlasClear(arg0 *FontAtlas)
NkFontAtlasClear function as declared in nk/nuklear.h:4111
func NkFontAtlasEnd ¶
func NkFontAtlasEnd(arg0 *FontAtlas, tex Handle, arg2 *DrawNullTexture)
NkFontAtlasEnd function as declared in nk/nuklear.h:4108
func NkFontAtlasInit ¶
NkFontAtlasInit function as declared in nk/nuklear.h:4093
func NkFontAtlasInitCustom ¶
NkFontAtlasInitCustom function as declared in nk/nuklear.h:4094
func NkFontAtlasInitDefault ¶
func NkFontAtlasInitDefault(arg0 *FontAtlas)
NkFontAtlasInitDefault function as declared in nk/nuklear.h:4091
func NkFontStashBegin ¶
func NkFontStashBegin(atlas **FontAtlas)
func NkFontStashEnd ¶
func NkFontStashEnd()
func NkGroupEnd ¶
func NkGroupEnd(arg0 *Context)
NkGroupEnd function as declared in nk/nuklear.h:2725
func NkGroupGetScroll ¶
NkGroupGetScroll function as declared in nk/nuklear.h:2785
func NkGroupScrolledEnd ¶
func NkGroupScrolledEnd(arg0 *Context)
NkGroupScrolledEnd function as declared in nk/nuklear.h:2771
func NkGroupSetScroll ¶
NkGroupSetScroll function as declared in nk/nuklear.h:2799
func NkImageColor ¶
NkImageColor function as declared in nk/nuklear.h:3129
func NkInputBegin ¶
func NkInputBegin(arg0 *Context)
NkInputBegin function as declared in nk/nuklear.h:809
func NkInputButton ¶
NkInputButton function as declared in nk/nuklear.h:853
func NkInputChar ¶
NkInputChar function as declared in nk/nuklear.h:886
func NkInputEnd ¶
func NkInputEnd(arg0 *Context)
NkInputEnd function as declared in nk/nuklear.h:932
func NkInputKey ¶
NkInputKey function as declared in nk/nuklear.h:837
func NkInputMotion ¶
NkInputMotion function as declared in nk/nuklear.h:823
func NkInputScroll ¶
NkInputScroll function as declared in nk/nuklear.h:868
func NkInputUnicode ¶
NkInputUnicode function as declared in nk/nuklear.h:919
func NkLabelColored ¶
NkLabelColored function as declared in nk/nuklear.h:3125
func NkLabelColoredWrap ¶
NkLabelColoredWrap function as declared in nk/nuklear.h:3127
func NkLabelWrap ¶
NkLabelWrap function as declared in nk/nuklear.h:3126
func NkLayoutRatioFromPixel ¶
NkLayoutRatioFromPixel function as declared in nk/nuklear.h:2333
func NkLayoutResetMinRowHeight ¶
func NkLayoutResetMinRowHeight(arg0 *Context)
NkLayoutResetMinRowHeight function as declared in nk/nuklear.h:2306
func NkLayoutRow ¶
NkLayoutRow function as declared in nk/nuklear.h:2415
func NkLayoutRowBegin ¶
NkLayoutRowBegin function as declared in nk/nuklear.h:2378
func NkLayoutRowDynamic ¶
NkLayoutRowDynamic function as declared in nk/nuklear.h:2348
func NkLayoutRowEnd ¶
func NkLayoutRowEnd(arg0 *Context)
NkLayoutRowEnd function as declared in nk/nuklear.h:2401
func NkLayoutRowPush ¶
NkLayoutRowPush function as declared in nk/nuklear.h:2390
func NkLayoutRowStatic ¶
NkLayoutRowStatic function as declared in nk/nuklear.h:2364
func NkLayoutRowTemplateBegin ¶
NkLayoutRowTemplateBegin function as declared in nk/nuklear.h:2427
func NkLayoutRowTemplateEnd ¶
func NkLayoutRowTemplateEnd(arg0 *Context)
NkLayoutRowTemplateEnd function as declared in nk/nuklear.h:2474
func NkLayoutRowTemplatePushDynamic ¶
func NkLayoutRowTemplatePushDynamic(arg0 *Context)
NkLayoutRowTemplatePushDynamic function as declared in nk/nuklear.h:2439
func NkLayoutRowTemplatePushStatic ¶
NkLayoutRowTemplatePushStatic function as declared in nk/nuklear.h:2463
func NkLayoutRowTemplatePushVariable ¶
NkLayoutRowTemplatePushVariable function as declared in nk/nuklear.h:2451
func NkLayoutSetMinRowHeight ¶
NkLayoutSetMinRowHeight function as declared in nk/nuklear.h:2295
func NkLayoutSpaceBegin ¶
NkLayoutSpaceBegin function as declared in nk/nuklear.h:2488
func NkLayoutSpaceEnd ¶
func NkLayoutSpaceEnd(arg0 *Context)
NkLayoutSpaceEnd function as declared in nk/nuklear.h:2511
func NkLayoutSpacePush ¶
NkLayoutSpacePush function as declared in nk/nuklear.h:2500
func NkListViewEnd ¶
func NkListViewEnd(arg0 *ListView)
NkListViewEnd function as declared in nk/nuklear.h:3070
func NkMenuClose ¶
func NkMenuClose(arg0 *Context)
NkMenuClose function as declared in nk/nuklear.h:3589
func NkMenubarBegin ¶
func NkMenubarBegin(arg0 *Context)
NkMenubarBegin function as declared in nk/nuklear.h:3573
func NkMenubarEnd ¶
func NkMenubarEnd(arg0 *Context)
NkMenubarEnd function as declared in nk/nuklear.h:3574
func NkNineSliceIsSub9slice ¶
NkNineSliceIsSub9slice function as declared in nk/nuklear.h:3745
func NkPlatformDisplayHandle ¶
func NkPlatformNewFrame ¶
func NkPlatformNewFrame()
func NkPlatformRender ¶
func NkPlatformRender(aa AntiAliasing, maxVertexBuffer, maxElementBuffer int)
func NkPlatformShutdown ¶
func NkPlatformShutdown()
func NkPopupClose ¶
func NkPopupClose(arg0 *Context)
NkPopupClose function as declared in nk/nuklear.h:3503
func NkPopupEnd ¶
func NkPopupEnd(arg0 *Context)
NkPopupEnd function as declared in nk/nuklear.h:3504
func NkPopupGetScroll ¶
NkPopupGetScroll function as declared in nk/nuklear.h:3505
func NkPopupSetScroll ¶
NkPopupSetScroll function as declared in nk/nuklear.h:3506
func NkPropertyDouble ¶
func NkPropertyDouble(arg0 *Context, name string, min float64, val *float64, max float64, step float64, incPerPixel float32)
NkPropertyDouble function as declared in nk/nuklear.h:3375
func NkPropertyFloat ¶
func NkPropertyFloat(arg0 *Context, name string, min float32, val *float32, max float32, step float32, incPerPixel float32)
NkPropertyFloat function as declared in nk/nuklear.h:3354
func NkPropertyInt ¶
func NkPropertyInt(arg0 *Context, name string, min int32, val *int32, max int32, step int32, incPerPixel float32)
NkPropertyInt function as declared in nk/nuklear.h:3333
func NkPropertyd ¶
func NkPropertyd(arg0 *Context, name string, min float64, val float64, max float64, step float64, incPerPixel float32) float64
NkPropertyd function as declared in nk/nuklear.h:3444
func NkPropertyf ¶
func NkPropertyf(arg0 *Context, name string, min float32, val float32, max float32, step float32, incPerPixel float32) float32
NkPropertyf function as declared in nk/nuklear.h:3421
func NkPropertyi ¶
func NkPropertyi(arg0 *Context, name string, min int32, val int32, max int32, step int32, incPerPixel float32) int32
NkPropertyi function as declared in nk/nuklear.h:3398
func NkPushCustom ¶
func NkPushCustom(arg0 *CommandBuffer, arg1 Rect, arg2 CommandCustomCallback, usr Handle)
NkPushCustom function as declared in nk/nuklear.h:4654
func NkPushScissor ¶
func NkPushScissor(arg0 *CommandBuffer, arg1 Rect)
NkPushScissor function as declared in nk/nuklear.h:4653
func NkRegisterClipboard ¶
func NkRegisterClipboard(ctx *Context)
NkRegisterClipboard function as declared in nk/nk.h:5
func NkSlideFloat ¶
NkSlideFloat function as declared in nk/nuklear.h:3218
func NkSlideInt ¶
NkSlideInt function as declared in nk/nuklear.h:3219
func NkStrAppendStrChar ¶
NkStrAppendStrChar function as declared in nk/nuklear.h:4235
func NkStrAppendStrRunes ¶
NkStrAppendStrRunes function as declared in nk/nuklear.h:4239
func NkStrAppendStrUtf8 ¶
NkStrAppendStrUtf8 function as declared in nk/nuklear.h:4237
func NkStrAppendTextChar ¶
NkStrAppendTextChar function as declared in nk/nuklear.h:4234
func NkStrAppendTextRunes ¶
NkStrAppendTextRunes function as declared in nk/nuklear.h:4238
func NkStrAppendTextUtf8 ¶
NkStrAppendTextUtf8 function as declared in nk/nuklear.h:4236
func NkStrAtChar ¶
NkStrAtChar function as declared in nk/nuklear.h:4256
func NkStrAtCharConst ¶
NkStrAtCharConst function as declared in nk/nuklear.h:4259
func NkStrAtConst ¶
NkStrAtConst function as declared in nk/nuklear.h:4260
func NkStrAtRune ¶
NkStrAtRune function as declared in nk/nuklear.h:4257
func NkStrDeleteChars ¶
NkStrDeleteChars function as declared in nk/nuklear.h:4253
func NkStrDeleteRunes ¶
NkStrDeleteRunes function as declared in nk/nuklear.h:4254
func NkStrGetConst ¶
NkStrGetConst function as declared in nk/nuklear.h:4263
func NkStrInitDefault ¶
func NkStrInitDefault(arg0 *Str)
NkStrInitDefault function as declared in nk/nuklear.h:4227
func NkStrInitFixed ¶
NkStrInitFixed function as declared in nk/nuklear.h:4230
func NkStrInsertAtChar ¶
NkStrInsertAtChar function as declared in nk/nuklear.h:4241
func NkStrInsertAtRune ¶
NkStrInsertAtRune function as declared in nk/nuklear.h:4242
func NkStrInsertStrChar ¶
NkStrInsertStrChar function as declared in nk/nuklear.h:4245
func NkStrInsertStrRunes ¶
NkStrInsertStrRunes function as declared in nk/nuklear.h:4249
func NkStrInsertStrUtf8 ¶
NkStrInsertStrUtf8 function as declared in nk/nuklear.h:4247
func NkStrInsertTextChar ¶
NkStrInsertTextChar function as declared in nk/nuklear.h:4244
func NkStrInsertTextRunes ¶
NkStrInsertTextRunes function as declared in nk/nuklear.h:4248
func NkStrInsertTextUtf8 ¶
NkStrInsertTextUtf8 function as declared in nk/nuklear.h:4246
func NkStrLenChar ¶
NkStrLenChar function as declared in nk/nuklear.h:4265
func NkStrRemoveChars ¶
NkStrRemoveChars function as declared in nk/nuklear.h:4251
func NkStrRemoveRunes ¶
NkStrRemoveRunes function as declared in nk/nuklear.h:4252
func NkStrfilter ¶
NkStrfilter function as declared in nk/nuklear.h:3784
func NkStricmpn ¶
NkStricmpn function as declared in nk/nuklear.h:3777
func NkStrmatchFuzzyString ¶
NkStrmatchFuzzyString function as declared in nk/nuklear.h:3785
func NkStrmatchFuzzyText ¶
NkStrmatchFuzzyText function as declared in nk/nuklear.h:3786
func NkStrokeArc ¶
func NkStrokeArc(arg0 *CommandBuffer, cx float32, cy float32, radius float32, aMin float32, aMax float32, lineThickness float32, arg7 Color)
NkStrokeArc function as declared in nk/nuklear.h:4636
func NkStrokeCircle ¶
func NkStrokeCircle(arg0 *CommandBuffer, arg1 Rect, lineThickness float32, arg3 Color)
NkStrokeCircle function as declared in nk/nuklear.h:4635
func NkStrokeCurve ¶
func NkStrokeCurve(arg0 *CommandBuffer, arg1 float32, arg2 float32, arg3 float32, arg4 float32, arg5 float32, arg6 float32, arg7 float32, arg8 float32, lineThickness float32, arg10 Color)
NkStrokeCurve function as declared in nk/nuklear.h:4633
func NkStrokeLine ¶
func NkStrokeLine(b *CommandBuffer, x0 float32, y0 float32, x1 float32, y1 float32, lineThickness float32, arg6 Color)
NkStrokeLine function as declared in nk/nuklear.h:4632
func NkStrokePolygon ¶
func NkStrokePolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, lineThickness float32, arg4 Color)
NkStrokePolygon function as declared in nk/nuklear.h:4639
func NkStrokePolyline ¶
func NkStrokePolyline(arg0 *CommandBuffer, points []float32, pointCount int32, lineThickness float32, col Color)
NkStrokePolyline function as declared in nk/nuklear.h:4638
func NkStrokeRect ¶
func NkStrokeRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, lineThickness float32, arg4 Color)
NkStrokeRect function as declared in nk/nuklear.h:4634
func NkStrokeTriangle ¶
func NkStrokeTriangle(arg0 *CommandBuffer, arg1 float32, arg2 float32, arg3 float32, arg4 float32, arg5 float32, arg6 float32, lineThichness float32, arg8 Color)
NkStrokeTriangle function as declared in nk/nuklear.h:4637
func NkStyleDefault ¶
func NkStyleDefault(arg0 *Context)
NkStyleDefault function as declared in nk/nuklear.h:3637
func NkStyleFromTable ¶
NkStyleFromTable function as declared in nk/nuklear.h:3638
func NkStyleGetColorByName ¶
NkStyleGetColorByName function as declared in nk/nuklear.h:3641
func NkStyleHideCursor ¶
func NkStyleHideCursor(arg0 *Context)
NkStyleHideCursor function as declared in nk/nuklear.h:3645
func NkStyleLoadAllCursors ¶
NkStyleLoadAllCursors function as declared in nk/nuklear.h:3640
func NkStyleLoadCursor ¶
NkStyleLoadCursor function as declared in nk/nuklear.h:3639
func NkStyleSetFont ¶
NkStyleSetFont function as declared in nk/nuklear.h:3642
func NkStyleShowCursor ¶
func NkStyleShowCursor(arg0 *Context)
NkStyleShowCursor function as declared in nk/nuklear.h:3644
func NkTextColored ¶
NkTextColored function as declared in nk/nuklear.h:3121
func NkTextWrap ¶
NkTextWrap function as declared in nk/nuklear.h:3122
func NkTextWrapColored ¶
NkTextWrapColored function as declared in nk/nuklear.h:3123
func NkTexteditDelete ¶
NkTexteditDelete function as declared in nk/nuklear.h:4375
func NkTexteditDeleteSelection ¶
func NkTexteditDeleteSelection(arg0 *TextEdit)
NkTexteditDeleteSelection function as declared in nk/nuklear.h:4376
func NkTexteditFree ¶
func NkTexteditFree(arg0 *TextEdit)
NkTexteditFree function as declared in nk/nuklear.h:4373
func NkTexteditInit ¶
NkTexteditInit function as declared in nk/nuklear.h:4371
func NkTexteditInitDefault ¶
func NkTexteditInitDefault(arg0 *TextEdit)
NkTexteditInitDefault function as declared in nk/nuklear.h:4369
func NkTexteditInitFixed ¶
NkTexteditInitFixed function as declared in nk/nuklear.h:4372
func NkTexteditRedo ¶
func NkTexteditRedo(arg0 *TextEdit)
NkTexteditRedo function as declared in nk/nuklear.h:4381
func NkTexteditSelectAll ¶
func NkTexteditSelectAll(arg0 *TextEdit)
NkTexteditSelectAll function as declared in nk/nuklear.h:4377
func NkTexteditText ¶
NkTexteditText function as declared in nk/nuklear.h:4374
func NkTexteditUndo ¶
func NkTexteditUndo(arg0 *TextEdit)
NkTexteditUndo function as declared in nk/nuklear.h:4380
func NkTooltipEnd ¶
func NkTooltipEnd(arg0 *Context)
NkTooltipEnd function as declared in nk/nuklear.h:3567
func NkTreeElementPop ¶
func NkTreeElementPop(arg0 *Context)
NkTreeElementPop function as declared in nk/nuklear.h:3053
func NkTreeStatePop ¶
func NkTreeStatePop(arg0 *Context)
NkTreeStatePop function as declared in nk/nuklear.h:3047
func NkTriangleFromDirection ¶
NkTriangleFromDirection function as declared in nk/nuklear.h:3755
func NkUtfDecode ¶
NkUtfDecode function as declared in nk/nuklear.h:3792
func NkUtfEncode ¶
NkUtfEncode function as declared in nk/nuklear.h:3793
func NkWidgetFitting ¶
NkWidgetFitting function as declared in nk/nuklear.h:3092
func NkWidgetHeight ¶
NkWidgetHeight function as declared in nk/nuklear.h:3097
func NkWidgetWidth ¶
NkWidgetWidth function as declared in nk/nuklear.h:3096
func NkWindowClose ¶
NkWindowClose function as declared in nk/nuklear.h:1952
func NkWindowCollapse ¶
NkWindowCollapse function as declared in nk/nuklear.h:1965
func NkWindowCollapseIf ¶
NkWindowCollapseIf function as declared in nk/nuklear.h:1979
func NkWindowGetHeight ¶
NkWindowGetHeight function as declared in nk/nuklear.h:1630
func NkWindowGetScroll ¶
NkWindowGetScroll function as declared in nk/nuklear.h:1758
func NkWindowGetWidth ¶
NkWindowGetWidth function as declared in nk/nuklear.h:1614
func NkWindowSetBounds ¶
NkWindowSetBounds function as declared in nk/nuklear.h:1886
func NkWindowSetFocus ¶
NkWindowSetFocus function as declared in nk/nuklear.h:1924
func NkWindowSetPosition ¶
NkWindowSetPosition function as declared in nk/nuklear.h:1899
func NkWindowSetScroll ¶
NkWindowSetScroll function as declared in nk/nuklear.h:1940
func NkWindowSetSize ¶
NkWindowSetSize function as declared in nk/nuklear.h:1912
func NkWindowShow ¶
NkWindowShow function as declared in nk/nuklear.h:1992
func NkWindowShowIf ¶
NkWindowShowIf function as declared in nk/nuklear.h:2006
func SetBackgroundColor ¶
func SetGroupPadding ¶
func SetPadding ¶
func SetSpacing ¶
func SetTextColor ¶
Types ¶
type Allocator ¶
type Allocator C.struct_nk_allocator
Allocator as declared in nk/nuklear.h:450
func NewAllocator ¶
func NewAllocator() *Allocator
NewAllocator allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewAllocatorRef ¶
NewAllocatorRef converts the C object reference into a raw struct reference without wrapping.
func (*Allocator) Free ¶
func (x *Allocator) Free()
Free cleanups the referenced memory using C free.
func (*Allocator) GetAlloc ¶
func (s *Allocator) GetAlloc() *PluginAlloc
GetAlloc returns a reference to C object within a struct
func (*Allocator) GetFree ¶
func (s *Allocator) GetFree() *PluginFree
GetFree returns a reference to C object within a struct
func (*Allocator) GetUserdata ¶
GetUserdata returns a reference to C object within a struct
func (*Allocator) PassRef ¶
func (x *Allocator) PassRef() *C.struct_nk_allocator
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Allocator) Ref ¶
func (x *Allocator) Ref() *C.struct_nk_allocator
Ref returns a reference to C object as it is.
type BakedFont ¶
type BakedFont C.struct_nk_baked_font
BakedFont as declared in nk/nuklear.h:3992
func NewBakedFont ¶
func NewBakedFont() *BakedFont
NewBakedFont allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewBakedFontRef ¶
NewBakedFontRef converts the C object reference into a raw struct reference without wrapping.
func (*BakedFont) Free ¶
func (x *BakedFont) Free()
Free cleanups the referenced memory using C free.
func (*BakedFont) GetDescent ¶
GetDescent returns a reference to C object within a struct
func (*BakedFont) GetGlyphCount ¶
GetGlyphCount returns a reference to C object within a struct
func (*BakedFont) GetGlyphOffset ¶
GetGlyphOffset returns a reference to C object within a struct
func (*BakedFont) PassRef ¶
func (x *BakedFont) PassRef() *C.struct_nk_baked_font
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*BakedFont) Ref ¶
func (x *BakedFont) Ref() *C.struct_nk_baked_font
Ref returns a reference to C object as it is.
type Bool ¶
type Bool int32
Bool type as declared in nk/nuklear.h:420
func NkBeginTitled ¶
NkBeginTitled function as declared in nk/nuklear.h:1521
func NkButtonColor ¶
NkButtonColor function as declared in nk/nuklear.h:3154
func NkButtonImage ¶
NkButtonImage function as declared in nk/nuklear.h:3156
func NkButtonImageLabel ¶
NkButtonImageLabel function as declared in nk/nuklear.h:3159
func NkButtonImageLabelStyled ¶
func NkButtonImageLabelStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 *byte, textAlignment Flags) Bool
NkButtonImageLabelStyled function as declared in nk/nuklear.h:3167
func NkButtonImageStyled ¶
func NkButtonImageStyled(arg0 *Context, arg1 *StyleButton, img Image) Bool
NkButtonImageStyled function as declared in nk/nuklear.h:3164
func NkButtonImageText ¶
NkButtonImageText function as declared in nk/nuklear.h:3160
func NkButtonImageTextStyled ¶
func NkButtonImageTextStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 *byte, arg4 int32, alignment Flags) Bool
NkButtonImageTextStyled function as declared in nk/nuklear.h:3168
func NkButtonLabel ¶
NkButtonLabel function as declared in nk/nuklear.h:3153
func NkButtonLabelStyled ¶
func NkButtonLabelStyled(arg0 *Context, arg1 *StyleButton, title string) Bool
NkButtonLabelStyled function as declared in nk/nuklear.h:3162
func NkButtonPopBehavior ¶
NkButtonPopBehavior function as declared in nk/nuklear.h:3171
func NkButtonPushBehavior ¶
NkButtonPushBehavior function as declared in nk/nuklear.h:3170
func NkButtonSymbol ¶
NkButtonSymbol function as declared in nk/nuklear.h:3155
func NkButtonSymbolLabel ¶
NkButtonSymbolLabel function as declared in nk/nuklear.h:3157
func NkButtonSymbolLabelStyled ¶
func NkButtonSymbolLabelStyled(ctx *Context, style *StyleButton, symbol C.enum_, title string, align Flags) Bool
NkButtonSymbolLabelStyled function as declared in nk/nuklear.h:3166
func NkButtonSymbolStyled ¶
func NkButtonSymbolStyled(arg0 *Context, arg1 *StyleButton, arg2 C.enum_) Bool
NkButtonSymbolStyled function as declared in nk/nuklear.h:3163
func NkButtonSymbolText ¶
NkButtonSymbolText function as declared in nk/nuklear.h:3158
func NkButtonSymbolTextStyled ¶
func NkButtonSymbolTextStyled(arg0 *Context, arg1 *StyleButton, arg2 C.enum_, arg3 *byte, arg4 int32, alignment Flags) Bool
NkButtonSymbolTextStyled function as declared in nk/nuklear.h:3165
func NkButtonText ¶
NkButtonText function as declared in nk/nuklear.h:3152
func NkButtonTextStyled ¶
func NkButtonTextStyled(arg0 *Context, arg1 *StyleButton, title string, len int32) Bool
NkButtonTextStyled function as declared in nk/nuklear.h:3161
func NkChartBegin ¶
NkChartBegin function as declared in nk/nuklear.h:3488
func NkChartBeginColored ¶
func NkChartBeginColored(arg0 *Context, arg1 C.enum_, arg2 Color, active Color, num int32, min float32, max float32) Bool
NkChartBeginColored function as declared in nk/nuklear.h:3489
func NkCheckLabel ¶
NkCheckLabel function as declared in nk/nuklear.h:3177
func NkCheckText ¶
NkCheckText function as declared in nk/nuklear.h:3178
func NkCheckboxFlagsLabel ¶
NkCheckboxFlagsLabel function as declared in nk/nuklear.h:3183
func NkCheckboxFlagsText ¶
NkCheckboxFlagsText function as declared in nk/nuklear.h:3184
func NkCheckboxLabel ¶
NkCheckboxLabel function as declared in nk/nuklear.h:3181
func NkCheckboxText ¶
NkCheckboxText function as declared in nk/nuklear.h:3182
func NkColorPick ¶
NkColorPick function as declared in nk/nuklear.h:3236
func NkComboBeginColor ¶
NkComboBeginColor function as declared in nk/nuklear.h:3527
func NkComboBeginImage ¶
NkComboBeginImage function as declared in nk/nuklear.h:3531
func NkComboBeginImageLabel ¶
NkComboBeginImageLabel function as declared in nk/nuklear.h:3532
func NkComboBeginImageText ¶
NkComboBeginImageText function as declared in nk/nuklear.h:3533
func NkComboBeginLabel ¶
NkComboBeginLabel function as declared in nk/nuklear.h:3526
func NkComboBeginSymbol ¶
NkComboBeginSymbol function as declared in nk/nuklear.h:3528
func NkComboBeginSymbolLabel ¶
NkComboBeginSymbolLabel function as declared in nk/nuklear.h:3529
func NkComboBeginSymbolText ¶
func NkComboBeginSymbolText(arg0 *Context, selected string, arg2 int32, arg3 C.enum_, size Vec2) Bool
NkComboBeginSymbolText function as declared in nk/nuklear.h:3530
func NkComboBeginText ¶
NkComboBeginText function as declared in nk/nuklear.h:3525
func NkComboItemImageLabel ¶
NkComboItemImageLabel function as declared in nk/nuklear.h:3536
func NkComboItemImageText ¶
NkComboItemImageText function as declared in nk/nuklear.h:3537
func NkComboItemLabel ¶
NkComboItemLabel function as declared in nk/nuklear.h:3534
func NkComboItemSymbolLabel ¶
NkComboItemSymbolLabel function as declared in nk/nuklear.h:3538
func NkComboItemSymbolText ¶
func NkComboItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
NkComboItemSymbolText function as declared in nk/nuklear.h:3539
func NkComboItemText ¶
NkComboItemText function as declared in nk/nuklear.h:3535
func NkContextualBegin ¶
NkContextualBegin function as declared in nk/nuklear.h:3547
func NkContextualItemImageLabel ¶
NkContextualItemImageLabel function as declared in nk/nuklear.h:3550
func NkContextualItemImageText ¶
func NkContextualItemImageText(arg0 *Context, arg1 Image, arg2 *byte, len int32, alignment Flags) Bool
NkContextualItemImageText function as declared in nk/nuklear.h:3551
func NkContextualItemLabel ¶
NkContextualItemLabel function as declared in nk/nuklear.h:3549
func NkContextualItemSymbolLabel ¶
NkContextualItemSymbolLabel function as declared in nk/nuklear.h:3552
func NkContextualItemSymbolText ¶
func NkContextualItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
NkContextualItemSymbolText function as declared in nk/nuklear.h:3553
func NkContextualItemText ¶
NkContextualItemText function as declared in nk/nuklear.h:3548
func NkFilterAscii ¶
NkFilterAscii function as declared in nk/nuklear.h:4360
func NkFilterBinary ¶
NkFilterBinary function as declared in nk/nuklear.h:4365
func NkFilterDecimal ¶
NkFilterDecimal function as declared in nk/nuklear.h:4362
func NkFilterDefault ¶
NkFilterDefault function as declared in nk/nuklear.h:4359
func NkFilterFloat ¶
NkFilterFloat function as declared in nk/nuklear.h:4361
func NkFilterHex ¶
NkFilterHex function as declared in nk/nuklear.h:4363
func NkFilterOct ¶
NkFilterOct function as declared in nk/nuklear.h:4364
func NkGroupBegin ¶
NkGroupBegin function as declared in nk/nuklear.h:2698
func NkGroupBeginTitled ¶
NkGroupBeginTitled function as declared in nk/nuklear.h:2714
func NkGroupScrolledBegin ¶
NkGroupScrolledBegin function as declared in nk/nuklear.h:2760
func NkGroupScrolledOffsetBegin ¶
func NkGroupScrolledOffsetBegin(arg0 *Context, xOffset *Uint, yOffset *Uint, title string, flags Flags) Bool
NkGroupScrolledOffsetBegin function as declared in nk/nuklear.h:2743
func NkImageIsSubimage ¶
NkImageIsSubimage function as declared in nk/nuklear.h:3733
func NkInitCustom ¶
NkInitCustom function as declared in nk/nuklear.h:646
func NkInitDefault ¶
NkInitDefault function as declared in nk/nuklear.h:584
func NkInitFixed ¶
NkInitFixed function as declared in nk/nuklear.h:609
func NkInputAnyMouseClickInRect ¶
NkInputAnyMouseClickInRect function as declared in nk/nuklear.h:4701
func NkInputHasMouseClick ¶
NkInputHasMouseClick function as declared in nk/nuklear.h:4695
func NkInputHasMouseClickDownInRect ¶
NkInputHasMouseClickDownInRect function as declared in nk/nuklear.h:4698
func NkInputHasMouseClickInButtonRect ¶
NkInputHasMouseClickInButtonRect function as declared in nk/nuklear.h:4697
func NkInputHasMouseClickInRect ¶
NkInputHasMouseClickInRect function as declared in nk/nuklear.h:4696
func NkInputIsKeyDown ¶
NkInputIsKeyDown function as declared in nk/nuklear.h:4710
func NkInputIsKeyPressed ¶
NkInputIsKeyPressed function as declared in nk/nuklear.h:4708
func NkInputIsKeyReleased ¶
NkInputIsKeyReleased function as declared in nk/nuklear.h:4709
func NkInputIsMouseClickDownInRect ¶
NkInputIsMouseClickDownInRect function as declared in nk/nuklear.h:4700
func NkInputIsMouseClickInRect ¶
NkInputIsMouseClickInRect function as declared in nk/nuklear.h:4699
func NkInputIsMouseDown ¶
NkInputIsMouseDown function as declared in nk/nuklear.h:4705
func NkInputIsMouseHoveringRect ¶
NkInputIsMouseHoveringRect function as declared in nk/nuklear.h:4703
func NkInputIsMousePressed ¶
NkInputIsMousePressed function as declared in nk/nuklear.h:4706
func NkInputIsMousePrevHoveringRect ¶
NkInputIsMousePrevHoveringRect function as declared in nk/nuklear.h:4702
func NkInputIsMouseReleased ¶
NkInputIsMouseReleased function as declared in nk/nuklear.h:4707
func NkInputMouseClicked ¶
NkInputMouseClicked function as declared in nk/nuklear.h:4704
func NkItemIsAnyActive ¶
NkItemIsAnyActive function as declared in nk/nuklear.h:1873
func NkListViewBegin ¶
func NkListViewBegin(arg0 *Context, out *ListView, id string, arg3 Flags, rowHeight int32, rowCount int32) Bool
NkListViewBegin function as declared in nk/nuklear.h:3069
func NkMenuBeginImage ¶
NkMenuBeginImage function as declared in nk/nuklear.h:3577
func NkMenuBeginImageLabel ¶
NkMenuBeginImageLabel function as declared in nk/nuklear.h:3579
func NkMenuBeginImageText ¶
func NkMenuBeginImageText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, arg4 Image, size Vec2) Bool
NkMenuBeginImageText function as declared in nk/nuklear.h:3578
func NkMenuBeginLabel ¶
NkMenuBeginLabel function as declared in nk/nuklear.h:3576
func NkMenuBeginSymbol ¶
NkMenuBeginSymbol function as declared in nk/nuklear.h:3580
func NkMenuBeginSymbolLabel ¶
NkMenuBeginSymbolLabel function as declared in nk/nuklear.h:3582
func NkMenuBeginSymbolText ¶
func NkMenuBeginSymbolText(arg0 *Context, arg1 *byte, arg2 int32, align Flags, arg4 C.enum_, size Vec2) Bool
NkMenuBeginSymbolText function as declared in nk/nuklear.h:3581
func NkMenuBeginText ¶
NkMenuBeginText function as declared in nk/nuklear.h:3575
func NkMenuItemImageLabel ¶
NkMenuItemImageLabel function as declared in nk/nuklear.h:3585
func NkMenuItemImageText ¶
NkMenuItemImageText function as declared in nk/nuklear.h:3586
func NkMenuItemLabel ¶
NkMenuItemLabel function as declared in nk/nuklear.h:3584
func NkMenuItemSymbolLabel ¶
NkMenuItemSymbolLabel function as declared in nk/nuklear.h:3588
func NkMenuItemSymbolText ¶
func NkMenuItemSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, alignment Flags) Bool
NkMenuItemSymbolText function as declared in nk/nuklear.h:3587
func NkMenuItemText ¶
NkMenuItemText function as declared in nk/nuklear.h:3583
func NkOptionLabel ¶
NkOptionLabel function as declared in nk/nuklear.h:3192
func NkOptionText ¶
NkOptionText function as declared in nk/nuklear.h:3193
func NkPopupBegin ¶
NkPopupBegin function as declared in nk/nuklear.h:3502
func NkProgress ¶
NkProgress function as declared in nk/nuklear.h:3227
func NkRadioLabel ¶
NkRadioLabel function as declared in nk/nuklear.h:3190
func NkRadioText ¶
NkRadioText function as declared in nk/nuklear.h:3191
func NkSelectImageLabel ¶
NkSelectImageLabel function as declared in nk/nuklear.h:3208
func NkSelectImageText ¶
func NkSelectImageText(arg0 *Context, arg1 Image, arg2 *byte, arg3 int32, align Flags, value Bool) Bool
NkSelectImageText function as declared in nk/nuklear.h:3209
func NkSelectLabel ¶
NkSelectLabel function as declared in nk/nuklear.h:3206
func NkSelectSymbolLabel ¶
NkSelectSymbolLabel function as declared in nk/nuklear.h:3210
func NkSelectSymbolText ¶
func NkSelectSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, align Flags, value Bool) Bool
NkSelectSymbolText function as declared in nk/nuklear.h:3211
func NkSelectText ¶
NkSelectText function as declared in nk/nuklear.h:3207
func NkSelectableImageLabel ¶
NkSelectableImageLabel function as declared in nk/nuklear.h:3201
func NkSelectableImageText ¶
func NkSelectableImageText(arg0 *Context, arg1 Image, arg2 *byte, arg3 int32, align Flags, value []Bool) Bool
NkSelectableImageText function as declared in nk/nuklear.h:3202
func NkSelectableLabel ¶
NkSelectableLabel function as declared in nk/nuklear.h:3199
func NkSelectableSymbolLabel ¶
func NkSelectableSymbolLabel(arg0 *Context, arg1 C.enum_, arg2 *byte, align Flags, value []Bool) Bool
NkSelectableSymbolLabel function as declared in nk/nuklear.h:3203
func NkSelectableSymbolText ¶
func NkSelectableSymbolText(arg0 *Context, arg1 C.enum_, arg2 *byte, arg3 int32, align Flags, value []Bool) Bool
NkSelectableSymbolText function as declared in nk/nuklear.h:3204
func NkSelectableText ¶
NkSelectableText function as declared in nk/nuklear.h:3200
func NkSliderFloat ¶
NkSliderFloat function as declared in nk/nuklear.h:3220
func NkSliderInt ¶
NkSliderInt function as declared in nk/nuklear.h:3221
func NkStylePopColor ¶
NkStylePopColor function as declared in nk/nuklear.h:3659
func NkStylePopFlags ¶
NkStylePopFlags function as declared in nk/nuklear.h:3658
func NkStylePopFloat ¶
NkStylePopFloat function as declared in nk/nuklear.h:3655
func NkStylePopFont ¶
NkStylePopFont function as declared in nk/nuklear.h:3654
func NkStylePopStyleItem ¶
NkStylePopStyleItem function as declared in nk/nuklear.h:3657
func NkStylePopVec2 ¶
NkStylePopVec2 function as declared in nk/nuklear.h:3656
func NkStylePushColor ¶
NkStylePushColor function as declared in nk/nuklear.h:3652
func NkStylePushFlags ¶
NkStylePushFlags function as declared in nk/nuklear.h:3651
func NkStylePushFloat ¶
NkStylePushFloat function as declared in nk/nuklear.h:3648
func NkStylePushFont ¶
NkStylePushFont function as declared in nk/nuklear.h:3647
func NkStylePushStyleItem ¶
NkStylePushStyleItem function as declared in nk/nuklear.h:3650
func NkStylePushVec2 ¶
NkStylePushVec2 function as declared in nk/nuklear.h:3649
func NkStyleSetCursor ¶
NkStyleSetCursor function as declared in nk/nuklear.h:3643
func NkTexteditCut ¶
NkTexteditCut function as declared in nk/nuklear.h:4378
func NkTexteditPaste ¶
NkTexteditPaste function as declared in nk/nuklear.h:4379
func NkTooltipBegin ¶
NkTooltipBegin function as declared in nk/nuklear.h:3566
func NkTreeElementImagePushHashed ¶
func NkTreeElementImagePushHashed(arg0 *Context, arg1 C.enum_, arg2 Image, title string, initialState C.enum_, selected []Bool, hash string, len int32, seed int32) Bool
NkTreeElementImagePushHashed function as declared in nk/nuklear.h:3052
func NkTreeElementPushHashed ¶
func NkTreeElementPushHashed(arg0 *Context, arg1 C.enum_, title string, initialState C.enum_, selected []Bool, hash string, len int32, seed int32) Bool
NkTreeElementPushHashed function as declared in nk/nuklear.h:3051
func NkTreeImagePushHashed ¶
func NkTreeImagePushHashed(arg0 *Context, arg1 C.enum_, arg2 Image, title string, initialState C.enum_, hash string, len int32, seed int32) Bool
NkTreeImagePushHashed function as declared in nk/nuklear.h:2992
func NkTreePushHashed ¶
func NkTreePushHashed(arg0 *Context, arg1 C.enum_, title string, initialState C.enum_, hash string, len int32, seed int32) Bool
NkTreePushHashed function as declared in nk/nuklear.h:2928
func NkTreeStateImagePush ¶
func NkTreeStateImagePush(arg0 *Context, arg1 C.enum_, arg2 Image, title string, state []C.enum_) Bool
NkTreeStateImagePush function as declared in nk/nuklear.h:3036
func NkTreeStatePush ¶
NkTreeStatePush function as declared in nk/nuklear.h:3019
func NkWidgetHasMouseClickDown ¶
NkWidgetHasMouseClickDown function as declared in nk/nuklear.h:3100
func NkWidgetIsHovered ¶
NkWidgetIsHovered function as declared in nk/nuklear.h:3098
func NkWidgetIsMouseClicked ¶
NkWidgetIsMouseClicked function as declared in nk/nuklear.h:3099
func NkWindowHasFocus ¶
NkWindowHasFocus function as declared in nk/nuklear.h:1773
func NkWindowIsActive ¶
NkWindowIsActive function as declared in nk/nuklear.h:1845
func NkWindowIsAnyHovered ¶
NkWindowIsAnyHovered function as declared in nk/nuklear.h:1858
func NkWindowIsClosed ¶
NkWindowIsClosed function as declared in nk/nuklear.h:1817
func NkWindowIsCollapsed ¶
NkWindowIsCollapsed function as declared in nk/nuklear.h:1803
func NkWindowIsHidden ¶
NkWindowIsHidden function as declared in nk/nuklear.h:1831
func NkWindowIsHovered ¶
NkWindowIsHovered function as declared in nk/nuklear.h:1788
type Buffer ¶
type Buffer C.struct_nk_buffer
Buffer as declared in nk/nuklear.h:449
func NewBuffer ¶
func NewBuffer() *Buffer
NewBuffer allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewBufferRef ¶
NewBufferRef converts the C object reference into a raw struct reference without wrapping.
func (*Buffer) GetAllocated ¶
GetAllocated returns a reference to C object within a struct
func (*Buffer) GetGrowFactor ¶
GetGrowFactor returns a reference to C object within a struct
func (*Buffer) GetMarker ¶
func (s *Buffer) GetMarker() [2]BufferMarker
GetMarker returns a reference to C object within a struct
func (*Buffer) PassRef ¶
func (x *Buffer) PassRef() *C.struct_nk_buffer
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Buffer) Ref ¶
func (x *Buffer) Ref() *C.struct_nk_buffer
Ref returns a reference to C object as it is.
type BufferMarker ¶
type BufferMarker C.struct_nk_buffer_marker
BufferMarker as declared in nk/nuklear.h:4169
func NewBufferMarker ¶
func NewBufferMarker() *BufferMarker
NewBufferMarker allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewBufferMarkerRef ¶
func NewBufferMarkerRef(ref unsafe.Pointer) *BufferMarker
NewBufferMarkerRef converts the C object reference into a raw struct reference without wrapping.
func (*BufferMarker) Free ¶
func (x *BufferMarker) Free()
Free cleanups the referenced memory using C free.
func (*BufferMarker) GetActive ¶
func (s *BufferMarker) GetActive() *Bool
GetActive returns a reference to C object within a struct
func (*BufferMarker) GetOffset ¶
func (s *BufferMarker) GetOffset() *Size
GetOffset returns a reference to C object within a struct
func (*BufferMarker) PassRef ¶
func (x *BufferMarker) PassRef() *C.struct_nk_buffer_marker
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*BufferMarker) Ref ¶
func (x *BufferMarker) Ref() *C.struct_nk_buffer_marker
Ref returns a reference to C object as it is.
type Chart ¶
type Chart C.struct_nk_chart
Chart as declared in nk/nuklear.h:5348
func NewChart ¶
func NewChart() *Chart
NewChart allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewChartRef ¶
NewChartRef converts the C object reference into a raw struct reference without wrapping.
func (*Chart) PassRef ¶
func (x *Chart) PassRef() *C.struct_nk_chart
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Chart) Ref ¶
func (x *Chart) Ref() *C.struct_nk_chart
Ref returns a reference to C object as it is.
type ChartSlot ¶
type ChartSlot C.struct_nk_chart_slot
ChartSlot as declared in nk/nuklear.h:5338
func NewChartSlot ¶
func NewChartSlot() *ChartSlot
NewChartSlot allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewChartSlotRef ¶
NewChartSlotRef converts the C object reference into a raw struct reference without wrapping.
func (*ChartSlot) Free ¶
func (x *ChartSlot) Free()
Free cleanups the referenced memory using C free.
func (*ChartSlot) GetHighlight ¶
GetHighlight returns a reference to C object within a struct
func (*ChartSlot) PassRef ¶
func (x *ChartSlot) PassRef() *C.struct_nk_chart_slot
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ChartSlot) Ref ¶
func (x *ChartSlot) Ref() *C.struct_nk_chart_slot
Ref returns a reference to C object as it is.
type Clipboard ¶
type Clipboard C.struct_nk_clipboard
Clipboard as declared in nk/nuklear.h:4305
func NewClipboard ¶
func NewClipboard() *Clipboard
NewClipboard allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewClipboardRef ¶
NewClipboardRef converts the C object reference into a raw struct reference without wrapping.
func (*Clipboard) Free ¶
func (x *Clipboard) Free()
Free cleanups the referenced memory using C free.
func (*Clipboard) GetCopy ¶
func (s *Clipboard) GetCopy() *PluginCopy
GetCopy returns a reference to C object within a struct
func (*Clipboard) GetPaste ¶
func (s *Clipboard) GetPaste() *PluginPaste
GetPaste returns a reference to C object within a struct
func (*Clipboard) GetUserdata ¶
GetUserdata returns a reference to C object within a struct
func (*Clipboard) PassRef ¶
func (x *Clipboard) PassRef() *C.struct_nk_clipboard
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Clipboard) Ref ¶
func (x *Clipboard) Ref() *C.struct_nk_clipboard
Ref returns a reference to C object as it is.
type ClipboardPlugin ¶
type Color ¶
type Color C.struct_nk_color
Color as declared in nk/nuklear.h:476
func NewColor ¶
func NewColor() *Color
NewColor allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewColorRef ¶
NewColorRef converts the C object reference into a raw struct reference without wrapping.
func (*Color) PassRef ¶
func (x *Color) PassRef() *C.struct_nk_color
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Color) Ref ¶
func (x *Color) Ref() *C.struct_nk_color
Ref returns a reference to C object as it is.
type Colorf ¶
type Colorf C.struct_nk_colorf
Colorf as declared in nk/nuklear.h:477
func NewColorf ¶
func NewColorf() *Colorf
NewColorf allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewColorfRef ¶
NewColorfRef converts the C object reference into a raw struct reference without wrapping.
func NkColorPicker ¶
NkColorPicker function as declared in nk/nuklear.h:3235
func NkHsvaColorf ¶
NkHsvaColorf function as declared in nk/nuklear.h:3682
func NkHsvaColorfv ¶
NkHsvaColorfv function as declared in nk/nuklear.h:3683
func (*Colorf) PassRef ¶
func (x *Colorf) PassRef() *C.struct_nk_colorf
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Colorf) Ref ¶
func (x *Colorf) Ref() *C.struct_nk_colorf
Ref returns a reference to C object as it is.
type Command ¶
type Command C.struct_nk_command
Command as declared in nk/nuklear.h:4458
func NewCommand ¶
func NewCommand() *Command
NewCommand allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandRef ¶
NewCommandRef converts the C object reference into a raw struct reference without wrapping.
func (*Command) PassRef ¶
func (x *Command) PassRef() *C.struct_nk_command
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Command) Ref ¶
func (x *Command) Ref() *C.struct_nk_command
Ref returns a reference to C object as it is.
type CommandArc ¶
type CommandArc C.struct_nk_command_arc
CommandArc as declared in nk/nuklear.h:4548
func NewCommandArc ¶
func NewCommandArc() *CommandArc
NewCommandArc allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandArcRef ¶
func NewCommandArcRef(ref unsafe.Pointer) *CommandArc
NewCommandArcRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandArc) Free ¶
func (x *CommandArc) Free()
Free cleanups the referenced memory using C free.
func (*CommandArc) GetA ¶
func (s *CommandArc) GetA() [2]float32
GetA returns a reference to C object within a struct
func (*CommandArc) GetColor ¶
func (s *CommandArc) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandArc) GetCx ¶
func (s *CommandArc) GetCx() *int16
GetCx returns a reference to C object within a struct
func (*CommandArc) GetCy ¶
func (s *CommandArc) GetCy() *int16
GetCy returns a reference to C object within a struct
func (*CommandArc) GetHeader ¶
func (s *CommandArc) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandArc) GetLineThickness ¶
func (s *CommandArc) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandArc) GetR ¶
func (s *CommandArc) GetR() *uint16
GetR returns a reference to C object within a struct
func (*CommandArc) PassRef ¶
func (x *CommandArc) PassRef() *C.struct_nk_command_arc
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandArc) Ref ¶
func (x *CommandArc) Ref() *C.struct_nk_command_arc
Ref returns a reference to C object as it is.
type CommandArcFilled ¶
type CommandArcFilled C.struct_nk_command_arc_filled
CommandArcFilled as declared in nk/nuklear.h:4557
func NewCommandArcFilled ¶
func NewCommandArcFilled() *CommandArcFilled
NewCommandArcFilled allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandArcFilledRef ¶
func NewCommandArcFilledRef(ref unsafe.Pointer) *CommandArcFilled
NewCommandArcFilledRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandArcFilled) Free ¶
func (x *CommandArcFilled) Free()
Free cleanups the referenced memory using C free.
func (*CommandArcFilled) GetA ¶
func (s *CommandArcFilled) GetA() [2]float32
GetA returns a reference to C object within a struct
func (*CommandArcFilled) GetColor ¶
func (s *CommandArcFilled) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandArcFilled) GetCx ¶
func (s *CommandArcFilled) GetCx() *int16
GetCx returns a reference to C object within a struct
func (*CommandArcFilled) GetCy ¶
func (s *CommandArcFilled) GetCy() *int16
GetCy returns a reference to C object within a struct
func (*CommandArcFilled) GetHeader ¶
func (s *CommandArcFilled) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandArcFilled) GetR ¶
func (s *CommandArcFilled) GetR() *uint16
GetR returns a reference to C object within a struct
func (*CommandArcFilled) PassRef ¶
func (x *CommandArcFilled) PassRef() *C.struct_nk_command_arc_filled
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandArcFilled) Ref ¶
func (x *CommandArcFilled) Ref() *C.struct_nk_command_arc_filled
Ref returns a reference to C object as it is.
type CommandBuffer ¶
type CommandBuffer C.struct_nk_command_buffer
CommandBuffer as declared in nk/nuklear.h:451
func NewCommandBuffer ¶
func NewCommandBuffer() *CommandBuffer
NewCommandBuffer allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandBufferRef ¶
func NewCommandBufferRef(ref unsafe.Pointer) *CommandBuffer
NewCommandBufferRef converts the C object reference into a raw struct reference without wrapping.
func NkWindowGetCanvas ¶
func NkWindowGetCanvas(arg0 *Context) *CommandBuffer
NkWindowGetCanvas function as declared in nk/nuklear.h:1742
func (*CommandBuffer) Free ¶
func (x *CommandBuffer) Free()
Free cleanups the referenced memory using C free.
func (*CommandBuffer) GetBase ¶
func (s *CommandBuffer) GetBase() **Buffer
GetBase returns a reference to C object within a struct
func (*CommandBuffer) GetBegin ¶
func (s *CommandBuffer) GetBegin() *Size
GetBegin returns a reference to C object within a struct
func (*CommandBuffer) GetClip ¶
func (s *CommandBuffer) GetClip() *Rect
GetClip returns a reference to C object within a struct
func (*CommandBuffer) GetEnd ¶
func (s *CommandBuffer) GetEnd() *Size
GetEnd returns a reference to C object within a struct
func (*CommandBuffer) GetLast ¶
func (s *CommandBuffer) GetLast() *Size
GetLast returns a reference to C object within a struct
func (*CommandBuffer) GetUseClipping ¶
func (s *CommandBuffer) GetUseClipping() *int32
GetUseClipping returns a reference to C object within a struct
func (*CommandBuffer) GetUserdata ¶
func (s *CommandBuffer) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*CommandBuffer) PassRef ¶
func (x *CommandBuffer) PassRef() *C.struct_nk_command_buffer
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandBuffer) Ref ¶
func (x *CommandBuffer) Ref() *C.struct_nk_command_buffer
Ref returns a reference to C object as it is.
type CommandCircle ¶
type CommandCircle C.struct_nk_command_circle
CommandCircle as declared in nk/nuklear.h:4533
func NewCommandCircle ¶
func NewCommandCircle() *CommandCircle
NewCommandCircle allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandCircleRef ¶
func NewCommandCircleRef(ref unsafe.Pointer) *CommandCircle
NewCommandCircleRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandCircle) Free ¶
func (x *CommandCircle) Free()
Free cleanups the referenced memory using C free.
func (*CommandCircle) GetColor ¶
func (s *CommandCircle) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandCircle) GetH ¶
func (s *CommandCircle) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandCircle) GetHeader ¶
func (s *CommandCircle) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandCircle) GetLineThickness ¶
func (s *CommandCircle) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandCircle) GetW ¶
func (s *CommandCircle) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandCircle) GetX ¶
func (s *CommandCircle) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandCircle) GetY ¶
func (s *CommandCircle) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandCircle) PassRef ¶
func (x *CommandCircle) PassRef() *C.struct_nk_command_circle
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandCircle) Ref ¶
func (x *CommandCircle) Ref() *C.struct_nk_command_circle
Ref returns a reference to C object as it is.
type CommandCircleFilled ¶
type CommandCircleFilled C.struct_nk_command_circle_filled
CommandCircleFilled as declared in nk/nuklear.h:4541
func NewCommandCircleFilled ¶
func NewCommandCircleFilled() *CommandCircleFilled
NewCommandCircleFilled allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandCircleFilledRef ¶
func NewCommandCircleFilledRef(ref unsafe.Pointer) *CommandCircleFilled
NewCommandCircleFilledRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandCircleFilled) Free ¶
func (x *CommandCircleFilled) Free()
Free cleanups the referenced memory using C free.
func (*CommandCircleFilled) GetColor ¶
func (s *CommandCircleFilled) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandCircleFilled) GetH ¶
func (s *CommandCircleFilled) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandCircleFilled) GetHeader ¶
func (s *CommandCircleFilled) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandCircleFilled) GetW ¶
func (s *CommandCircleFilled) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandCircleFilled) GetX ¶
func (s *CommandCircleFilled) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandCircleFilled) GetY ¶
func (s *CommandCircleFilled) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandCircleFilled) PassRef ¶
func (x *CommandCircleFilled) PassRef() *C.struct_nk_command_circle_filled
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandCircleFilled) Ref ¶
func (x *CommandCircleFilled) Ref() *C.struct_nk_command_circle_filled
Ref returns a reference to C object as it is.
type CommandCurve ¶
type CommandCurve C.struct_nk_command_curve
CommandCurve as declared in nk/nuklear.h:4480
func NewCommandCurve ¶
func NewCommandCurve() *CommandCurve
NewCommandCurve allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandCurveRef ¶
func NewCommandCurveRef(ref unsafe.Pointer) *CommandCurve
NewCommandCurveRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandCurve) Free ¶
func (x *CommandCurve) Free()
Free cleanups the referenced memory using C free.
func (*CommandCurve) GetBegin ¶
func (s *CommandCurve) GetBegin() *Vec2i
GetBegin returns a reference to C object within a struct
func (*CommandCurve) GetColor ¶
func (s *CommandCurve) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandCurve) GetCtrl ¶
func (s *CommandCurve) GetCtrl() [2]Vec2i
GetCtrl returns a reference to C object within a struct
func (*CommandCurve) GetEnd ¶
func (s *CommandCurve) GetEnd() *Vec2i
GetEnd returns a reference to C object within a struct
func (*CommandCurve) GetHeader ¶
func (s *CommandCurve) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandCurve) GetLineThickness ¶
func (s *CommandCurve) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandCurve) PassRef ¶
func (x *CommandCurve) PassRef() *C.struct_nk_command_curve
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandCurve) Ref ¶
func (x *CommandCurve) Ref() *C.struct_nk_command_curve
Ref returns a reference to C object as it is.
type CommandCustom ¶
type CommandCustom C.struct_nk_command_custom
CommandCustom as declared in nk/nuklear.h:4598
func NewCommandCustom ¶
func NewCommandCustom() *CommandCustom
NewCommandCustom allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandCustomRef ¶
func NewCommandCustomRef(ref unsafe.Pointer) *CommandCustom
NewCommandCustomRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandCustom) Free ¶
func (x *CommandCustom) Free()
Free cleanups the referenced memory using C free.
func (*CommandCustom) GetCallback ¶
func (s *CommandCustom) GetCallback() *CommandCustomCallback
GetCallback returns a reference to C object within a struct
func (*CommandCustom) GetCallbackData ¶
func (s *CommandCustom) GetCallbackData() *Handle
GetCallbackData returns a reference to C object within a struct
func (*CommandCustom) GetH ¶
func (s *CommandCustom) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandCustom) GetHeader ¶
func (s *CommandCustom) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandCustom) GetW ¶
func (s *CommandCustom) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandCustom) GetX ¶
func (s *CommandCustom) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandCustom) GetY ¶
func (s *CommandCustom) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandCustom) PassRef ¶
func (x *CommandCustom) PassRef() *C.struct_nk_command_custom
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandCustom) Ref ¶
func (x *CommandCustom) Ref() *C.struct_nk_command_custom
Ref returns a reference to C object as it is.
type CommandCustomCallback ¶
type CommandCustomCallback func(canvas unsafe.Pointer, x int16, y int16, w uint16, h uint16, callbackData Handle)
CommandCustomCallback type as declared in nk/nuklear.h:4596
func NewCommandCustomCallbackRef ¶
func NewCommandCustomCallbackRef(ref unsafe.Pointer) *CommandCustomCallback
func (CommandCustomCallback) PassRef ¶
func (x CommandCustomCallback) PassRef() (ref *C.nk_command_custom_callback, allocs *cgoAllocMap)
func (CommandCustomCallback) PassValue ¶
func (x CommandCustomCallback) PassValue() (ref C.nk_command_custom_callback, allocs *cgoAllocMap)
type CommandImage ¶
type CommandImage C.struct_nk_command_image
CommandImage as declared in nk/nuklear.h:4588
func NewCommandImage ¶
func NewCommandImage() *CommandImage
NewCommandImage allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandImageRef ¶
func NewCommandImageRef(ref unsafe.Pointer) *CommandImage
NewCommandImageRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandImage) Free ¶
func (x *CommandImage) Free()
Free cleanups the referenced memory using C free.
func (*CommandImage) GetCol ¶
func (s *CommandImage) GetCol() *Color
GetCol returns a reference to C object within a struct
func (*CommandImage) GetH ¶
func (s *CommandImage) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandImage) GetHeader ¶
func (s *CommandImage) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandImage) GetImg ¶
func (s *CommandImage) GetImg() *Image
GetImg returns a reference to C object within a struct
func (*CommandImage) GetW ¶
func (s *CommandImage) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandImage) GetX ¶
func (s *CommandImage) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandImage) GetY ¶
func (s *CommandImage) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandImage) PassRef ¶
func (x *CommandImage) PassRef() *C.struct_nk_command_image
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandImage) Ref ¶
func (x *CommandImage) Ref() *C.struct_nk_command_image
Ref returns a reference to C object as it is.
type CommandLine ¶
type CommandLine C.struct_nk_command_line
CommandLine as declared in nk/nuklear.h:4472
func NewCommandLine ¶
func NewCommandLine() *CommandLine
NewCommandLine allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandLineRef ¶
func NewCommandLineRef(ref unsafe.Pointer) *CommandLine
NewCommandLineRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandLine) Free ¶
func (x *CommandLine) Free()
Free cleanups the referenced memory using C free.
func (*CommandLine) GetBegin ¶
func (s *CommandLine) GetBegin() *Vec2i
GetBegin returns a reference to C object within a struct
func (*CommandLine) GetColor ¶
func (s *CommandLine) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandLine) GetEnd ¶
func (s *CommandLine) GetEnd() *Vec2i
GetEnd returns a reference to C object within a struct
func (*CommandLine) GetHeader ¶
func (s *CommandLine) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandLine) GetLineThickness ¶
func (s *CommandLine) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandLine) PassRef ¶
func (x *CommandLine) PassRef() *C.struct_nk_command_line
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandLine) Ref ¶
func (x *CommandLine) Ref() *C.struct_nk_command_line
Ref returns a reference to C object as it is.
type CommandPolygon ¶
type CommandPolygon C.struct_nk_command_polygon
CommandPolygon as declared in nk/nuklear.h:4565
func NewCommandPolygon ¶
func NewCommandPolygon() *CommandPolygon
NewCommandPolygon allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandPolygonRef ¶
func NewCommandPolygonRef(ref unsafe.Pointer) *CommandPolygon
NewCommandPolygonRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandPolygon) Free ¶
func (x *CommandPolygon) Free()
Free cleanups the referenced memory using C free.
func (*CommandPolygon) GetColor ¶
func (s *CommandPolygon) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandPolygon) GetHeader ¶
func (s *CommandPolygon) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandPolygon) GetLineThickness ¶
func (s *CommandPolygon) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandPolygon) GetPointCount ¶
func (s *CommandPolygon) GetPointCount() *uint16
GetPointCount returns a reference to C object within a struct
func (*CommandPolygon) GetPoints ¶
func (s *CommandPolygon) GetPoints() [1]Vec2i
GetPoints returns a reference to C object within a struct
func (*CommandPolygon) PassRef ¶
func (x *CommandPolygon) PassRef() *C.struct_nk_command_polygon
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandPolygon) Ref ¶
func (x *CommandPolygon) Ref() *C.struct_nk_command_polygon
Ref returns a reference to C object as it is.
type CommandPolygonFilled ¶
type CommandPolygonFilled C.struct_nk_command_polygon_filled
CommandPolygonFilled as declared in nk/nuklear.h:4573
func NewCommandPolygonFilled ¶
func NewCommandPolygonFilled() *CommandPolygonFilled
NewCommandPolygonFilled allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandPolygonFilledRef ¶
func NewCommandPolygonFilledRef(ref unsafe.Pointer) *CommandPolygonFilled
NewCommandPolygonFilledRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandPolygonFilled) Free ¶
func (x *CommandPolygonFilled) Free()
Free cleanups the referenced memory using C free.
func (*CommandPolygonFilled) GetColor ¶
func (s *CommandPolygonFilled) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandPolygonFilled) GetHeader ¶
func (s *CommandPolygonFilled) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandPolygonFilled) GetPointCount ¶
func (s *CommandPolygonFilled) GetPointCount() *uint16
GetPointCount returns a reference to C object within a struct
func (*CommandPolygonFilled) GetPoints ¶
func (s *CommandPolygonFilled) GetPoints() [1]Vec2i
GetPoints returns a reference to C object within a struct
func (*CommandPolygonFilled) PassRef ¶
func (x *CommandPolygonFilled) PassRef() *C.struct_nk_command_polygon_filled
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandPolygonFilled) Ref ¶
func (x *CommandPolygonFilled) Ref() *C.struct_nk_command_polygon_filled
Ref returns a reference to C object as it is.
type CommandPolyline ¶
type CommandPolyline C.struct_nk_command_polyline
CommandPolyline as declared in nk/nuklear.h:4580
func NewCommandPolyline ¶
func NewCommandPolyline() *CommandPolyline
NewCommandPolyline allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandPolylineRef ¶
func NewCommandPolylineRef(ref unsafe.Pointer) *CommandPolyline
NewCommandPolylineRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandPolyline) Free ¶
func (x *CommandPolyline) Free()
Free cleanups the referenced memory using C free.
func (*CommandPolyline) GetColor ¶
func (s *CommandPolyline) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandPolyline) GetHeader ¶
func (s *CommandPolyline) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandPolyline) GetLineThickness ¶
func (s *CommandPolyline) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandPolyline) GetPointCount ¶
func (s *CommandPolyline) GetPointCount() *uint16
GetPointCount returns a reference to C object within a struct
func (*CommandPolyline) GetPoints ¶
func (s *CommandPolyline) GetPoints() [1]Vec2i
GetPoints returns a reference to C object within a struct
func (*CommandPolyline) PassRef ¶
func (x *CommandPolyline) PassRef() *C.struct_nk_command_polyline
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandPolyline) Ref ¶
func (x *CommandPolyline) Ref() *C.struct_nk_command_polyline
Ref returns a reference to C object as it is.
type CommandRect ¶
type CommandRect C.struct_nk_command_rect
CommandRect as declared in nk/nuklear.h:4489
func NewCommandRect ¶
func NewCommandRect() *CommandRect
NewCommandRect allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandRectRef ¶
func NewCommandRectRef(ref unsafe.Pointer) *CommandRect
NewCommandRectRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandRect) Free ¶
func (x *CommandRect) Free()
Free cleanups the referenced memory using C free.
func (*CommandRect) GetColor ¶
func (s *CommandRect) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandRect) GetH ¶
func (s *CommandRect) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandRect) GetHeader ¶
func (s *CommandRect) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandRect) GetLineThickness ¶
func (s *CommandRect) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandRect) GetRounding ¶
func (s *CommandRect) GetRounding() *uint16
GetRounding returns a reference to C object within a struct
func (*CommandRect) GetW ¶
func (s *CommandRect) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandRect) GetX ¶
func (s *CommandRect) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandRect) GetY ¶
func (s *CommandRect) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandRect) PassRef ¶
func (x *CommandRect) PassRef() *C.struct_nk_command_rect
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandRect) Ref ¶
func (x *CommandRect) Ref() *C.struct_nk_command_rect
Ref returns a reference to C object as it is.
type CommandRectFilled ¶
type CommandRectFilled C.struct_nk_command_rect_filled
CommandRectFilled as declared in nk/nuklear.h:4498
func NewCommandRectFilled ¶
func NewCommandRectFilled() *CommandRectFilled
NewCommandRectFilled allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandRectFilledRef ¶
func NewCommandRectFilledRef(ref unsafe.Pointer) *CommandRectFilled
NewCommandRectFilledRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandRectFilled) Free ¶
func (x *CommandRectFilled) Free()
Free cleanups the referenced memory using C free.
func (*CommandRectFilled) GetColor ¶
func (s *CommandRectFilled) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandRectFilled) GetH ¶
func (s *CommandRectFilled) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandRectFilled) GetHeader ¶
func (s *CommandRectFilled) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandRectFilled) GetRounding ¶
func (s *CommandRectFilled) GetRounding() *uint16
GetRounding returns a reference to C object within a struct
func (*CommandRectFilled) GetW ¶
func (s *CommandRectFilled) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandRectFilled) GetX ¶
func (s *CommandRectFilled) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandRectFilled) GetY ¶
func (s *CommandRectFilled) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandRectFilled) PassRef ¶
func (x *CommandRectFilled) PassRef() *C.struct_nk_command_rect_filled
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandRectFilled) Ref ¶
func (x *CommandRectFilled) Ref() *C.struct_nk_command_rect_filled
Ref returns a reference to C object as it is.
type CommandRectMultiColor ¶
type CommandRectMultiColor C.struct_nk_command_rect_multi_color
CommandRectMultiColor as declared in nk/nuklear.h:4506
func NewCommandRectMultiColor ¶
func NewCommandRectMultiColor() *CommandRectMultiColor
NewCommandRectMultiColor allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandRectMultiColorRef ¶
func NewCommandRectMultiColorRef(ref unsafe.Pointer) *CommandRectMultiColor
NewCommandRectMultiColorRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandRectMultiColor) Free ¶
func (x *CommandRectMultiColor) Free()
Free cleanups the referenced memory using C free.
func (*CommandRectMultiColor) GetBottom ¶
func (s *CommandRectMultiColor) GetBottom() *Color
GetBottom returns a reference to C object within a struct
func (*CommandRectMultiColor) GetH ¶
func (s *CommandRectMultiColor) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandRectMultiColor) GetHeader ¶
func (s *CommandRectMultiColor) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandRectMultiColor) GetLeft ¶
func (s *CommandRectMultiColor) GetLeft() *Color
GetLeft returns a reference to C object within a struct
func (*CommandRectMultiColor) GetRight ¶
func (s *CommandRectMultiColor) GetRight() *Color
GetRight returns a reference to C object within a struct
func (*CommandRectMultiColor) GetTop ¶
func (s *CommandRectMultiColor) GetTop() *Color
GetTop returns a reference to C object within a struct
func (*CommandRectMultiColor) GetW ¶
func (s *CommandRectMultiColor) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandRectMultiColor) GetX ¶
func (s *CommandRectMultiColor) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandRectMultiColor) GetY ¶
func (s *CommandRectMultiColor) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandRectMultiColor) PassRef ¶
func (x *CommandRectMultiColor) PassRef() *C.struct_nk_command_rect_multi_color
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandRectMultiColor) Ref ¶
func (x *CommandRectMultiColor) Ref() *C.struct_nk_command_rect_multi_color
Ref returns a reference to C object as it is.
type CommandScissor ¶
type CommandScissor C.struct_nk_command_scissor
CommandScissor as declared in nk/nuklear.h:4466
func NewCommandScissor ¶
func NewCommandScissor() *CommandScissor
NewCommandScissor allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandScissorRef ¶
func NewCommandScissorRef(ref unsafe.Pointer) *CommandScissor
NewCommandScissorRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandScissor) Free ¶
func (x *CommandScissor) Free()
Free cleanups the referenced memory using C free.
func (*CommandScissor) GetH ¶
func (s *CommandScissor) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandScissor) GetHeader ¶
func (s *CommandScissor) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandScissor) GetW ¶
func (s *CommandScissor) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandScissor) GetX ¶
func (s *CommandScissor) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandScissor) GetY ¶
func (s *CommandScissor) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandScissor) PassRef ¶
func (x *CommandScissor) PassRef() *C.struct_nk_command_scissor
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandScissor) Ref ¶
func (x *CommandScissor) Ref() *C.struct_nk_command_scissor
Ref returns a reference to C object as it is.
type CommandText ¶
type CommandText C.struct_nk_command_text
CommandText as declared in nk/nuklear.h:4606
func NewCommandText ¶
func NewCommandText() *CommandText
NewCommandText allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandTextRef ¶
func NewCommandTextRef(ref unsafe.Pointer) *CommandText
NewCommandTextRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandText) Free ¶
func (x *CommandText) Free()
Free cleanups the referenced memory using C free.
func (*CommandText) GetBackground ¶
func (s *CommandText) GetBackground() *Color
GetBackground returns a reference to C object within a struct
func (*CommandText) GetFont ¶
func (s *CommandText) GetFont() []*UserFont
GetFont returns a reference to C object within a struct
func (*CommandText) GetForeground ¶
func (s *CommandText) GetForeground() *Color
GetForeground returns a reference to C object within a struct
func (*CommandText) GetH ¶
func (s *CommandText) GetH() *uint16
GetH returns a reference to C object within a struct
func (*CommandText) GetHeader ¶
func (s *CommandText) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandText) GetHeight ¶
func (s *CommandText) GetHeight() *float32
GetHeight returns a reference to C object within a struct
func (*CommandText) GetLength ¶
func (s *CommandText) GetLength() *int32
GetLength returns a reference to C object within a struct
func (*CommandText) GetString ¶
func (s *CommandText) GetString() [1]byte
GetString returns a reference to C object within a struct
func (*CommandText) GetW ¶
func (s *CommandText) GetW() *uint16
GetW returns a reference to C object within a struct
func (*CommandText) GetX ¶
func (s *CommandText) GetX() *int16
GetX returns a reference to C object within a struct
func (*CommandText) GetY ¶
func (s *CommandText) GetY() *int16
GetY returns a reference to C object within a struct
func (*CommandText) PassRef ¶
func (x *CommandText) PassRef() *C.struct_nk_command_text
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandText) Ref ¶
func (x *CommandText) Ref() *C.struct_nk_command_text
Ref returns a reference to C object as it is.
type CommandTriangle ¶
type CommandTriangle C.struct_nk_command_triangle
CommandTriangle as declared in nk/nuklear.h:4516
func NewCommandTriangle ¶
func NewCommandTriangle() *CommandTriangle
NewCommandTriangle allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandTriangleRef ¶
func NewCommandTriangleRef(ref unsafe.Pointer) *CommandTriangle
NewCommandTriangleRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandTriangle) Free ¶
func (x *CommandTriangle) Free()
Free cleanups the referenced memory using C free.
func (*CommandTriangle) GetA ¶
func (s *CommandTriangle) GetA() *Vec2i
GetA returns a reference to C object within a struct
func (*CommandTriangle) GetB ¶
func (s *CommandTriangle) GetB() *Vec2i
GetB returns a reference to C object within a struct
func (*CommandTriangle) GetC ¶
func (s *CommandTriangle) GetC() *Vec2i
GetC returns a reference to C object within a struct
func (*CommandTriangle) GetColor ¶
func (s *CommandTriangle) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandTriangle) GetHeader ¶
func (s *CommandTriangle) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandTriangle) GetLineThickness ¶
func (s *CommandTriangle) GetLineThickness() *uint16
GetLineThickness returns a reference to C object within a struct
func (*CommandTriangle) PassRef ¶
func (x *CommandTriangle) PassRef() *C.struct_nk_command_triangle
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandTriangle) Ref ¶
func (x *CommandTriangle) Ref() *C.struct_nk_command_triangle
Ref returns a reference to C object as it is.
type CommandTriangleFilled ¶
type CommandTriangleFilled C.struct_nk_command_triangle_filled
CommandTriangleFilled as declared in nk/nuklear.h:4525
func NewCommandTriangleFilled ¶
func NewCommandTriangleFilled() *CommandTriangleFilled
NewCommandTriangleFilled allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCommandTriangleFilledRef ¶
func NewCommandTriangleFilledRef(ref unsafe.Pointer) *CommandTriangleFilled
NewCommandTriangleFilledRef converts the C object reference into a raw struct reference without wrapping.
func (*CommandTriangleFilled) Free ¶
func (x *CommandTriangleFilled) Free()
Free cleanups the referenced memory using C free.
func (*CommandTriangleFilled) GetA ¶
func (s *CommandTriangleFilled) GetA() *Vec2i
GetA returns a reference to C object within a struct
func (*CommandTriangleFilled) GetB ¶
func (s *CommandTriangleFilled) GetB() *Vec2i
GetB returns a reference to C object within a struct
func (*CommandTriangleFilled) GetC ¶
func (s *CommandTriangleFilled) GetC() *Vec2i
GetC returns a reference to C object within a struct
func (*CommandTriangleFilled) GetColor ¶
func (s *CommandTriangleFilled) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*CommandTriangleFilled) GetHeader ¶
func (s *CommandTriangleFilled) GetHeader() *Command
GetHeader returns a reference to C object within a struct
func (*CommandTriangleFilled) PassRef ¶
func (x *CommandTriangleFilled) PassRef() *C.struct_nk_command_triangle_filled
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*CommandTriangleFilled) Ref ¶
func (x *CommandTriangleFilled) Ref() *C.struct_nk_command_triangle_filled
Ref returns a reference to C object as it is.
type ConfigStackButtonBehavior ¶
type ConfigStackButtonBehavior C.struct_nk_config_stack_button_behavior
ConfigStackButtonBehavior as declared in nk/nuklear.h:5585
func NewConfigStackButtonBehavior ¶
func NewConfigStackButtonBehavior() *ConfigStackButtonBehavior
NewConfigStackButtonBehavior allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackButtonBehaviorRef ¶
func NewConfigStackButtonBehaviorRef(ref unsafe.Pointer) *ConfigStackButtonBehavior
NewConfigStackButtonBehaviorRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackButtonBehavior) Free ¶
func (x *ConfigStackButtonBehavior) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackButtonBehavior) GetElements ¶
func (s *ConfigStackButtonBehavior) GetElements() [8]ConfigStackButtonBehaviorElement
GetElements returns a reference to C object within a struct
func (*ConfigStackButtonBehavior) GetHead ¶
func (s *ConfigStackButtonBehavior) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackButtonBehavior) PassRef ¶
func (x *ConfigStackButtonBehavior) PassRef() *C.struct_nk_config_stack_button_behavior
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackButtonBehavior) Ref ¶
func (x *ConfigStackButtonBehavior) Ref() *C.struct_nk_config_stack_button_behavior
Ref returns a reference to C object as it is.
type ConfigStackButtonBehaviorElement ¶
type ConfigStackButtonBehaviorElement C.struct_nk_config_stack_button_behavior_element
ConfigStackButtonBehaviorElement as declared in nk/nuklear.h:5577
func NewConfigStackButtonBehaviorElement ¶
func NewConfigStackButtonBehaviorElement() *ConfigStackButtonBehaviorElement
NewConfigStackButtonBehaviorElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackButtonBehaviorElementRef ¶
func NewConfigStackButtonBehaviorElementRef(ref unsafe.Pointer) *ConfigStackButtonBehaviorElement
NewConfigStackButtonBehaviorElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackButtonBehaviorElement) Free ¶
func (x *ConfigStackButtonBehaviorElement) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackButtonBehaviorElement) PassRef ¶
func (x *ConfigStackButtonBehaviorElement) PassRef() *C.struct_nk_config_stack_button_behavior_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
type ConfigStackColor ¶
type ConfigStackColor C.struct_nk_config_stack_color
ConfigStackColor as declared in nk/nuklear.h:5583
func NewConfigStackColor ¶
func NewConfigStackColor() *ConfigStackColor
NewConfigStackColor allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackColorRef ¶
func NewConfigStackColorRef(ref unsafe.Pointer) *ConfigStackColor
NewConfigStackColorRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackColor) Free ¶
func (x *ConfigStackColor) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackColor) GetElements ¶
func (s *ConfigStackColor) GetElements() [32]ConfigStackColorElement
GetElements returns a reference to C object within a struct
func (*ConfigStackColor) GetHead ¶
func (s *ConfigStackColor) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackColor) PassRef ¶
func (x *ConfigStackColor) PassRef() *C.struct_nk_config_stack_color
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackColor) Ref ¶
func (x *ConfigStackColor) Ref() *C.struct_nk_config_stack_color
Ref returns a reference to C object as it is.
type ConfigStackColorElement ¶
type ConfigStackColorElement C.struct_nk_config_stack_color_element
ConfigStackColorElement as declared in nk/nuklear.h:5575
func NewConfigStackColorElement ¶
func NewConfigStackColorElement() *ConfigStackColorElement
NewConfigStackColorElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackColorElementRef ¶
func NewConfigStackColorElementRef(ref unsafe.Pointer) *ConfigStackColorElement
NewConfigStackColorElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackColorElement) Free ¶
func (x *ConfigStackColorElement) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackColorElement) GetAddress ¶
func (s *ConfigStackColorElement) GetAddress() **Color
GetAddress returns a reference to C object within a struct
func (*ConfigStackColorElement) GetOldValue ¶
func (s *ConfigStackColorElement) GetOldValue() *Color
GetOldValue returns a reference to C object within a struct
func (*ConfigStackColorElement) PassRef ¶
func (x *ConfigStackColorElement) PassRef() *C.struct_nk_config_stack_color_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackColorElement) Ref ¶
func (x *ConfigStackColorElement) Ref() *C.struct_nk_config_stack_color_element
Ref returns a reference to C object as it is.
type ConfigStackFlags ¶
type ConfigStackFlags C.struct_nk_config_stack_flags
ConfigStackFlags as declared in nk/nuklear.h:5582
func NewConfigStackFlags ¶
func NewConfigStackFlags() *ConfigStackFlags
NewConfigStackFlags allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackFlagsRef ¶
func NewConfigStackFlagsRef(ref unsafe.Pointer) *ConfigStackFlags
NewConfigStackFlagsRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackFlags) Free ¶
func (x *ConfigStackFlags) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackFlags) GetElements ¶
func (s *ConfigStackFlags) GetElements() [32]ConfigStackFlagsElement
GetElements returns a reference to C object within a struct
func (*ConfigStackFlags) GetHead ¶
func (s *ConfigStackFlags) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackFlags) PassRef ¶
func (x *ConfigStackFlags) PassRef() *C.struct_nk_config_stack_flags
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackFlags) Ref ¶
func (x *ConfigStackFlags) Ref() *C.struct_nk_config_stack_flags
Ref returns a reference to C object as it is.
type ConfigStackFlagsElement ¶
type ConfigStackFlagsElement C.struct_nk_config_stack_flags_element
ConfigStackFlagsElement as declared in nk/nuklear.h:5574
func NewConfigStackFlagsElement ¶
func NewConfigStackFlagsElement() *ConfigStackFlagsElement
NewConfigStackFlagsElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackFlagsElementRef ¶
func NewConfigStackFlagsElementRef(ref unsafe.Pointer) *ConfigStackFlagsElement
NewConfigStackFlagsElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackFlagsElement) Free ¶
func (x *ConfigStackFlagsElement) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackFlagsElement) GetAddress ¶
func (s *ConfigStackFlagsElement) GetAddress() **Flags
GetAddress returns a reference to C object within a struct
func (*ConfigStackFlagsElement) GetOldValue ¶
func (s *ConfigStackFlagsElement) GetOldValue() *Flags
GetOldValue returns a reference to C object within a struct
func (*ConfigStackFlagsElement) PassRef ¶
func (x *ConfigStackFlagsElement) PassRef() *C.struct_nk_config_stack_flags_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackFlagsElement) Ref ¶
func (x *ConfigStackFlagsElement) Ref() *C.struct_nk_config_stack_flags_element
Ref returns a reference to C object as it is.
type ConfigStackFloat ¶
type ConfigStackFloat C.struct_nk_config_stack_float
ConfigStackFloat as declared in nk/nuklear.h:5580
func NewConfigStackFloat ¶
func NewConfigStackFloat() *ConfigStackFloat
NewConfigStackFloat allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackFloatRef ¶
func NewConfigStackFloatRef(ref unsafe.Pointer) *ConfigStackFloat
NewConfigStackFloatRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackFloat) Free ¶
func (x *ConfigStackFloat) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackFloat) GetElements ¶
func (s *ConfigStackFloat) GetElements() [32]ConfigStackFloatElement
GetElements returns a reference to C object within a struct
func (*ConfigStackFloat) GetHead ¶
func (s *ConfigStackFloat) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackFloat) PassRef ¶
func (x *ConfigStackFloat) PassRef() *C.struct_nk_config_stack_float
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackFloat) Ref ¶
func (x *ConfigStackFloat) Ref() *C.struct_nk_config_stack_float
Ref returns a reference to C object as it is.
type ConfigStackFloatElement ¶
type ConfigStackFloatElement C.struct_nk_config_stack_float_element
ConfigStackFloatElement as declared in nk/nuklear.h:5572
func NewConfigStackFloatElement ¶
func NewConfigStackFloatElement() *ConfigStackFloatElement
NewConfigStackFloatElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackFloatElementRef ¶
func NewConfigStackFloatElementRef(ref unsafe.Pointer) *ConfigStackFloatElement
NewConfigStackFloatElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackFloatElement) Free ¶
func (x *ConfigStackFloatElement) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackFloatElement) GetAddress ¶
func (s *ConfigStackFloatElement) GetAddress() []*float32
GetAddress returns a reference to C object within a struct
func (*ConfigStackFloatElement) GetOldValue ¶
func (s *ConfigStackFloatElement) GetOldValue() *float32
GetOldValue returns a reference to C object within a struct
func (*ConfigStackFloatElement) PassRef ¶
func (x *ConfigStackFloatElement) PassRef() *C.struct_nk_config_stack_float_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackFloatElement) Ref ¶
func (x *ConfigStackFloatElement) Ref() *C.struct_nk_config_stack_float_element
Ref returns a reference to C object as it is.
type ConfigStackStyleItem ¶
type ConfigStackStyleItem C.struct_nk_config_stack_style_item
ConfigStackStyleItem as declared in nk/nuklear.h:5579
func NewConfigStackStyleItem ¶
func NewConfigStackStyleItem() *ConfigStackStyleItem
NewConfigStackStyleItem allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackStyleItemRef ¶
func NewConfigStackStyleItemRef(ref unsafe.Pointer) *ConfigStackStyleItem
NewConfigStackStyleItemRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackStyleItem) Free ¶
func (x *ConfigStackStyleItem) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackStyleItem) GetElements ¶
func (s *ConfigStackStyleItem) GetElements() [16]ConfigStackStyleItemElement
GetElements returns a reference to C object within a struct
func (*ConfigStackStyleItem) GetHead ¶
func (s *ConfigStackStyleItem) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackStyleItem) PassRef ¶
func (x *ConfigStackStyleItem) PassRef() *C.struct_nk_config_stack_style_item
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackStyleItem) Ref ¶
func (x *ConfigStackStyleItem) Ref() *C.struct_nk_config_stack_style_item
Ref returns a reference to C object as it is.
type ConfigStackStyleItemElement ¶
type ConfigStackStyleItemElement C.struct_nk_config_stack_style_item_element
ConfigStackStyleItemElement as declared in nk/nuklear.h:5571
func NewConfigStackStyleItemElement ¶
func NewConfigStackStyleItemElement() *ConfigStackStyleItemElement
NewConfigStackStyleItemElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackStyleItemElementRef ¶
func NewConfigStackStyleItemElementRef(ref unsafe.Pointer) *ConfigStackStyleItemElement
NewConfigStackStyleItemElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackStyleItemElement) Free ¶
func (x *ConfigStackStyleItemElement) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackStyleItemElement) GetAddress ¶
func (s *ConfigStackStyleItemElement) GetAddress() **StyleItem
GetAddress returns a reference to C object within a struct
func (*ConfigStackStyleItemElement) GetOldValue ¶
func (s *ConfigStackStyleItemElement) GetOldValue() *StyleItem
GetOldValue returns a reference to C object within a struct
func (*ConfigStackStyleItemElement) PassRef ¶
func (x *ConfigStackStyleItemElement) PassRef() *C.struct_nk_config_stack_style_item_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackStyleItemElement) Ref ¶
func (x *ConfigStackStyleItemElement) Ref() *C.struct_nk_config_stack_style_item_element
Ref returns a reference to C object as it is.
type ConfigStackUserFont ¶
type ConfigStackUserFont struct { Head int32 Elements [8]ConfigStackUserFontElement // contains filtered or unexported fields }
ConfigStackUserFont as declared in nk/nuklear.h:5584
func NewConfigStackUserFontRef ¶
func NewConfigStackUserFontRef(ref unsafe.Pointer) *ConfigStackUserFont
NewConfigStackUserFontRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ConfigStackUserFont) Deref ¶
func (x *ConfigStackUserFont) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ConfigStackUserFont) Free ¶
func (x *ConfigStackUserFont) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ConfigStackUserFont) PassRef ¶
func (x *ConfigStackUserFont) PassRef() (*C.struct_nk_config_stack_user_font, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ConfigStackUserFont) PassValue ¶
func (x ConfigStackUserFont) PassValue() (C.struct_nk_config_stack_user_font, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ConfigStackUserFont) Ref ¶
func (x *ConfigStackUserFont) Ref() *C.struct_nk_config_stack_user_font
Ref returns the underlying reference to C object or nil if struct is nil.
type ConfigStackUserFontElement ¶
type ConfigStackUserFontElement struct { Address [][]UserFont OldValue []UserFont // contains filtered or unexported fields }
ConfigStackUserFontElement as declared in nk/nuklear.h:5576
func NewConfigStackUserFontElementRef ¶
func NewConfigStackUserFontElementRef(ref unsafe.Pointer) *ConfigStackUserFontElement
NewConfigStackUserFontElementRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ConfigStackUserFontElement) Deref ¶
func (x *ConfigStackUserFontElement) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ConfigStackUserFontElement) Free ¶
func (x *ConfigStackUserFontElement) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ConfigStackUserFontElement) PassRef ¶
func (x *ConfigStackUserFontElement) PassRef() (*C.struct_nk_config_stack_user_font_element, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ConfigStackUserFontElement) PassValue ¶
func (x ConfigStackUserFontElement) PassValue() (C.struct_nk_config_stack_user_font_element, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ConfigStackUserFontElement) Ref ¶
func (x *ConfigStackUserFontElement) Ref() *C.struct_nk_config_stack_user_font_element
Ref returns the underlying reference to C object or nil if struct is nil.
type ConfigStackVec2 ¶
type ConfigStackVec2 C.struct_nk_config_stack_vec2
ConfigStackVec2 as declared in nk/nuklear.h:5581
func NewConfigStackVec2 ¶
func NewConfigStackVec2() *ConfigStackVec2
NewConfigStackVec2 allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackVec2Ref ¶
func NewConfigStackVec2Ref(ref unsafe.Pointer) *ConfigStackVec2
NewConfigStackVec2Ref converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackVec2) Free ¶
func (x *ConfigStackVec2) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackVec2) GetElements ¶
func (s *ConfigStackVec2) GetElements() [16]ConfigStackVec2Element
GetElements returns a reference to C object within a struct
func (*ConfigStackVec2) GetHead ¶
func (s *ConfigStackVec2) GetHead() *int32
GetHead returns a reference to C object within a struct
func (*ConfigStackVec2) PassRef ¶
func (x *ConfigStackVec2) PassRef() *C.struct_nk_config_stack_vec2
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackVec2) Ref ¶
func (x *ConfigStackVec2) Ref() *C.struct_nk_config_stack_vec2
Ref returns a reference to C object as it is.
type ConfigStackVec2Element ¶
type ConfigStackVec2Element C.struct_nk_config_stack_vec2_element
ConfigStackVec2Element as declared in nk/nuklear.h:5573
func NewConfigStackVec2Element ¶
func NewConfigStackVec2Element() *ConfigStackVec2Element
NewConfigStackVec2Element allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigStackVec2ElementRef ¶
func NewConfigStackVec2ElementRef(ref unsafe.Pointer) *ConfigStackVec2Element
NewConfigStackVec2ElementRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigStackVec2Element) Free ¶
func (x *ConfigStackVec2Element) Free()
Free cleanups the referenced memory using C free.
func (*ConfigStackVec2Element) GetAddress ¶
func (s *ConfigStackVec2Element) GetAddress() **Vec2
GetAddress returns a reference to C object within a struct
func (*ConfigStackVec2Element) GetOldValue ¶
func (s *ConfigStackVec2Element) GetOldValue() *Vec2
GetOldValue returns a reference to C object within a struct
func (*ConfigStackVec2Element) PassRef ¶
func (x *ConfigStackVec2Element) PassRef() *C.struct_nk_config_stack_vec2_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigStackVec2Element) Ref ¶
func (x *ConfigStackVec2Element) Ref() *C.struct_nk_config_stack_vec2_element
Ref returns a reference to C object as it is.
type ConfigurationStacks ¶
type ConfigurationStacks C.struct_nk_configuration_stacks
ConfigurationStacks as declared in nk/nuklear.h:5587
func NewConfigurationStacks ¶
func NewConfigurationStacks() *ConfigurationStacks
NewConfigurationStacks allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewConfigurationStacksRef ¶
func NewConfigurationStacksRef(ref unsafe.Pointer) *ConfigurationStacks
NewConfigurationStacksRef converts the C object reference into a raw struct reference without wrapping.
func (*ConfigurationStacks) Free ¶
func (x *ConfigurationStacks) Free()
Free cleanups the referenced memory using C free.
func (*ConfigurationStacks) GetButtonBehaviors ¶
func (s *ConfigurationStacks) GetButtonBehaviors() *ConfigStackButtonBehavior
GetButtonBehaviors returns a reference to C object within a struct
func (*ConfigurationStacks) GetColors ¶
func (s *ConfigurationStacks) GetColors() *ConfigStackColor
GetColors returns a reference to C object within a struct
func (*ConfigurationStacks) GetFlags ¶
func (s *ConfigurationStacks) GetFlags() *ConfigStackFlags
GetFlags returns a reference to C object within a struct
func (*ConfigurationStacks) GetFloats ¶
func (s *ConfigurationStacks) GetFloats() *ConfigStackFloat
GetFloats returns a reference to C object within a struct
func (*ConfigurationStacks) GetFonts ¶
func (s *ConfigurationStacks) GetFonts() *ConfigStackUserFont
GetFonts returns a reference to C object within a struct
func (*ConfigurationStacks) GetStyleItems ¶
func (s *ConfigurationStacks) GetStyleItems() *ConfigStackStyleItem
GetStyleItems returns a reference to C object within a struct
func (*ConfigurationStacks) GetVectors ¶
func (s *ConfigurationStacks) GetVectors() *ConfigStackVec2
GetVectors returns a reference to C object within a struct
func (*ConfigurationStacks) PassRef ¶
func (x *ConfigurationStacks) PassRef() *C.struct_nk_configuration_stacks
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ConfigurationStacks) Ref ¶
func (x *ConfigurationStacks) Ref() *C.struct_nk_configuration_stacks
Ref returns a reference to C object as it is.
type Context ¶
type Context C.struct_nk_context
Context as declared in nk/nuklear.h:459
func NewContext ¶
func NewContext() *Context
NewContext allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewContextRef ¶
NewContextRef converts the C object reference into a raw struct reference without wrapping.
func NkPlatformInit ¶
func NkPlatformInit(win *glfw.Window, opt PlatformInitOption) *Context
func (*Context) ButtonBehavior ¶
func (ctx *Context) ButtonBehavior() ButtonBehavior
func (*Context) DeltaTimeSeconds ¶
func (*Context) GetCurrent ¶
GetCurrent returns a reference to C object within a struct
func (*Context) GetDeltaTimeSeconds ¶
GetDeltaTimeSeconds returns a reference to C object within a struct
func (*Context) GetDrawList ¶
GetDrawList returns a reference to C object within a struct
func (*Context) GetFreelist ¶
func (s *Context) GetFreelist() **PageElement
GetFreelist returns a reference to C object within a struct
func (*Context) GetLastWidgetState ¶
GetLastWidgetState returns a reference to C object within a struct
func (*Context) GetOverlay ¶
func (s *Context) GetOverlay() *CommandBuffer
GetOverlay returns a reference to C object within a struct
func (*Context) GetStacks ¶
func (s *Context) GetStacks() *ConfigurationStacks
GetStacks returns a reference to C object within a struct
func (*Context) GetTextEdit ¶
GetTextEdit returns a reference to C object within a struct
func (*Context) GetUsePool ¶
GetUsePool returns a reference to C object within a struct
func (*Context) LastWidgetState ¶
func (*Context) PassRef ¶
func (x *Context) PassRef() *C.struct_nk_context
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Context) Ref ¶
func (x *Context) Ref() *C.struct_nk_context
Ref returns a reference to C object as it is.
func (*Context) SetClipboard ¶
func (ctx *Context) SetClipboard(board ClipboardPlugin)
func (*Context) Stacks ¶
func (ctx *Context) Stacks() *ConfigurationStacks
type ConvertConfig ¶
type ConvertConfig struct { GlobalAlpha float32 CircleSegmentCount uint32 ArcSegmentCount uint32 CurveSegmentCount uint32 TexNull DrawNullTexture VertexLayout []DrawVertexLayoutElement VertexSize Size VertexAlignment Size // contains filtered or unexported fields }
ConvertConfig as declared in nk/nuklear.h:453
func NewConvertConfigRef ¶
func NewConvertConfigRef(ref unsafe.Pointer) *ConvertConfig
NewConvertConfigRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*ConvertConfig) Deref ¶
func (x *ConvertConfig) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*ConvertConfig) Free ¶
func (x *ConvertConfig) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*ConvertConfig) PassRef ¶
func (x *ConvertConfig) PassRef() (*C.struct_nk_convert_config, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (ConvertConfig) PassValue ¶
func (x ConvertConfig) PassValue() (C.struct_nk_convert_config, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*ConvertConfig) Ref ¶
func (x *ConvertConfig) Ref() *C.struct_nk_convert_config
Ref returns the underlying reference to C object or nil if struct is nil.
type Cursor ¶
type Cursor C.struct_nk_cursor
Cursor as declared in nk/nuklear.h:486
func NewCursor ¶
func NewCursor() *Cursor
NewCursor allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewCursorRef ¶
NewCursorRef converts the C object reference into a raw struct reference without wrapping.
func (*Cursor) PassRef ¶
func (x *Cursor) PassRef() *C.struct_nk_cursor
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Cursor) Ref ¶
func (x *Cursor) Ref() *C.struct_nk_cursor
Ref returns a reference to C object as it is.
type DrawCommand ¶
type DrawCommand C.struct_nk_draw_command
DrawCommand as declared in nk/nuklear.h:452
func NewDrawCommand ¶
func NewDrawCommand() *DrawCommand
NewDrawCommand allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewDrawCommandRef ¶
func NewDrawCommandRef(ref unsafe.Pointer) *DrawCommand
NewDrawCommandRef converts the C object reference into a raw struct reference without wrapping.
func Nk_DrawBegin ¶
func Nk_DrawBegin(arg0 *Context, arg1 *Buffer) *DrawCommand
Nk_DrawBegin function as declared in nk/nuklear.h:1276
func Nk_DrawEnd ¶
func Nk_DrawEnd(arg0 *Context, arg1 *Buffer) *DrawCommand
Nk_DrawEnd function as declared in nk/nuklear.h:1291
func Nk_DrawListBegin ¶
func Nk_DrawListBegin(arg0 *DrawList, arg1 *Buffer) *DrawCommand
Nk_DrawListBegin function as declared in nk/nuklear.h:4829
func Nk_DrawListEnd ¶
func Nk_DrawListEnd(arg0 *DrawList, arg1 *Buffer) *DrawCommand
Nk_DrawListEnd function as declared in nk/nuklear.h:4831
func Nk_DrawListNext ¶
func Nk_DrawListNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *DrawList) *DrawCommand
Nk_DrawListNext function as declared in nk/nuklear.h:4830
func Nk_DrawNext ¶
func Nk_DrawNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *Context) *DrawCommand
Nk_DrawNext function as declared in nk/nuklear.h:1307
func (*DrawCommand) ClipRect ¶
func (cmd *DrawCommand) ClipRect() *Rect
func (*DrawCommand) ElemCount ¶
func (cmd *DrawCommand) ElemCount() int
func (*DrawCommand) Free ¶
func (x *DrawCommand) Free()
Free cleanups the referenced memory using C free.
func (*DrawCommand) GetClipRect ¶
func (s *DrawCommand) GetClipRect() *Rect
GetClipRect returns a reference to C object within a struct
func (*DrawCommand) GetElemCount ¶
func (s *DrawCommand) GetElemCount() *uint32
GetElemCount returns a reference to C object within a struct
func (*DrawCommand) GetTexture ¶
func (s *DrawCommand) GetTexture() *Handle
GetTexture returns a reference to C object within a struct
func (*DrawCommand) PassRef ¶
func (x *DrawCommand) PassRef() *C.struct_nk_draw_command
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*DrawCommand) Ref ¶
func (x *DrawCommand) Ref() *C.struct_nk_draw_command
Ref returns a reference to C object as it is.
func (*DrawCommand) Texture ¶
func (cmd *DrawCommand) Texture() Handle
type DrawList ¶
type DrawList C.struct_nk_draw_list
DrawList as declared in nk/nuklear.h:456
func NewDrawList ¶
func NewDrawList() *DrawList
NewDrawList allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewDrawListRef ¶
NewDrawListRef converts the C object reference into a raw struct reference without wrapping.
func (*DrawList) GetCircleVtx ¶
GetCircleVtx returns a reference to C object within a struct
func (*DrawList) GetClipRect ¶
GetClipRect returns a reference to C object within a struct
func (*DrawList) GetCmdCount ¶
GetCmdCount returns a reference to C object within a struct
func (*DrawList) GetCmdOffset ¶
GetCmdOffset returns a reference to C object within a struct
func (*DrawList) GetConfig ¶
func (s *DrawList) GetConfig() *ConvertConfig
GetConfig returns a reference to C object within a struct
func (*DrawList) GetElementCount ¶
GetElementCount returns a reference to C object within a struct
func (*DrawList) GetElements ¶
GetElements returns a reference to C object within a struct
func (*DrawList) GetPathCount ¶
GetPathCount returns a reference to C object within a struct
func (*DrawList) GetPathOffset ¶
GetPathOffset returns a reference to C object within a struct
func (*DrawList) GetVertexCount ¶
GetVertexCount returns a reference to C object within a struct
func (*DrawList) GetVertices ¶
GetVertices returns a reference to C object within a struct
func (*DrawList) PassRef ¶
func (x *DrawList) PassRef() *C.struct_nk_draw_list
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*DrawList) Ref ¶
func (x *DrawList) Ref() *C.struct_nk_draw_list
Ref returns a reference to C object as it is.
type DrawNullTexture ¶
type DrawNullTexture C.struct_nk_draw_null_texture
DrawNullTexture as declared in nk/nuklear.h:1170
func NewDrawNullTexture ¶
func NewDrawNullTexture() *DrawNullTexture
NewDrawNullTexture allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewDrawNullTextureRef ¶
func NewDrawNullTextureRef(ref unsafe.Pointer) *DrawNullTexture
NewDrawNullTextureRef converts the C object reference into a raw struct reference without wrapping.
func (*DrawNullTexture) Free ¶
func (x *DrawNullTexture) Free()
Free cleanups the referenced memory using C free.
func (*DrawNullTexture) GetTexture ¶
func (s *DrawNullTexture) GetTexture() *Handle
GetTexture returns a reference to C object within a struct
func (*DrawNullTexture) GetUv ¶
func (s *DrawNullTexture) GetUv() *Vec2
GetUv returns a reference to C object within a struct
func (*DrawNullTexture) PassRef ¶
func (x *DrawNullTexture) PassRef() *C.struct_nk_draw_null_texture
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*DrawNullTexture) Ref ¶
func (x *DrawNullTexture) Ref() *C.struct_nk_draw_null_texture
Ref returns a reference to C object as it is.
type DrawVertexLayoutElement ¶
type DrawVertexLayoutElement struct { Offset Size // contains filtered or unexported fields }
DrawVertexLayoutElement as declared in nk/nuklear.h:460
func NewDrawVertexLayoutElementRef ¶
func NewDrawVertexLayoutElementRef(ref unsafe.Pointer) *DrawVertexLayoutElement
NewDrawVertexLayoutElementRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*DrawVertexLayoutElement) Deref ¶
func (x *DrawVertexLayoutElement) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*DrawVertexLayoutElement) Free ¶
func (x *DrawVertexLayoutElement) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*DrawVertexLayoutElement) PassRef ¶
func (x *DrawVertexLayoutElement) PassRef() (*C.struct_nk_draw_vertex_layout_element, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (DrawVertexLayoutElement) PassValue ¶
func (x DrawVertexLayoutElement) PassValue() (C.struct_nk_draw_vertex_layout_element, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*DrawVertexLayoutElement) Ref ¶
func (x *DrawVertexLayoutElement) Ref() *C.struct_nk_draw_vertex_layout_element
Ref returns the underlying reference to C object or nil if struct is nil.
type EditState ¶
type EditState C.struct_nk_edit_state
EditState as declared in nk/nuklear.h:5452
func NewEditState ¶
func NewEditState() *EditState
NewEditState allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewEditStateRef ¶
NewEditStateRef converts the C object reference into a raw struct reference without wrapping.
func (*EditState) Free ¶
func (x *EditState) Free()
Free cleanups the referenced memory using C free.
func (*EditState) GetScrollbar ¶
GetScrollbar returns a reference to C object within a struct
func (*EditState) GetSelStart ¶
GetSelStart returns a reference to C object within a struct
func (*EditState) GetSingleLine ¶
GetSingleLine returns a reference to C object within a struct
func (*EditState) PassRef ¶
func (x *EditState) PassRef() *C.struct_nk_edit_state
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*EditState) Ref ¶
func (x *EditState) Ref() *C.struct_nk_edit_state
Ref returns a reference to C object as it is.
type Flags ¶
type Flags uint32
Flags type as declared in nk/nuklear.h:423
func NkChartPush ¶
NkChartPush function as declared in nk/nuklear.h:3492
func NkChartPushSlot ¶
NkChartPushSlot function as declared in nk/nuklear.h:3493
func NkConvert ¶
func NkConvert(arg0 *Context, cmds *Buffer, vertices *Buffer, elements *Buffer, arg4 *ConvertConfig) Flags
NkConvert function as declared in nk/nuklear.h:1261
func NkEditBuffer ¶
func NkEditBuffer(arg0 *Context, arg1 Flags, arg2 *TextEdit, arg3 PluginFilter) Flags
NkEditBuffer function as declared in nk/nuklear.h:3480
func NkEditString ¶
func NkEditString(arg0 *Context, arg1 Flags, buffer []byte, len *int32, max int32, arg5 PluginFilter) Flags
NkEditString function as declared in nk/nuklear.h:3478
func NkEditStringZeroTerminated ¶
func NkEditStringZeroTerminated(arg0 *Context, arg1 Flags, buffer []byte, max int32, arg4 PluginFilter) Flags
NkEditStringZeroTerminated function as declared in nk/nuklear.h:3479
type Font ¶
type Font C.struct_nk_font
Font as declared in nk/nuklear.h:3991
func NewFont ¶
func NewFont() *Font
NewFont allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewFontRef ¶
NewFontRef converts the C object reference into a raw struct reference without wrapping.
func NkFontAtlasAdd ¶
func NkFontAtlasAdd(arg0 *FontAtlas, arg1 *FontConfig) *Font
NkFontAtlasAdd function as declared in nk/nuklear.h:4097
func NkFontAtlasAddCompressed ¶
func NkFontAtlasAddCompressed(arg0 *FontAtlas, memory unsafe.Pointer, size Size, height float32, arg4 []FontConfig) *Font
NkFontAtlasAddCompressed function as declared in nk/nuklear.h:4105
func NkFontAtlasAddCompressedBase85 ¶
func NkFontAtlasAddCompressedBase85(arg0 *FontAtlas, data string, height float32, config *FontConfig) *Font
NkFontAtlasAddCompressedBase85 function as declared in nk/nuklear.h:4106
func NkFontAtlasAddDefault ¶
func NkFontAtlasAddDefault(arg0 *FontAtlas, height float32, arg2 *FontConfig) *Font
NkFontAtlasAddDefault function as declared in nk/nuklear.h:4099
func NkFontAtlasAddFromBytes ¶
func NkFontAtlasAddFromBytes(atlas *FontAtlas, data []byte, height float32, config *FontConfig) *Font
func NkFontAtlasAddFromFile ¶
func NkFontAtlasAddFromFile(atlas *FontAtlas, filePath string, height float32, arg3 *FontConfig) *Font
NkFontAtlasAddFromFile function as declared in nk/nuklear.h:4103
func NkFontAtlasAddFromMemory ¶
func NkFontAtlasAddFromMemory(atlas *FontAtlas, memory unsafe.Pointer, size Size, height float32, config *FontConfig) *Font
NkFontAtlasAddFromMemory function as declared in nk/nuklear.h:4101
func (*Font) GetConfig ¶
func (s *Font) GetConfig() **FontConfig
GetConfig returns a reference to C object within a struct
func (*Font) GetFallback ¶
GetFallback returns a reference to C object within a struct
func (*Font) GetFallbackCodepoint ¶
GetFallbackCodepoint returns a reference to C object within a struct
func (*Font) GetTexture ¶
GetTexture returns a reference to C object within a struct
func (*Font) PassRef ¶
func (x *Font) PassRef() *C.struct_nk_font
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Font) Ref ¶
func (x *Font) Ref() *C.struct_nk_font
Ref returns a reference to C object as it is.
type FontAtlas ¶
type FontAtlas C.struct_nk_font_atlas
FontAtlas as declared in nk/nuklear.h:4065
func NewFontAtlas ¶
func NewFontAtlas() *FontAtlas
NewFontAtlas allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewFontAtlasRef ¶
NewFontAtlasRef converts the C object reference into a raw struct reference without wrapping.
func (*FontAtlas) DefaultFont ¶
func (*FontAtlas) Free ¶
func (x *FontAtlas) Free()
Free cleanups the referenced memory using C free.
func (*FontAtlas) GetConfig ¶
func (s *FontAtlas) GetConfig() **FontConfig
GetConfig returns a reference to C object within a struct
func (*FontAtlas) GetCursors ¶
GetCursors returns a reference to C object within a struct
func (*FontAtlas) GetDefaultFont ¶
GetDefaultFont returns a reference to C object within a struct
func (*FontAtlas) GetFontNum ¶
GetFontNum returns a reference to C object within a struct
func (*FontAtlas) GetGlyphCount ¶
GetGlyphCount returns a reference to C object within a struct
func (*FontAtlas) GetPermanent ¶
GetPermanent returns a reference to C object within a struct
func (*FontAtlas) GetTemporary ¶
GetTemporary returns a reference to C object within a struct
func (*FontAtlas) GetTexHeight ¶
GetTexHeight returns a reference to C object within a struct
func (*FontAtlas) GetTexWidth ¶
GetTexWidth returns a reference to C object within a struct
func (*FontAtlas) PassRef ¶
func (x *FontAtlas) PassRef() *C.struct_nk_font_atlas
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*FontAtlas) Ref ¶
func (x *FontAtlas) Ref() *C.struct_nk_font_atlas
Ref returns a reference to C object as it is.
type FontConfig ¶
type FontConfig C.struct_nk_font_config
FontConfig as declared in nk/nuklear.h:4005
func NewFontConfig ¶
func NewFontConfig() *FontConfig
NewFontConfig allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewFontConfigRef ¶
func NewFontConfigRef(ref unsafe.Pointer) *FontConfig
NewFontConfigRef converts the C object reference into a raw struct reference without wrapping.
func NkFontConfig ¶
func NkFontConfig(pixelHeight float32) FontConfig
NkFontConfig function as declared in nk/nuklear.h:4096
func (*FontConfig) Free ¶
func (x *FontConfig) Free()
Free cleanups the referenced memory using C free.
func (*FontConfig) GetFallbackGlyph ¶
func (s *FontConfig) GetFallbackGlyph() *Rune
GetFallbackGlyph returns a reference to C object within a struct
func (*FontConfig) GetFont ¶
func (s *FontConfig) GetFont() **BakedFont
GetFont returns a reference to C object within a struct
func (*FontConfig) GetMergeMode ¶
func (s *FontConfig) GetMergeMode() *byte
GetMergeMode returns a reference to C object within a struct
func (*FontConfig) GetN ¶
func (s *FontConfig) GetN() **FontConfig
GetN returns a reference to C object within a struct
func (*FontConfig) GetNext ¶
func (s *FontConfig) GetNext() **FontConfig
GetNext returns a reference to C object within a struct
func (*FontConfig) GetOversampleH ¶
func (s *FontConfig) GetOversampleH() *byte
GetOversampleH returns a reference to C object within a struct
func (*FontConfig) GetOversampleV ¶
func (s *FontConfig) GetOversampleV() *byte
GetOversampleV returns a reference to C object within a struct
func (*FontConfig) GetP ¶
func (s *FontConfig) GetP() **FontConfig
GetP returns a reference to C object within a struct
func (*FontConfig) GetPadding ¶
func (s *FontConfig) GetPadding() [3]byte
GetPadding returns a reference to C object within a struct
func (*FontConfig) GetPixelSnap ¶
func (s *FontConfig) GetPixelSnap() *byte
GetPixelSnap returns a reference to C object within a struct
func (*FontConfig) GetRange ¶
func (s *FontConfig) GetRange() **Rune
GetRange returns a reference to C object within a struct
func (*FontConfig) GetSize ¶
func (s *FontConfig) GetSize() *float32
GetSize returns a reference to C object within a struct
func (*FontConfig) GetSpacing ¶
func (s *FontConfig) GetSpacing() *Vec2
GetSpacing returns a reference to C object within a struct
func (*FontConfig) GetTtfBlob ¶
func (s *FontConfig) GetTtfBlob() *unsafe.Pointer
GetTtfBlob returns a reference to C object within a struct
func (*FontConfig) GetTtfDataOwnedByAtlas ¶
func (s *FontConfig) GetTtfDataOwnedByAtlas() *byte
GetTtfDataOwnedByAtlas returns a reference to C object within a struct
func (*FontConfig) GetTtfSize ¶
func (s *FontConfig) GetTtfSize() *Size
GetTtfSize returns a reference to C object within a struct
func (*FontConfig) PassRef ¶
func (x *FontConfig) PassRef() *C.struct_nk_font_config
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*FontConfig) Ref ¶
func (x *FontConfig) Ref() *C.struct_nk_font_config
Ref returns a reference to C object as it is.
func (*FontConfig) SetOversample ¶
func (fc *FontConfig) SetOversample(v, h int)
func (*FontConfig) SetPixelSnap ¶
func (fc *FontConfig) SetPixelSnap(b bool)
func (*FontConfig) SetRange ¶
func (fc *FontConfig) SetRange(r *Rune)
func (*FontConfig) SetRangeGoRune ¶
func (fc *FontConfig) SetRangeGoRune(r []rune)
type FontGlyph ¶
type FontGlyph C.struct_nk_font_glyph
FontGlyph as declared in nk/nuklear.h:4041
func NewFontGlyph ¶
func NewFontGlyph() *FontGlyph
NewFontGlyph allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewFontGlyphRef ¶
NewFontGlyphRef converts the C object reference into a raw struct reference without wrapping.
func NkFontFindGlyph ¶
NkFontFindGlyph function as declared in nk/nuklear.h:4109
func (*FontGlyph) Free ¶
func (x *FontGlyph) Free()
Free cleanups the referenced memory using C free.
func (*FontGlyph) GetCodepoint ¶
GetCodepoint returns a reference to C object within a struct
func (*FontGlyph) GetXadvance ¶
GetXadvance returns a reference to C object within a struct
func (*FontGlyph) PassRef ¶
func (x *FontGlyph) PassRef() *C.struct_nk_font_glyph
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*FontGlyph) Ref ¶
func (x *FontGlyph) Ref() *C.struct_nk_font_glyph
Ref returns a reference to C object as it is.
type Handle ¶
type Handle [sizeofHandle]byte
func NkHandleId ¶
NkHandleId function as declared in nk/nuklear.h:3729
func NkHandlePtr ¶
NkHandlePtr function as declared in nk/nuklear.h:3728
type Image ¶
type Image C.struct_nk_image
Image as declared in nk/nuklear.h:484
func NewImage ¶
func NewImage() *Image
NewImage allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewImageRef ¶
NewImageRef converts the C object reference into a raw struct reference without wrapping.
func NkImageHandle ¶
NkImageHandle function as declared in nk/nuklear.h:3730
func NkImagePtr ¶
NkImagePtr function as declared in nk/nuklear.h:3731
func NkSubimageHandle ¶
NkSubimageHandle function as declared in nk/nuklear.h:3736
func NkSubimageId ¶
NkSubimageId function as declared in nk/nuklear.h:3735
func NkSubimagePtr ¶
NkSubimagePtr function as declared in nk/nuklear.h:3734
func (*Image) PassRef ¶
func (x *Image) PassRef() *C.struct_nk_image
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Image) Ref ¶
func (x *Image) Ref() *C.struct_nk_image
Ref returns a reference to C object as it is.
type Input ¶
type Input C.struct_nk_input
Input as declared in nk/nuklear.h:4690
func NewInput ¶
func NewInput() *Input
NewInput allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewInputRef ¶
NewInputRef converts the C object reference into a raw struct reference without wrapping.
func (*Input) GetKeyboard ¶
GetKeyboard returns a reference to C object within a struct
func (*Input) PassRef ¶
func (x *Input) PassRef() *C.struct_nk_input
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Input) Ref ¶
func (x *Input) Ref() *C.struct_nk_input
Ref returns a reference to C object as it is.
type Key ¶
type Key C.struct_nk_key
Key as declared in nk/nuklear.h:4680
func NewKey ¶
func NewKey() *Key
NewKey allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewKeyRef ¶
NewKeyRef converts the C object reference into a raw struct reference without wrapping.
func (*Key) GetClicked ¶
GetClicked returns a reference to C object within a struct
func (*Key) PassRef ¶
func (x *Key) PassRef() *C.struct_nk_key
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Key) Ref ¶
func (x *Key) Ref() *C.struct_nk_key
Ref returns a reference to C object as it is.
type Keyboard ¶
type Keyboard C.struct_nk_keyboard
Keyboard as declared in nk/nuklear.h:4684
func NewKeyboard ¶
func NewKeyboard() *Keyboard
NewKeyboard allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewKeyboardRef ¶
NewKeyboardRef converts the C object reference into a raw struct reference without wrapping.
func (*Keyboard) GetTextLen ¶
GetTextLen returns a reference to C object within a struct
func (*Keyboard) PassRef ¶
func (x *Keyboard) PassRef() *C.struct_nk_keyboard
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Keyboard) Ref ¶
func (x *Keyboard) Ref() *C.struct_nk_keyboard
Ref returns a reference to C object as it is.
type ListView ¶
type ListView C.struct_nk_list_view
ListView as declared in nk/nuklear.h:3060
func NewListView ¶
func NewListView() *ListView
NewListView allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewListViewRef ¶
NewListViewRef converts the C object reference into a raw struct reference without wrapping.
func (*ListView) GetScrollPointer ¶
GetScrollPointer returns a reference to C object within a struct
func (*ListView) GetScrollValue ¶
GetScrollValue returns a reference to C object within a struct
func (*ListView) GetTotalHeight ¶
GetTotalHeight returns a reference to C object within a struct
func (*ListView) PassRef ¶
func (x *ListView) PassRef() *C.struct_nk_list_view
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*ListView) Ref ¶
func (x *ListView) Ref() *C.struct_nk_list_view
Ref returns a reference to C object as it is.
type Memory ¶
type Memory C.struct_nk_memory
Memory as declared in nk/nuklear.h:4174
func NewMemory ¶
func NewMemory() *Memory
NewMemory allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewMemoryRef ¶
NewMemoryRef converts the C object reference into a raw struct reference without wrapping.
func (*Memory) PassRef ¶
func (x *Memory) PassRef() *C.struct_nk_memory
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Memory) Ref ¶
func (x *Memory) Ref() *C.struct_nk_memory
Ref returns a reference to C object as it is.
type MemoryStatus ¶
type MemoryStatus C.struct_nk_memory_status
MemoryStatus as declared in nk/nuklear.h:4149
func NewMemoryStatus ¶
func NewMemoryStatus() *MemoryStatus
NewMemoryStatus allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewMemoryStatusRef ¶
func NewMemoryStatusRef(ref unsafe.Pointer) *MemoryStatus
NewMemoryStatusRef converts the C object reference into a raw struct reference without wrapping.
func (*MemoryStatus) Free ¶
func (x *MemoryStatus) Free()
Free cleanups the referenced memory using C free.
func (*MemoryStatus) GetAllocated ¶
func (s *MemoryStatus) GetAllocated() *Size
GetAllocated returns a reference to C object within a struct
func (*MemoryStatus) GetCalls ¶
func (s *MemoryStatus) GetCalls() *Size
GetCalls returns a reference to C object within a struct
func (*MemoryStatus) GetMemory ¶
func (s *MemoryStatus) GetMemory() *unsafe.Pointer
GetMemory returns a reference to C object within a struct
func (*MemoryStatus) GetNeeded ¶
func (s *MemoryStatus) GetNeeded() *Size
GetNeeded returns a reference to C object within a struct
func (*MemoryStatus) GetSize ¶
func (s *MemoryStatus) GetSize() *Size
GetSize returns a reference to C object within a struct
func (*MemoryStatus) GetType ¶
func (s *MemoryStatus) GetType() *uint32
GetType returns a reference to C object within a struct
func (*MemoryStatus) PassRef ¶
func (x *MemoryStatus) PassRef() *C.struct_nk_memory_status
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*MemoryStatus) Ref ¶
func (x *MemoryStatus) Ref() *C.struct_nk_memory_status
Ref returns a reference to C object as it is.
type MenuState ¶
type MenuState C.struct_nk_menu_state
MenuState as declared in nk/nuklear.h:5390
func NewMenuState ¶
func NewMenuState() *MenuState
NewMenuState allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewMenuStateRef ¶
NewMenuStateRef converts the C object reference into a raw struct reference without wrapping.
func (*MenuState) Free ¶
func (x *MenuState) Free()
Free cleanups the referenced memory using C free.
func (*MenuState) PassRef ¶
func (x *MenuState) PassRef() *C.struct_nk_menu_state
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*MenuState) Ref ¶
func (x *MenuState) Ref() *C.struct_nk_menu_state
Ref returns a reference to C object as it is.
type Mouse ¶
type Mouse C.struct_nk_mouse
Mouse as declared in nk/nuklear.h:4666
func NewMouse ¶
func NewMouse() *Mouse
NewMouse allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewMouseRef ¶
NewMouseRef converts the C object reference into a raw struct reference without wrapping.
func (*Mouse) GetButtons ¶
func (s *Mouse) GetButtons() [4]MouseButton
GetButtons returns a reference to C object within a struct
func (*Mouse) GetGrabbed ¶
GetGrabbed returns a reference to C object within a struct
func (*Mouse) GetScrollDelta ¶
GetScrollDelta returns a reference to C object within a struct
func (*Mouse) PassRef ¶
func (x *Mouse) PassRef() *C.struct_nk_mouse
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Mouse) Ref ¶
func (x *Mouse) Ref() *C.struct_nk_mouse
Ref returns a reference to C object as it is.
func (*Mouse) ScrollDelta ¶
type MouseButton ¶
type MouseButton C.struct_nk_mouse_button
MouseButton as declared in nk/nuklear.h:4661
func NewMouseButton ¶
func NewMouseButton() *MouseButton
NewMouseButton allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewMouseButtonRef ¶
func NewMouseButtonRef(ref unsafe.Pointer) *MouseButton
NewMouseButtonRef converts the C object reference into a raw struct reference without wrapping.
func (*MouseButton) Free ¶
func (x *MouseButton) Free()
Free cleanups the referenced memory using C free.
func (*MouseButton) GetClicked ¶
func (s *MouseButton) GetClicked() *uint32
GetClicked returns a reference to C object within a struct
func (*MouseButton) GetClickedPos ¶
func (s *MouseButton) GetClickedPos() *Vec2
GetClickedPos returns a reference to C object within a struct
func (*MouseButton) GetDown ¶
func (s *MouseButton) GetDown() *Bool
GetDown returns a reference to C object within a struct
func (*MouseButton) PassRef ¶
func (x *MouseButton) PassRef() *C.struct_nk_mouse_button
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*MouseButton) Ref ¶
func (x *MouseButton) Ref() *C.struct_nk_mouse_button
Ref returns a reference to C object as it is.
type NineSlice ¶
type NineSlice C.struct_nk_nine_slice
NineSlice as declared in nk/nuklear.h:485
func NewNineSlice ¶
func NewNineSlice() *NineSlice
NewNineSlice allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewNineSliceRef ¶
NewNineSliceRef converts the C object reference into a raw struct reference without wrapping.
func NkNineSliceHandle ¶
NkNineSliceHandle function as declared in nk/nuklear.h:3742
func NkNineSliceId ¶
NkNineSliceId function as declared in nk/nuklear.h:3744
func NkNineSlicePtr ¶
NkNineSlicePtr function as declared in nk/nuklear.h:3743
func NkSub9sliceHandle ¶
func NkSub9sliceHandle(arg0 Handle, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
NkSub9sliceHandle function as declared in nk/nuklear.h:3748
func NkSub9sliceId ¶
func NkSub9sliceId(arg0 int32, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
NkSub9sliceId function as declared in nk/nuklear.h:3747
func NkSub9slicePtr ¶
func NkSub9slicePtr(arg0 unsafe.Pointer, w Ushort, h Ushort, subRegion Rect, l Ushort, t Ushort, r Ushort, b Ushort) NineSlice
NkSub9slicePtr function as declared in nk/nuklear.h:3746
func (*NineSlice) Free ¶
func (x *NineSlice) Free()
Free cleanups the referenced memory using C free.
func (*NineSlice) PassRef ¶
func (x *NineSlice) PassRef() *C.struct_nk_nine_slice
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*NineSlice) Ref ¶
func (x *NineSlice) Ref() *C.struct_nk_nine_slice
Ref returns a reference to C object as it is.
type NkGLFWClipbard ¶
type NkGLFWClipbard struct {
// contains filtered or unexported fields
}
func NewGLFWClipboard ¶
func NewGLFWClipboard(w *glfw.Window) *NkGLFWClipbard
func (*NkGLFWClipbard) GetText ¶
func (c *NkGLFWClipbard) GetText() (string, error)
func (*NkGLFWClipbard) SetText ¶
func (c *NkGLFWClipbard) SetText(content string)
type Page ¶
type Page C.struct_nk_page
Page as declared in nk/nuklear.h:5623
func NewPage ¶
func NewPage() *Page
NewPage allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPageRef ¶
NewPageRef converts the C object reference into a raw struct reference without wrapping.
func (*Page) GetWin ¶
func (s *Page) GetWin() [1]PageElement
GetWin returns a reference to C object within a struct
func (*Page) PassRef ¶
func (x *Page) PassRef() *C.struct_nk_page
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Page) Ref ¶
func (x *Page) Ref() *C.struct_nk_page
Ref returns a reference to C object as it is.
type PageElement ¶
type PageElement C.struct_nk_page_element
PageElement as declared in nk/nuklear.h:5617
func NewPageElement ¶
func NewPageElement() *PageElement
NewPageElement allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPageElementRef ¶
func NewPageElementRef(ref unsafe.Pointer) *PageElement
NewPageElementRef converts the C object reference into a raw struct reference without wrapping.
func (*PageElement) Free ¶
func (x *PageElement) Free()
Free cleanups the referenced memory using C free.
func (*PageElement) GetData ¶
func (s *PageElement) GetData() *PageData
GetData returns a reference to C object within a struct
func (*PageElement) GetNext ¶
func (s *PageElement) GetNext() **PageElement
GetNext returns a reference to C object within a struct
func (*PageElement) GetPrev ¶
func (s *PageElement) GetPrev() **PageElement
GetPrev returns a reference to C object within a struct
func (*PageElement) PassRef ¶
func (x *PageElement) PassRef() *C.struct_nk_page_element
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*PageElement) Ref ¶
func (x *PageElement) Ref() *C.struct_nk_page_element
Ref returns a reference to C object as it is.
type Panel ¶
type Panel C.struct_nk_panel
Panel as declared in nk/nuklear.h:458
func NewPanel ¶
func NewPanel() *Panel
NewPanel allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPanelRef ¶
NewPanelRef converts the C object reference into a raw struct reference without wrapping.
func NkWindowGetPanel ¶
NkWindowGetPanel function as declared in nk/nuklear.h:1648
func (*Panel) GetBuffer ¶
func (s *Panel) GetBuffer() **CommandBuffer
GetBuffer returns a reference to C object within a struct
func (*Panel) GetFooterHeight ¶
GetFooterHeight returns a reference to C object within a struct
func (*Panel) GetHasScrolling ¶
GetHasScrolling returns a reference to C object within a struct
func (*Panel) GetHeaderHeight ¶
GetHeaderHeight returns a reference to C object within a struct
func (*Panel) GetOffsetX ¶
GetOffsetX returns a reference to C object within a struct
func (*Panel) GetOffsetY ¶
GetOffsetY returns a reference to C object within a struct
func (*Panel) PassRef ¶
func (x *Panel) PassRef() *C.struct_nk_panel
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Panel) Ref ¶
func (x *Panel) Ref() *C.struct_nk_panel
Ref returns a reference to C object as it is.
type PlatformInitOption ¶
type PlatformInitOption int
const ( PlatformDefault PlatformInitOption = iota PlatformInstallCallbacks )
type PluginAlloc ¶
PluginAlloc type as declared in nk/nuklear.h:502
func NewPluginAllocRef ¶
func NewPluginAllocRef(ref unsafe.Pointer) *PluginAlloc
func (PluginAlloc) PassRef ¶
func (x PluginAlloc) PassRef() (ref *C.nk_plugin_alloc, allocs *cgoAllocMap)
func (PluginAlloc) PassValue ¶
func (x PluginAlloc) PassValue() (ref C.nk_plugin_alloc, allocs *cgoAllocMap)
type PluginCopy ¶
PluginCopy type as declared in nk/nuklear.h:506
func NewPluginCopyRef ¶
func NewPluginCopyRef(ref unsafe.Pointer) *PluginCopy
func (PluginCopy) PassRef ¶
func (x PluginCopy) PassRef() (ref *C.nk_plugin_copy, allocs *cgoAllocMap)
func (PluginCopy) PassValue ¶
func (x PluginCopy) PassValue() (ref C.nk_plugin_copy, allocs *cgoAllocMap)
type PluginFilter ¶
PluginFilter type as declared in nk/nuklear.h:504
func NewPluginFilterRef ¶
func NewPluginFilterRef(ref unsafe.Pointer) *PluginFilter
func (PluginFilter) PassRef ¶
func (x PluginFilter) PassRef() (ref *C.nk_plugin_filter, allocs *cgoAllocMap)
func (PluginFilter) PassValue ¶
func (x PluginFilter) PassValue() (ref C.nk_plugin_filter, allocs *cgoAllocMap)
type PluginFree ¶
PluginFree type as declared in nk/nuklear.h:503
func NewPluginFreeRef ¶
func NewPluginFreeRef(ref unsafe.Pointer) *PluginFree
func (PluginFree) PassRef ¶
func (x PluginFree) PassRef() (ref *C.nk_plugin_free, allocs *cgoAllocMap)
func (PluginFree) PassValue ¶
func (x PluginFree) PassValue() (ref C.nk_plugin_free, allocs *cgoAllocMap)
type PluginPaste ¶
PluginPaste type as declared in nk/nuklear.h:505
func NewPluginPasteRef ¶
func NewPluginPasteRef(ref unsafe.Pointer) *PluginPaste
func (PluginPaste) PassRef ¶
func (x PluginPaste) PassRef() (ref *C.nk_plugin_paste, allocs *cgoAllocMap)
func (PluginPaste) PassValue ¶
func (x PluginPaste) PassValue() (ref C.nk_plugin_paste, allocs *cgoAllocMap)
type Pool ¶
type Pool C.struct_nk_pool
Pool as declared in nk/nuklear.h:5629
func NewPool ¶
func NewPool() *Pool
NewPool allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPoolRef ¶
NewPoolRef converts the C object reference into a raw struct reference without wrapping.
func (*Pool) GetCapacity ¶
GetCapacity returns a reference to C object within a struct
func (*Pool) GetFreelist ¶
func (s *Pool) GetFreelist() **PageElement
GetFreelist returns a reference to C object within a struct
func (*Pool) GetPageCount ¶
GetPageCount returns a reference to C object within a struct
func (*Pool) PassRef ¶
func (x *Pool) PassRef() *C.struct_nk_pool
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Pool) Ref ¶
func (x *Pool) Ref() *C.struct_nk_pool
Ref returns a reference to C object as it is.
type PopupBuffer ¶
type PopupBuffer C.struct_nk_popup_buffer
PopupBuffer as declared in nk/nuklear.h:5382
func NewPopupBuffer ¶
func NewPopupBuffer() *PopupBuffer
NewPopupBuffer allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPopupBufferRef ¶
func NewPopupBufferRef(ref unsafe.Pointer) *PopupBuffer
NewPopupBufferRef converts the C object reference into a raw struct reference without wrapping.
func (*PopupBuffer) Free ¶
func (x *PopupBuffer) Free()
Free cleanups the referenced memory using C free.
func (*PopupBuffer) GetActive ¶
func (s *PopupBuffer) GetActive() *Bool
GetActive returns a reference to C object within a struct
func (*PopupBuffer) GetBegin ¶
func (s *PopupBuffer) GetBegin() *Size
GetBegin returns a reference to C object within a struct
func (*PopupBuffer) GetEnd ¶
func (s *PopupBuffer) GetEnd() *Size
GetEnd returns a reference to C object within a struct
func (*PopupBuffer) GetLast ¶
func (s *PopupBuffer) GetLast() *Size
GetLast returns a reference to C object within a struct
func (*PopupBuffer) GetParent ¶
func (s *PopupBuffer) GetParent() *Size
GetParent returns a reference to C object within a struct
func (*PopupBuffer) PassRef ¶
func (x *PopupBuffer) PassRef() *C.struct_nk_popup_buffer
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*PopupBuffer) Ref ¶
func (x *PopupBuffer) Ref() *C.struct_nk_popup_buffer
Ref returns a reference to C object as it is.
type PopupState ¶
type PopupState C.struct_nk_popup_state
PopupState as declared in nk/nuklear.h:5440
func NewPopupState ¶
func NewPopupState() *PopupState
NewPopupState allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPopupStateRef ¶
func NewPopupStateRef(ref unsafe.Pointer) *PopupState
NewPopupStateRef converts the C object reference into a raw struct reference without wrapping.
func (*PopupState) Free ¶
func (x *PopupState) Free()
Free cleanups the referenced memory using C free.
func (*PopupState) GetActive ¶
func (s *PopupState) GetActive() *Bool
GetActive returns a reference to C object within a struct
func (*PopupState) GetActiveCon ¶
func (s *PopupState) GetActiveCon() *uint32
GetActiveCon returns a reference to C object within a struct
func (*PopupState) GetBuf ¶
func (s *PopupState) GetBuf() *PopupBuffer
GetBuf returns a reference to C object within a struct
func (*PopupState) GetComboCount ¶
func (s *PopupState) GetComboCount() *uint32
GetComboCount returns a reference to C object within a struct
func (*PopupState) GetConCount ¶
func (s *PopupState) GetConCount() *uint32
GetConCount returns a reference to C object within a struct
func (*PopupState) GetConOld ¶
func (s *PopupState) GetConOld() *uint32
GetConOld returns a reference to C object within a struct
func (*PopupState) GetHeader ¶
func (s *PopupState) GetHeader() *Rect
GetHeader returns a reference to C object within a struct
func (*PopupState) GetName ¶
func (s *PopupState) GetName() *Hash
GetName returns a reference to C object within a struct
func (*PopupState) GetWin ¶
func (s *PopupState) GetWin() **Window
GetWin returns a reference to C object within a struct
func (*PopupState) PassRef ¶
func (x *PopupState) PassRef() *C.struct_nk_popup_state
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*PopupState) Ref ¶
func (x *PopupState) Ref() *C.struct_nk_popup_state
Ref returns a reference to C object as it is.
type PropertyState ¶
type PropertyState C.struct_nk_property_state
PropertyState as declared in nk/nuklear.h:5465
func NewPropertyState ¶
func NewPropertyState() *PropertyState
NewPropertyState allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewPropertyStateRef ¶
func NewPropertyStateRef(ref unsafe.Pointer) *PropertyState
NewPropertyStateRef converts the C object reference into a raw struct reference without wrapping.
func (*PropertyState) Free ¶
func (x *PropertyState) Free()
Free cleanups the referenced memory using C free.
func (*PropertyState) GetActive ¶
func (s *PropertyState) GetActive() *int32
GetActive returns a reference to C object within a struct
func (*PropertyState) GetBuffer ¶
func (s *PropertyState) GetBuffer() [64]byte
GetBuffer returns a reference to C object within a struct
func (*PropertyState) GetCursor ¶
func (s *PropertyState) GetCursor() *int32
GetCursor returns a reference to C object within a struct
func (*PropertyState) GetLength ¶
func (s *PropertyState) GetLength() *int32
GetLength returns a reference to C object within a struct
func (*PropertyState) GetName ¶
func (s *PropertyState) GetName() *Hash
GetName returns a reference to C object within a struct
func (*PropertyState) GetOld ¶
func (s *PropertyState) GetOld() *uint32
GetOld returns a reference to C object within a struct
func (*PropertyState) GetPrev ¶
func (s *PropertyState) GetPrev() *int32
GetPrev returns a reference to C object within a struct
func (*PropertyState) GetSelectEnd ¶
func (s *PropertyState) GetSelectEnd() *int32
GetSelectEnd returns a reference to C object within a struct
func (*PropertyState) GetSelectStart ¶
func (s *PropertyState) GetSelectStart() *int32
GetSelectStart returns a reference to C object within a struct
func (*PropertyState) GetSeq ¶
func (s *PropertyState) GetSeq() *uint32
GetSeq returns a reference to C object within a struct
func (*PropertyState) GetState ¶
func (s *PropertyState) GetState() *int32
GetState returns a reference to C object within a struct
func (*PropertyState) PassRef ¶
func (x *PropertyState) PassRef() *C.struct_nk_property_state
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*PropertyState) Ref ¶
func (x *PropertyState) Ref() *C.struct_nk_property_state
Ref returns a reference to C object as it is.
type QueryFontGlyphF ¶
type QueryFontGlyphF func(handle Handle, fontHeight float32, glyph *UserFontGlyph, codepoint Rune, nextCodepoint Rune)
QueryFontGlyphF type as declared in nk/nuklear.h:3953
func NewQueryFontGlyphFRef ¶
func NewQueryFontGlyphFRef(ref unsafe.Pointer) *QueryFontGlyphF
func (QueryFontGlyphF) PassRef ¶
func (x QueryFontGlyphF) PassRef() (ref *C.nk_query_font_glyph_f, allocs *cgoAllocMap)
func (QueryFontGlyphF) PassValue ¶
func (x QueryFontGlyphF) PassValue() (ref C.nk_query_font_glyph_f, allocs *cgoAllocMap)
type Rect ¶
type Rect C.struct_nk_rect
Rect as declared in nk/nuklear.h:480
func NewRect ¶
func NewRect() *Rect
NewRect allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewRectRef ¶
NewRectRef converts the C object reference into a raw struct reference without wrapping.
func NkGetNullRect ¶
func NkGetNullRect() Rect
NkGetNullRect function as declared in nk/nuklear.h:3762
func NkLayoutSpaceBounds ¶
NkLayoutSpaceBounds function as declared in nk/nuklear.h:2524
func NkLayoutSpaceRectToLocal ¶
NkLayoutSpaceRectToLocal function as declared in nk/nuklear.h:2580
func NkLayoutSpaceRectToScreen ¶
NkLayoutSpaceRectToScreen function as declared in nk/nuklear.h:2566
func NkLayoutWidgetBounds ¶
NkLayoutWidgetBounds function as declared in nk/nuklear.h:2319
func NkWidgetBounds ¶
NkWidgetBounds function as declared in nk/nuklear.h:3093
func NkWindowGetBounds ¶
NkWindowGetBounds function as declared in nk/nuklear.h:1566
func NkWindowGetContentRegion ¶
NkWindowGetContentRegion function as declared in nk/nuklear.h:1667
func (*Rect) PassRef ¶
func (x *Rect) PassRef() *C.struct_nk_rect
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Rect) Ref ¶
func (x *Rect) Ref() *C.struct_nk_rect
Ref returns a reference to C object as it is.
type Recti ¶
type Recti C.struct_nk_recti
Recti as declared in nk/nuklear.h:481
func NewRecti ¶
func NewRecti() *Recti
NewRecti allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewRectiRef ¶
NewRectiRef converts the C object reference into a raw struct reference without wrapping.
func (*Recti) PassRef ¶
func (x *Recti) PassRef() *C.struct_nk_recti
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Recti) Ref ¶
func (x *Recti) Ref() *C.struct_nk_recti
Ref returns a reference to C object as it is.
type RowLayout ¶
type RowLayout C.struct_nk_row_layout
RowLayout as declared in nk/nuklear.h:5366
func NewRowLayout ¶
func NewRowLayout() *RowLayout
NewRowLayout allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewRowLayoutRef ¶
NewRowLayoutRef converts the C object reference into a raw struct reference without wrapping.
func (*RowLayout) Free ¶
func (x *RowLayout) Free()
Free cleanups the referenced memory using C free.
func (*RowLayout) GetColumns ¶
GetColumns returns a reference to C object within a struct
func (*RowLayout) GetItemHeight ¶
GetItemHeight returns a reference to C object within a struct
func (*RowLayout) GetItemOffset ¶
GetItemOffset returns a reference to C object within a struct
func (*RowLayout) GetItemWidth ¶
GetItemWidth returns a reference to C object within a struct
func (*RowLayout) GetMinHeight ¶
GetMinHeight returns a reference to C object within a struct
func (*RowLayout) GetTemplates ¶
GetTemplates returns a reference to C object within a struct
func (*RowLayout) GetTreeDepth ¶
GetTreeDepth returns a reference to C object within a struct
func (*RowLayout) PassRef ¶
func (x *RowLayout) PassRef() *C.struct_nk_row_layout
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*RowLayout) Ref ¶
func (x *RowLayout) Ref() *C.struct_nk_row_layout
Ref returns a reference to C object as it is.
type Rune ¶
type Rune uint32
Rune type as declared in nk/nuklear.h:424
func NkFontChineseGlyphRanges ¶
func NkFontChineseGlyphRanges() *Rune
NkFontChineseGlyphRanges function as declared in nk/nuklear.h:4086
func NkFontCyrillicGlyphRanges ¶
func NkFontCyrillicGlyphRanges() *Rune
NkFontCyrillicGlyphRanges function as declared in nk/nuklear.h:4087
func NkFontDefaultGlyphRanges ¶
func NkFontDefaultGlyphRanges() *Rune
NkFontDefaultGlyphRanges function as declared in nk/nuklear.h:4085
func NkFontKoreanGlyphRanges ¶
func NkFontKoreanGlyphRanges() *Rune
NkFontKoreanGlyphRanges function as declared in nk/nuklear.h:4088
func NkStrRuneAt ¶
NkStrRuneAt function as declared in nk/nuklear.h:4258
type Scroll ¶
type Scroll C.struct_nk_scroll
Scroll as declared in nk/nuklear.h:487
func NewScroll ¶
func NewScroll() *Scroll
NewScroll allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewScrollRef ¶
NewScrollRef converts the C object reference into a raw struct reference without wrapping.
func (*Scroll) PassRef ¶
func (x *Scroll) PassRef() *C.struct_nk_scroll
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Scroll) Ref ¶
func (x *Scroll) Ref() *C.struct_nk_scroll
Ref returns a reference to C object as it is.
type Size ¶
type Size uint64
Size type as declared in nk/nuklear.h:418
func NkBufferTotal ¶
NkBufferTotal function as declared in nk/nuklear.h:4209
type Str ¶
type Str C.struct_nk_str
Str as declared in nk/nuklear.h:4221
func NewStr ¶
func NewStr() *Str
NewStr allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStrRef ¶
NewStrRef converts the C object reference into a raw struct reference without wrapping.
func (*Str) PassRef ¶
func (x *Str) PassRef() *C.struct_nk_str
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Str) Ref ¶
func (x *Str) Ref() *C.struct_nk_str
Ref returns a reference to C object as it is.
type Style ¶
type Style C.struct_nk_style
Style as declared in nk/nuklear.h:5281
func NewStyle ¶
func NewStyle() *Style
NewStyle allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleRef ¶
NewStyleRef converts the C object reference into a raw struct reference without wrapping.
func (*Style) GetButton ¶
func (s *Style) GetButton() *StyleButton
GetButton returns a reference to C object within a struct
func (*Style) GetChart ¶
func (s *Style) GetChart() *StyleChart
GetChart returns a reference to C object within a struct
func (*Style) GetCheckbox ¶
func (s *Style) GetCheckbox() *StyleToggle
GetCheckbox returns a reference to C object within a struct
func (*Style) GetCombo ¶
func (s *Style) GetCombo() *StyleCombo
GetCombo returns a reference to C object within a struct
func (*Style) GetContextualButton ¶
func (s *Style) GetContextualButton() *StyleButton
GetContextualButton returns a reference to C object within a struct
func (*Style) GetCursorActive ¶
GetCursorActive returns a reference to C object within a struct
func (*Style) GetCursorLast ¶
GetCursorLast returns a reference to C object within a struct
func (*Style) GetCursorVisible ¶
GetCursorVisible returns a reference to C object within a struct
func (*Style) GetCursors ¶
GetCursors returns a reference to C object within a struct
func (*Style) GetMenuButton ¶
func (s *Style) GetMenuButton() *StyleButton
GetMenuButton returns a reference to C object within a struct
func (*Style) GetOption ¶
func (s *Style) GetOption() *StyleToggle
GetOption returns a reference to C object within a struct
func (*Style) GetProgress ¶
func (s *Style) GetProgress() *StyleProgress
GetProgress returns a reference to C object within a struct
func (*Style) GetProperty ¶
func (s *Style) GetProperty() *StyleProperty
GetProperty returns a reference to C object within a struct
func (*Style) GetScrollh ¶
func (s *Style) GetScrollh() *StyleScrollbar
GetScrollh returns a reference to C object within a struct
func (*Style) GetScrollv ¶
func (s *Style) GetScrollv() *StyleScrollbar
GetScrollv returns a reference to C object within a struct
func (*Style) GetSelectable ¶
func (s *Style) GetSelectable() *StyleSelectable
GetSelectable returns a reference to C object within a struct
func (*Style) GetSlider ¶
func (s *Style) GetSlider() *StyleSlider
GetSlider returns a reference to C object within a struct
func (*Style) GetWindow ¶
func (s *Style) GetWindow() *StyleWindow
GetWindow returns a reference to C object within a struct
func (*Style) PassRef ¶
func (x *Style) PassRef() *C.struct_nk_style
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Style) Ref ¶
func (x *Style) Ref() *C.struct_nk_style
Ref returns a reference to C object as it is.
func (*Style) Window ¶
func (s *Style) Window() *StyleWindow
type StyleButton ¶
type StyleButton C.struct_nk_style_button
StyleButton as declared in nk/nuklear.h:461
func NewStyleButton ¶
func NewStyleButton() *StyleButton
NewStyleButton allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleButtonRef ¶
func NewStyleButtonRef(ref unsafe.Pointer) *StyleButton
NewStyleButtonRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleButton) Free ¶
func (x *StyleButton) Free()
Free cleanups the referenced memory using C free.
func (*StyleButton) GetActive ¶
func (s *StyleButton) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleButton) GetBorder ¶
func (s *StyleButton) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleButton) GetBorderColor ¶
func (s *StyleButton) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleButton) GetHover ¶
func (s *StyleButton) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleButton) GetImagePadding ¶
func (s *StyleButton) GetImagePadding() *Vec2
GetImagePadding returns a reference to C object within a struct
func (*StyleButton) GetNormal ¶
func (s *StyleButton) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleButton) GetPadding ¶
func (s *StyleButton) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleButton) GetRounding ¶
func (s *StyleButton) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleButton) GetTextActive ¶
func (s *StyleButton) GetTextActive() *Color
GetTextActive returns a reference to C object within a struct
func (*StyleButton) GetTextAlignment ¶
func (s *StyleButton) GetTextAlignment() *Flags
GetTextAlignment returns a reference to C object within a struct
func (*StyleButton) GetTextBackground ¶
func (s *StyleButton) GetTextBackground() *Color
GetTextBackground returns a reference to C object within a struct
func (*StyleButton) GetTextHover ¶
func (s *StyleButton) GetTextHover() *Color
GetTextHover returns a reference to C object within a struct
func (*StyleButton) GetTextNormal ¶
func (s *StyleButton) GetTextNormal() *Color
GetTextNormal returns a reference to C object within a struct
func (*StyleButton) GetTouchPadding ¶
func (s *StyleButton) GetTouchPadding() *Vec2
GetTouchPadding returns a reference to C object within a struct
func (*StyleButton) GetUserdata ¶
func (s *StyleButton) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleButton) PassRef ¶
func (x *StyleButton) PassRef() *C.struct_nk_style_button
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleButton) Ref ¶
func (x *StyleButton) Ref() *C.struct_nk_style_button
Ref returns a reference to C object as it is.
type StyleChart ¶
type StyleChart C.struct_nk_style_chart
StyleChart as declared in nk/nuklear.h:469
func NewStyleChart ¶
func NewStyleChart() *StyleChart
NewStyleChart allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleChartRef ¶
func NewStyleChartRef(ref unsafe.Pointer) *StyleChart
NewStyleChartRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleChart) Free ¶
func (x *StyleChart) Free()
Free cleanups the referenced memory using C free.
func (*StyleChart) GetBackground ¶
func (s *StyleChart) GetBackground() *StyleItem
GetBackground returns a reference to C object within a struct
func (*StyleChart) GetBorder ¶
func (s *StyleChart) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleChart) GetBorderColor ¶
func (s *StyleChart) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleChart) GetColor ¶
func (s *StyleChart) GetColor() *Color
GetColor returns a reference to C object within a struct
func (*StyleChart) GetPadding ¶
func (s *StyleChart) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleChart) GetRounding ¶
func (s *StyleChart) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleChart) GetSelectedColor ¶
func (s *StyleChart) GetSelectedColor() *Color
GetSelectedColor returns a reference to C object within a struct
func (*StyleChart) PassRef ¶
func (x *StyleChart) PassRef() *C.struct_nk_style_chart
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleChart) Ref ¶
func (x *StyleChart) Ref() *C.struct_nk_style_chart
Ref returns a reference to C object as it is.
type StyleCombo ¶
type StyleCombo C.struct_nk_style_combo
StyleCombo as declared in nk/nuklear.h:470
func NewStyleCombo ¶
func NewStyleCombo() *StyleCombo
NewStyleCombo allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleComboRef ¶
func NewStyleComboRef(ref unsafe.Pointer) *StyleCombo
NewStyleComboRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleCombo) Free ¶
func (x *StyleCombo) Free()
Free cleanups the referenced memory using C free.
func (*StyleCombo) GetActive ¶
func (s *StyleCombo) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleCombo) GetBorder ¶
func (s *StyleCombo) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleCombo) GetBorderColor ¶
func (s *StyleCombo) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleCombo) GetButton ¶
func (s *StyleCombo) GetButton() *StyleButton
GetButton returns a reference to C object within a struct
func (*StyleCombo) GetButtonPadding ¶
func (s *StyleCombo) GetButtonPadding() *Vec2
GetButtonPadding returns a reference to C object within a struct
func (*StyleCombo) GetContentPadding ¶
func (s *StyleCombo) GetContentPadding() *Vec2
GetContentPadding returns a reference to C object within a struct
func (*StyleCombo) GetHover ¶
func (s *StyleCombo) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleCombo) GetLabelActive ¶
func (s *StyleCombo) GetLabelActive() *Color
GetLabelActive returns a reference to C object within a struct
func (*StyleCombo) GetLabelHover ¶
func (s *StyleCombo) GetLabelHover() *Color
GetLabelHover returns a reference to C object within a struct
func (*StyleCombo) GetLabelNormal ¶
func (s *StyleCombo) GetLabelNormal() *Color
GetLabelNormal returns a reference to C object within a struct
func (*StyleCombo) GetNormal ¶
func (s *StyleCombo) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleCombo) GetRounding ¶
func (s *StyleCombo) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleCombo) GetSpacing ¶
func (s *StyleCombo) GetSpacing() *Vec2
GetSpacing returns a reference to C object within a struct
func (*StyleCombo) GetSymbolActive ¶
func (s *StyleCombo) GetSymbolActive() *Color
GetSymbolActive returns a reference to C object within a struct
func (*StyleCombo) GetSymbolHover ¶
func (s *StyleCombo) GetSymbolHover() *Color
GetSymbolHover returns a reference to C object within a struct
func (*StyleCombo) GetSymbolNormal ¶
func (s *StyleCombo) GetSymbolNormal() *Color
GetSymbolNormal returns a reference to C object within a struct
func (*StyleCombo) PassRef ¶
func (x *StyleCombo) PassRef() *C.struct_nk_style_combo
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleCombo) Ref ¶
func (x *StyleCombo) Ref() *C.struct_nk_style_combo
Ref returns a reference to C object as it is.
type StyleEdit ¶
type StyleEdit C.struct_nk_style_edit
StyleEdit as declared in nk/nuklear.h:467
func NewStyleEdit ¶
func NewStyleEdit() *StyleEdit
NewStyleEdit allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleEditRef ¶
NewStyleEditRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleEdit) Free ¶
func (x *StyleEdit) Free()
Free cleanups the referenced memory using C free.
func (*StyleEdit) GetBorderColor ¶
GetBorderColor returns a reference to C object within a struct
func (*StyleEdit) GetCursorHover ¶
GetCursorHover returns a reference to C object within a struct
func (*StyleEdit) GetCursorNormal ¶
GetCursorNormal returns a reference to C object within a struct
func (*StyleEdit) GetCursorSize ¶
GetCursorSize returns a reference to C object within a struct
func (*StyleEdit) GetCursorTextHover ¶
GetCursorTextHover returns a reference to C object within a struct
func (*StyleEdit) GetCursorTextNormal ¶
GetCursorTextNormal returns a reference to C object within a struct
func (*StyleEdit) GetPadding ¶
GetPadding returns a reference to C object within a struct
func (*StyleEdit) GetRounding ¶
GetRounding returns a reference to C object within a struct
func (*StyleEdit) GetRowPadding ¶
GetRowPadding returns a reference to C object within a struct
func (*StyleEdit) GetScrollbar ¶
func (s *StyleEdit) GetScrollbar() *StyleScrollbar
GetScrollbar returns a reference to C object within a struct
func (*StyleEdit) GetScrollbarSize ¶
GetScrollbarSize returns a reference to C object within a struct
func (*StyleEdit) GetSelectedHover ¶
GetSelectedHover returns a reference to C object within a struct
func (*StyleEdit) GetSelectedNormal ¶
GetSelectedNormal returns a reference to C object within a struct
func (*StyleEdit) GetSelectedTextHover ¶
GetSelectedTextHover returns a reference to C object within a struct
func (*StyleEdit) GetSelectedTextNormal ¶
GetSelectedTextNormal returns a reference to C object within a struct
func (*StyleEdit) GetTextActive ¶
GetTextActive returns a reference to C object within a struct
func (*StyleEdit) GetTextHover ¶
GetTextHover returns a reference to C object within a struct
func (*StyleEdit) GetTextNormal ¶
GetTextNormal returns a reference to C object within a struct
func (*StyleEdit) PassRef ¶
func (x *StyleEdit) PassRef() *C.struct_nk_style_edit
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleEdit) Ref ¶
func (x *StyleEdit) Ref() *C.struct_nk_style_edit
Ref returns a reference to C object as it is.
type StyleItem ¶
type StyleItem C.struct_nk_style_item
StyleItem as declared in nk/nuklear.h:454
func NewStyleItem ¶
func NewStyleItem() *StyleItem
NewStyleItem allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleItemRef ¶
NewStyleItemRef converts the C object reference into a raw struct reference without wrapping.
func NkStyleItemColor ¶
NkStyleItemColor function as declared in nk/nuklear.h:5307
func NkStyleItemHide ¶
func NkStyleItemHide() StyleItem
NkStyleItemHide function as declared in nk/nuklear.h:5310
func NkStyleItemImage ¶
NkStyleItemImage function as declared in nk/nuklear.h:5308
func NkStyleItemNineSlice ¶
NkStyleItemNineSlice function as declared in nk/nuklear.h:5309
func (*StyleItem) Free ¶
func (x *StyleItem) Free()
Free cleanups the referenced memory using C free.
func (*StyleItem) GetData ¶
func (s *StyleItem) GetData() *StyleItemData
GetData returns a reference to C object within a struct
func (*StyleItem) PassRef ¶
func (x *StyleItem) PassRef() *C.struct_nk_style_item
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleItem) Ref ¶
func (x *StyleItem) Ref() *C.struct_nk_style_item
Ref returns a reference to C object as it is.
type StyleItemData ¶
type StyleItemData [sizeofStyleItemData]byte
type StyleProgress ¶
type StyleProgress C.struct_nk_style_progress
StyleProgress as declared in nk/nuklear.h:465
func NewStyleProgress ¶
func NewStyleProgress() *StyleProgress
NewStyleProgress allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleProgressRef ¶
func NewStyleProgressRef(ref unsafe.Pointer) *StyleProgress
NewStyleProgressRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleProgress) Free ¶
func (x *StyleProgress) Free()
Free cleanups the referenced memory using C free.
func (*StyleProgress) GetActive ¶
func (s *StyleProgress) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleProgress) GetBorder ¶
func (s *StyleProgress) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleProgress) GetBorderColor ¶
func (s *StyleProgress) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleProgress) GetCursorActive ¶
func (s *StyleProgress) GetCursorActive() *StyleItem
GetCursorActive returns a reference to C object within a struct
func (*StyleProgress) GetCursorBorder ¶
func (s *StyleProgress) GetCursorBorder() *float32
GetCursorBorder returns a reference to C object within a struct
func (*StyleProgress) GetCursorBorderColor ¶
func (s *StyleProgress) GetCursorBorderColor() *Color
GetCursorBorderColor returns a reference to C object within a struct
func (*StyleProgress) GetCursorHover ¶
func (s *StyleProgress) GetCursorHover() *StyleItem
GetCursorHover returns a reference to C object within a struct
func (*StyleProgress) GetCursorNormal ¶
func (s *StyleProgress) GetCursorNormal() *StyleItem
GetCursorNormal returns a reference to C object within a struct
func (*StyleProgress) GetCursorRounding ¶
func (s *StyleProgress) GetCursorRounding() *float32
GetCursorRounding returns a reference to C object within a struct
func (*StyleProgress) GetHover ¶
func (s *StyleProgress) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleProgress) GetNormal ¶
func (s *StyleProgress) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleProgress) GetPadding ¶
func (s *StyleProgress) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleProgress) GetRounding ¶
func (s *StyleProgress) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleProgress) GetUserdata ¶
func (s *StyleProgress) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleProgress) PassRef ¶
func (x *StyleProgress) PassRef() *C.struct_nk_style_progress
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleProgress) Ref ¶
func (x *StyleProgress) Ref() *C.struct_nk_style_progress
Ref returns a reference to C object as it is.
type StyleProperty ¶
type StyleProperty C.struct_nk_style_property
StyleProperty as declared in nk/nuklear.h:468
func NewStyleProperty ¶
func NewStyleProperty() *StyleProperty
NewStyleProperty allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStylePropertyRef ¶
func NewStylePropertyRef(ref unsafe.Pointer) *StyleProperty
NewStylePropertyRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleProperty) Free ¶
func (x *StyleProperty) Free()
Free cleanups the referenced memory using C free.
func (*StyleProperty) GetActive ¶
func (s *StyleProperty) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleProperty) GetBorder ¶
func (s *StyleProperty) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleProperty) GetBorderColor ¶
func (s *StyleProperty) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleProperty) GetDecButton ¶
func (s *StyleProperty) GetDecButton() *StyleButton
GetDecButton returns a reference to C object within a struct
func (*StyleProperty) GetEdit ¶
func (s *StyleProperty) GetEdit() *StyleEdit
GetEdit returns a reference to C object within a struct
func (*StyleProperty) GetHover ¶
func (s *StyleProperty) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleProperty) GetIncButton ¶
func (s *StyleProperty) GetIncButton() *StyleButton
GetIncButton returns a reference to C object within a struct
func (*StyleProperty) GetLabelActive ¶
func (s *StyleProperty) GetLabelActive() *Color
GetLabelActive returns a reference to C object within a struct
func (*StyleProperty) GetLabelHover ¶
func (s *StyleProperty) GetLabelHover() *Color
GetLabelHover returns a reference to C object within a struct
func (*StyleProperty) GetLabelNormal ¶
func (s *StyleProperty) GetLabelNormal() *Color
GetLabelNormal returns a reference to C object within a struct
func (*StyleProperty) GetNormal ¶
func (s *StyleProperty) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleProperty) GetPadding ¶
func (s *StyleProperty) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleProperty) GetRounding ¶
func (s *StyleProperty) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleProperty) GetUserdata ¶
func (s *StyleProperty) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleProperty) PassRef ¶
func (x *StyleProperty) PassRef() *C.struct_nk_style_property
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleProperty) Ref ¶
func (x *StyleProperty) Ref() *C.struct_nk_style_property
Ref returns a reference to C object as it is.
type StyleScrollbar ¶
type StyleScrollbar C.struct_nk_style_scrollbar
StyleScrollbar as declared in nk/nuklear.h:466
func NewStyleScrollbar ¶
func NewStyleScrollbar() *StyleScrollbar
NewStyleScrollbar allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleScrollbarRef ¶
func NewStyleScrollbarRef(ref unsafe.Pointer) *StyleScrollbar
NewStyleScrollbarRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleScrollbar) Free ¶
func (x *StyleScrollbar) Free()
Free cleanups the referenced memory using C free.
func (*StyleScrollbar) GetActive ¶
func (s *StyleScrollbar) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleScrollbar) GetBorder ¶
func (s *StyleScrollbar) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleScrollbar) GetBorderColor ¶
func (s *StyleScrollbar) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleScrollbar) GetBorderCursor ¶
func (s *StyleScrollbar) GetBorderCursor() *float32
GetBorderCursor returns a reference to C object within a struct
func (*StyleScrollbar) GetCursorActive ¶
func (s *StyleScrollbar) GetCursorActive() *StyleItem
GetCursorActive returns a reference to C object within a struct
func (*StyleScrollbar) GetCursorBorderColor ¶
func (s *StyleScrollbar) GetCursorBorderColor() *Color
GetCursorBorderColor returns a reference to C object within a struct
func (*StyleScrollbar) GetCursorHover ¶
func (s *StyleScrollbar) GetCursorHover() *StyleItem
GetCursorHover returns a reference to C object within a struct
func (*StyleScrollbar) GetCursorNormal ¶
func (s *StyleScrollbar) GetCursorNormal() *StyleItem
GetCursorNormal returns a reference to C object within a struct
func (*StyleScrollbar) GetDecButton ¶
func (s *StyleScrollbar) GetDecButton() *StyleButton
GetDecButton returns a reference to C object within a struct
func (*StyleScrollbar) GetHover ¶
func (s *StyleScrollbar) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleScrollbar) GetIncButton ¶
func (s *StyleScrollbar) GetIncButton() *StyleButton
GetIncButton returns a reference to C object within a struct
func (*StyleScrollbar) GetNormal ¶
func (s *StyleScrollbar) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleScrollbar) GetPadding ¶
func (s *StyleScrollbar) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleScrollbar) GetRounding ¶
func (s *StyleScrollbar) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleScrollbar) GetRoundingCursor ¶
func (s *StyleScrollbar) GetRoundingCursor() *float32
GetRoundingCursor returns a reference to C object within a struct
func (*StyleScrollbar) GetShowButtons ¶
func (s *StyleScrollbar) GetShowButtons() *int32
GetShowButtons returns a reference to C object within a struct
func (*StyleScrollbar) GetUserdata ¶
func (s *StyleScrollbar) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleScrollbar) PassRef ¶
func (x *StyleScrollbar) PassRef() *C.struct_nk_style_scrollbar
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleScrollbar) Ref ¶
func (x *StyleScrollbar) Ref() *C.struct_nk_style_scrollbar
Ref returns a reference to C object as it is.
type StyleSelectable ¶
type StyleSelectable C.struct_nk_style_selectable
StyleSelectable as declared in nk/nuklear.h:463
func NewStyleSelectable ¶
func NewStyleSelectable() *StyleSelectable
NewStyleSelectable allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleSelectableRef ¶
func NewStyleSelectableRef(ref unsafe.Pointer) *StyleSelectable
NewStyleSelectableRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleSelectable) Free ¶
func (x *StyleSelectable) Free()
Free cleanups the referenced memory using C free.
func (*StyleSelectable) GetHover ¶
func (s *StyleSelectable) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleSelectable) GetHoverActive ¶
func (s *StyleSelectable) GetHoverActive() *StyleItem
GetHoverActive returns a reference to C object within a struct
func (*StyleSelectable) GetImagePadding ¶
func (s *StyleSelectable) GetImagePadding() *Vec2
GetImagePadding returns a reference to C object within a struct
func (*StyleSelectable) GetNormal ¶
func (s *StyleSelectable) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleSelectable) GetNormalActive ¶
func (s *StyleSelectable) GetNormalActive() *StyleItem
GetNormalActive returns a reference to C object within a struct
func (*StyleSelectable) GetPadding ¶
func (s *StyleSelectable) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleSelectable) GetPressed ¶
func (s *StyleSelectable) GetPressed() *StyleItem
GetPressed returns a reference to C object within a struct
func (*StyleSelectable) GetPressedActive ¶
func (s *StyleSelectable) GetPressedActive() *StyleItem
GetPressedActive returns a reference to C object within a struct
func (*StyleSelectable) GetRounding ¶
func (s *StyleSelectable) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleSelectable) GetTextAlignment ¶
func (s *StyleSelectable) GetTextAlignment() *Flags
GetTextAlignment returns a reference to C object within a struct
func (*StyleSelectable) GetTextBackground ¶
func (s *StyleSelectable) GetTextBackground() *Color
GetTextBackground returns a reference to C object within a struct
func (*StyleSelectable) GetTextHover ¶
func (s *StyleSelectable) GetTextHover() *Color
GetTextHover returns a reference to C object within a struct
func (*StyleSelectable) GetTextHoverActive ¶
func (s *StyleSelectable) GetTextHoverActive() *Color
GetTextHoverActive returns a reference to C object within a struct
func (*StyleSelectable) GetTextNormal ¶
func (s *StyleSelectable) GetTextNormal() *Color
GetTextNormal returns a reference to C object within a struct
func (*StyleSelectable) GetTextNormalActive ¶
func (s *StyleSelectable) GetTextNormalActive() *Color
GetTextNormalActive returns a reference to C object within a struct
func (*StyleSelectable) GetTextPressed ¶
func (s *StyleSelectable) GetTextPressed() *Color
GetTextPressed returns a reference to C object within a struct
func (*StyleSelectable) GetTextPressedActive ¶
func (s *StyleSelectable) GetTextPressedActive() *Color
GetTextPressedActive returns a reference to C object within a struct
func (*StyleSelectable) GetTouchPadding ¶
func (s *StyleSelectable) GetTouchPadding() *Vec2
GetTouchPadding returns a reference to C object within a struct
func (*StyleSelectable) GetUserdata ¶
func (s *StyleSelectable) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleSelectable) PassRef ¶
func (x *StyleSelectable) PassRef() *C.struct_nk_style_selectable
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleSelectable) Ref ¶
func (x *StyleSelectable) Ref() *C.struct_nk_style_selectable
Ref returns a reference to C object as it is.
type StyleSlide ¶
type StyleSlide C.struct_nk_style_slide
StyleSlide as declared in nk/nuklear.h:464
func NewStyleSlide ¶
func NewStyleSlide() *StyleSlide
NewStyleSlide allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleSlideRef ¶
func NewStyleSlideRef(ref unsafe.Pointer) *StyleSlide
NewStyleSlideRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleSlide) Free ¶
func (x *StyleSlide) Free()
Free cleanups the referenced memory using C free.
func (*StyleSlide) PassRef ¶
func (x *StyleSlide) PassRef() *C.struct_nk_style_slide
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleSlide) Ref ¶
func (x *StyleSlide) Ref() *C.struct_nk_style_slide
Ref returns a reference to C object as it is.
type StyleSlider ¶
type StyleSlider C.struct_nk_style_slider
StyleSlider as declared in nk/nuklear.h:4986
func NewStyleSlider ¶
func NewStyleSlider() *StyleSlider
NewStyleSlider allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleSliderRef ¶
func NewStyleSliderRef(ref unsafe.Pointer) *StyleSlider
NewStyleSliderRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleSlider) Free ¶
func (x *StyleSlider) Free()
Free cleanups the referenced memory using C free.
func (*StyleSlider) GetActive ¶
func (s *StyleSlider) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleSlider) GetBarActive ¶
func (s *StyleSlider) GetBarActive() *Color
GetBarActive returns a reference to C object within a struct
func (*StyleSlider) GetBarFilled ¶
func (s *StyleSlider) GetBarFilled() *Color
GetBarFilled returns a reference to C object within a struct
func (*StyleSlider) GetBarHeight ¶
func (s *StyleSlider) GetBarHeight() *float32
GetBarHeight returns a reference to C object within a struct
func (*StyleSlider) GetBarHover ¶
func (s *StyleSlider) GetBarHover() *Color
GetBarHover returns a reference to C object within a struct
func (*StyleSlider) GetBarNormal ¶
func (s *StyleSlider) GetBarNormal() *Color
GetBarNormal returns a reference to C object within a struct
func (*StyleSlider) GetBorder ¶
func (s *StyleSlider) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleSlider) GetBorderColor ¶
func (s *StyleSlider) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleSlider) GetCursorActive ¶
func (s *StyleSlider) GetCursorActive() *StyleItem
GetCursorActive returns a reference to C object within a struct
func (*StyleSlider) GetCursorHover ¶
func (s *StyleSlider) GetCursorHover() *StyleItem
GetCursorHover returns a reference to C object within a struct
func (*StyleSlider) GetCursorNormal ¶
func (s *StyleSlider) GetCursorNormal() *StyleItem
GetCursorNormal returns a reference to C object within a struct
func (*StyleSlider) GetCursorSize ¶
func (s *StyleSlider) GetCursorSize() *Vec2
GetCursorSize returns a reference to C object within a struct
func (*StyleSlider) GetDecButton ¶
func (s *StyleSlider) GetDecButton() *StyleButton
GetDecButton returns a reference to C object within a struct
func (*StyleSlider) GetHover ¶
func (s *StyleSlider) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleSlider) GetIncButton ¶
func (s *StyleSlider) GetIncButton() *StyleButton
GetIncButton returns a reference to C object within a struct
func (*StyleSlider) GetNormal ¶
func (s *StyleSlider) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleSlider) GetPadding ¶
func (s *StyleSlider) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleSlider) GetRounding ¶
func (s *StyleSlider) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleSlider) GetShowButtons ¶
func (s *StyleSlider) GetShowButtons() *int32
GetShowButtons returns a reference to C object within a struct
func (*StyleSlider) GetSpacing ¶
func (s *StyleSlider) GetSpacing() *Vec2
GetSpacing returns a reference to C object within a struct
func (*StyleSlider) GetUserdata ¶
func (s *StyleSlider) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleSlider) PassRef ¶
func (x *StyleSlider) PassRef() *C.struct_nk_style_slider
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleSlider) Ref ¶
func (x *StyleSlider) Ref() *C.struct_nk_style_slider
Ref returns a reference to C object as it is.
type StyleTab ¶
type StyleTab C.struct_nk_style_tab
StyleTab as declared in nk/nuklear.h:471
func NewStyleTab ¶
func NewStyleTab() *StyleTab
NewStyleTab allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleTabRef ¶
NewStyleTabRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleTab) GetBackground ¶
GetBackground returns a reference to C object within a struct
func (*StyleTab) GetBorderColor ¶
GetBorderColor returns a reference to C object within a struct
func (*StyleTab) GetNodeMaximizeButton ¶
func (s *StyleTab) GetNodeMaximizeButton() *StyleButton
GetNodeMaximizeButton returns a reference to C object within a struct
func (*StyleTab) GetNodeMinimizeButton ¶
func (s *StyleTab) GetNodeMinimizeButton() *StyleButton
GetNodeMinimizeButton returns a reference to C object within a struct
func (*StyleTab) GetPadding ¶
GetPadding returns a reference to C object within a struct
func (*StyleTab) GetRounding ¶
GetRounding returns a reference to C object within a struct
func (*StyleTab) GetSpacing ¶
GetSpacing returns a reference to C object within a struct
func (*StyleTab) GetTabMaximizeButton ¶
func (s *StyleTab) GetTabMaximizeButton() *StyleButton
GetTabMaximizeButton returns a reference to C object within a struct
func (*StyleTab) GetTabMinimizeButton ¶
func (s *StyleTab) GetTabMinimizeButton() *StyleButton
GetTabMinimizeButton returns a reference to C object within a struct
func (*StyleTab) PassRef ¶
func (x *StyleTab) PassRef() *C.struct_nk_style_tab
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleTab) Ref ¶
func (x *StyleTab) Ref() *C.struct_nk_style_tab
Ref returns a reference to C object as it is.
type StyleText ¶
type StyleText C.struct_nk_style_text
StyleText as declared in nk/nuklear.h:4889
func NewStyleText ¶
func NewStyleText() *StyleText
NewStyleText allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleTextRef ¶
NewStyleTextRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleText) Free ¶
func (x *StyleText) Free()
Free cleanups the referenced memory using C free.
func (*StyleText) GetPadding ¶
GetPadding returns a reference to C object within a struct
func (*StyleText) PassRef ¶
func (x *StyleText) PassRef() *C.struct_nk_style_text
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleText) Ref ¶
func (x *StyleText) Ref() *C.struct_nk_style_text
Ref returns a reference to C object as it is.
type StyleToggle ¶
type StyleToggle C.struct_nk_style_toggle
StyleToggle as declared in nk/nuklear.h:462
func NewStyleToggle ¶
func NewStyleToggle() *StyleToggle
NewStyleToggle allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleToggleRef ¶
func NewStyleToggleRef(ref unsafe.Pointer) *StyleToggle
NewStyleToggleRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleToggle) Free ¶
func (x *StyleToggle) Free()
Free cleanups the referenced memory using C free.
func (*StyleToggle) GetActive ¶
func (s *StyleToggle) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleToggle) GetBorder ¶
func (s *StyleToggle) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleToggle) GetBorderColor ¶
func (s *StyleToggle) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleToggle) GetCursorHover ¶
func (s *StyleToggle) GetCursorHover() *StyleItem
GetCursorHover returns a reference to C object within a struct
func (*StyleToggle) GetCursorNormal ¶
func (s *StyleToggle) GetCursorNormal() *StyleItem
GetCursorNormal returns a reference to C object within a struct
func (*StyleToggle) GetHover ¶
func (s *StyleToggle) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleToggle) GetNormal ¶
func (s *StyleToggle) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleToggle) GetPadding ¶
func (s *StyleToggle) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleToggle) GetSpacing ¶
func (s *StyleToggle) GetSpacing() *float32
GetSpacing returns a reference to C object within a struct
func (*StyleToggle) GetTextActive ¶
func (s *StyleToggle) GetTextActive() *Color
GetTextActive returns a reference to C object within a struct
func (*StyleToggle) GetTextAlignment ¶
func (s *StyleToggle) GetTextAlignment() *Flags
GetTextAlignment returns a reference to C object within a struct
func (*StyleToggle) GetTextBackground ¶
func (s *StyleToggle) GetTextBackground() *Color
GetTextBackground returns a reference to C object within a struct
func (*StyleToggle) GetTextHover ¶
func (s *StyleToggle) GetTextHover() *Color
GetTextHover returns a reference to C object within a struct
func (*StyleToggle) GetTextNormal ¶
func (s *StyleToggle) GetTextNormal() *Color
GetTextNormal returns a reference to C object within a struct
func (*StyleToggle) GetTouchPadding ¶
func (s *StyleToggle) GetTouchPadding() *Vec2
GetTouchPadding returns a reference to C object within a struct
func (*StyleToggle) GetUserdata ¶
func (s *StyleToggle) GetUserdata() *Handle
GetUserdata returns a reference to C object within a struct
func (*StyleToggle) PassRef ¶
func (x *StyleToggle) PassRef() *C.struct_nk_style_toggle
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleToggle) Ref ¶
func (x *StyleToggle) Ref() *C.struct_nk_style_toggle
Ref returns a reference to C object as it is.
type StyleWindow ¶
type StyleWindow C.struct_nk_style_window
StyleWindow as declared in nk/nuklear.h:473
func NewStyleWindow ¶
func NewStyleWindow() *StyleWindow
NewStyleWindow allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleWindowRef ¶
func NewStyleWindowRef(ref unsafe.Pointer) *StyleWindow
NewStyleWindowRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleWindow) Background ¶
func (w *StyleWindow) Background() *Color
func (*StyleWindow) Free ¶
func (x *StyleWindow) Free()
Free cleanups the referenced memory using C free.
func (*StyleWindow) GetBackground ¶
func (s *StyleWindow) GetBackground() *Color
GetBackground returns a reference to C object within a struct
func (*StyleWindow) GetBorder ¶
func (s *StyleWindow) GetBorder() *float32
GetBorder returns a reference to C object within a struct
func (*StyleWindow) GetBorderColor ¶
func (s *StyleWindow) GetBorderColor() *Color
GetBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetComboBorder ¶
func (s *StyleWindow) GetComboBorder() *float32
GetComboBorder returns a reference to C object within a struct
func (*StyleWindow) GetComboBorderColor ¶
func (s *StyleWindow) GetComboBorderColor() *Color
GetComboBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetComboPadding ¶
func (s *StyleWindow) GetComboPadding() *Vec2
GetComboPadding returns a reference to C object within a struct
func (*StyleWindow) GetContextualBorder ¶
func (s *StyleWindow) GetContextualBorder() *float32
GetContextualBorder returns a reference to C object within a struct
func (*StyleWindow) GetContextualBorderColor ¶
func (s *StyleWindow) GetContextualBorderColor() *Color
GetContextualBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetContextualPadding ¶
func (s *StyleWindow) GetContextualPadding() *Vec2
GetContextualPadding returns a reference to C object within a struct
func (*StyleWindow) GetFixedBackground ¶
func (s *StyleWindow) GetFixedBackground() *StyleItem
GetFixedBackground returns a reference to C object within a struct
func (*StyleWindow) GetGroupBorder ¶
func (s *StyleWindow) GetGroupBorder() *float32
GetGroupBorder returns a reference to C object within a struct
func (*StyleWindow) GetGroupBorderColor ¶
func (s *StyleWindow) GetGroupBorderColor() *Color
GetGroupBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetGroupPadding ¶
func (s *StyleWindow) GetGroupPadding() *Vec2
GetGroupPadding returns a reference to C object within a struct
func (*StyleWindow) GetHeader ¶
func (s *StyleWindow) GetHeader() *StyleWindowHeader
GetHeader returns a reference to C object within a struct
func (*StyleWindow) GetMenuBorder ¶
func (s *StyleWindow) GetMenuBorder() *float32
GetMenuBorder returns a reference to C object within a struct
func (*StyleWindow) GetMenuBorderColor ¶
func (s *StyleWindow) GetMenuBorderColor() *Color
GetMenuBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetMenuPadding ¶
func (s *StyleWindow) GetMenuPadding() *Vec2
GetMenuPadding returns a reference to C object within a struct
func (*StyleWindow) GetMinRowHeightPadding ¶
func (s *StyleWindow) GetMinRowHeightPadding() *float32
GetMinRowHeightPadding returns a reference to C object within a struct
func (*StyleWindow) GetMinSize ¶
func (s *StyleWindow) GetMinSize() *Vec2
GetMinSize returns a reference to C object within a struct
func (*StyleWindow) GetPadding ¶
func (s *StyleWindow) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleWindow) GetPopupBorder ¶
func (s *StyleWindow) GetPopupBorder() *float32
GetPopupBorder returns a reference to C object within a struct
func (*StyleWindow) GetPopupBorderColor ¶
func (s *StyleWindow) GetPopupBorderColor() *Color
GetPopupBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetPopupPadding ¶
func (s *StyleWindow) GetPopupPadding() *Vec2
GetPopupPadding returns a reference to C object within a struct
func (*StyleWindow) GetRounding ¶
func (s *StyleWindow) GetRounding() *float32
GetRounding returns a reference to C object within a struct
func (*StyleWindow) GetScaler ¶
func (s *StyleWindow) GetScaler() *StyleItem
GetScaler returns a reference to C object within a struct
func (*StyleWindow) GetScrollbarSize ¶
func (s *StyleWindow) GetScrollbarSize() *Vec2
GetScrollbarSize returns a reference to C object within a struct
func (*StyleWindow) GetSpacing ¶
func (s *StyleWindow) GetSpacing() *Vec2
GetSpacing returns a reference to C object within a struct
func (*StyleWindow) GetTooltipBorder ¶
func (s *StyleWindow) GetTooltipBorder() *float32
GetTooltipBorder returns a reference to C object within a struct
func (*StyleWindow) GetTooltipBorderColor ¶
func (s *StyleWindow) GetTooltipBorderColor() *Color
GetTooltipBorderColor returns a reference to C object within a struct
func (*StyleWindow) GetTooltipPadding ¶
func (s *StyleWindow) GetTooltipPadding() *Vec2
GetTooltipPadding returns a reference to C object within a struct
func (*StyleWindow) GroupPadding ¶
func (w *StyleWindow) GroupPadding() *Vec2
func (*StyleWindow) Padding ¶
func (w *StyleWindow) Padding() *Vec2
func (*StyleWindow) PassRef ¶
func (x *StyleWindow) PassRef() *C.struct_nk_style_window
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleWindow) Ref ¶
func (x *StyleWindow) Ref() *C.struct_nk_style_window
Ref returns a reference to C object as it is.
func (*StyleWindow) Spacing ¶
func (w *StyleWindow) Spacing() *Vec2
type StyleWindowHeader ¶
type StyleWindowHeader C.struct_nk_style_window_header
StyleWindowHeader as declared in nk/nuklear.h:472
func NewStyleWindowHeader ¶
func NewStyleWindowHeader() *StyleWindowHeader
NewStyleWindowHeader allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewStyleWindowHeaderRef ¶
func NewStyleWindowHeaderRef(ref unsafe.Pointer) *StyleWindowHeader
NewStyleWindowHeaderRef converts the C object reference into a raw struct reference without wrapping.
func (*StyleWindowHeader) Free ¶
func (x *StyleWindowHeader) Free()
Free cleanups the referenced memory using C free.
func (*StyleWindowHeader) GetActive ¶
func (s *StyleWindowHeader) GetActive() *StyleItem
GetActive returns a reference to C object within a struct
func (*StyleWindowHeader) GetCloseButton ¶
func (s *StyleWindowHeader) GetCloseButton() *StyleButton
GetCloseButton returns a reference to C object within a struct
func (*StyleWindowHeader) GetHover ¶
func (s *StyleWindowHeader) GetHover() *StyleItem
GetHover returns a reference to C object within a struct
func (*StyleWindowHeader) GetLabelActive ¶
func (s *StyleWindowHeader) GetLabelActive() *Color
GetLabelActive returns a reference to C object within a struct
func (*StyleWindowHeader) GetLabelHover ¶
func (s *StyleWindowHeader) GetLabelHover() *Color
GetLabelHover returns a reference to C object within a struct
func (*StyleWindowHeader) GetLabelNormal ¶
func (s *StyleWindowHeader) GetLabelNormal() *Color
GetLabelNormal returns a reference to C object within a struct
func (*StyleWindowHeader) GetLabelPadding ¶
func (s *StyleWindowHeader) GetLabelPadding() *Vec2
GetLabelPadding returns a reference to C object within a struct
func (*StyleWindowHeader) GetMinimizeButton ¶
func (s *StyleWindowHeader) GetMinimizeButton() *StyleButton
GetMinimizeButton returns a reference to C object within a struct
func (*StyleWindowHeader) GetNormal ¶
func (s *StyleWindowHeader) GetNormal() *StyleItem
GetNormal returns a reference to C object within a struct
func (*StyleWindowHeader) GetPadding ¶
func (s *StyleWindowHeader) GetPadding() *Vec2
GetPadding returns a reference to C object within a struct
func (*StyleWindowHeader) GetSpacing ¶
func (s *StyleWindowHeader) GetSpacing() *Vec2
GetSpacing returns a reference to C object within a struct
func (*StyleWindowHeader) PassRef ¶
func (x *StyleWindowHeader) PassRef() *C.struct_nk_style_window_header
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*StyleWindowHeader) Ref ¶
func (x *StyleWindowHeader) Ref() *C.struct_nk_style_window_header
Ref returns a reference to C object as it is.
type Table ¶
type Table C.struct_nk_table
Table as declared in nk/nuklear.h:5421
func NewTable ¶
func NewTable() *Table
NewTable allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewTableRef ¶
NewTableRef converts the C object reference into a raw struct reference without wrapping.
func (*Table) PassRef ¶
func (x *Table) PassRef() *C.struct_nk_table
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Table) Ref ¶
func (x *Table) Ref() *C.struct_nk_table
Ref returns a reference to C object as it is.
type TextEdit ¶
type TextEdit C.struct_nk_text_edit
TextEdit as declared in nk/nuklear.h:455
func NewTextEdit ¶
func NewTextEdit() *TextEdit
NewTextEdit allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewTextEditRef ¶
NewTextEditRef converts the C object reference into a raw struct reference without wrapping.
func (*TextEdit) GetCursorAtEndOfLine ¶
GetCursorAtEndOfLine returns a reference to C object within a struct
func (*TextEdit) GetFilter ¶
func (s *TextEdit) GetFilter() *PluginFilter
GetFilter returns a reference to C object within a struct
func (*TextEdit) GetGoString ¶
func (*TextEdit) GetHasPreferredX ¶
GetHasPreferredX returns a reference to C object within a struct
func (*TextEdit) GetInitialized ¶
GetInitialized returns a reference to C object within a struct
func (*TextEdit) GetPadding1 ¶
GetPadding1 returns a reference to C object within a struct
func (*TextEdit) GetPreferredX ¶
GetPreferredX returns a reference to C object within a struct
func (*TextEdit) GetScrollbar ¶
GetScrollbar returns a reference to C object within a struct
func (*TextEdit) GetSelectEnd ¶
GetSelectEnd returns a reference to C object within a struct
func (*TextEdit) GetSelectStart ¶
GetSelectStart returns a reference to C object within a struct
func (*TextEdit) GetSingleLine ¶
GetSingleLine returns a reference to C object within a struct
func (*TextEdit) GetUndo ¶
func (s *TextEdit) GetUndo() *TextUndoState
GetUndo returns a reference to C object within a struct
func (*TextEdit) PassRef ¶
func (x *TextEdit) PassRef() *C.struct_nk_text_edit
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*TextEdit) Ref ¶
func (x *TextEdit) Ref() *C.struct_nk_text_edit
Ref returns a reference to C object as it is.
type TextUndoRecord ¶
type TextUndoRecord C.struct_nk_text_undo_record
TextUndoRecord as declared in nk/nuklear.h:4311
func NewTextUndoRecord ¶
func NewTextUndoRecord() *TextUndoRecord
NewTextUndoRecord allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewTextUndoRecordRef ¶
func NewTextUndoRecordRef(ref unsafe.Pointer) *TextUndoRecord
NewTextUndoRecordRef converts the C object reference into a raw struct reference without wrapping.
func (*TextUndoRecord) Free ¶
func (x *TextUndoRecord) Free()
Free cleanups the referenced memory using C free.
func (*TextUndoRecord) GetCharStorage ¶
func (s *TextUndoRecord) GetCharStorage() *int16
GetCharStorage returns a reference to C object within a struct
func (*TextUndoRecord) GetDeleteLength ¶
func (s *TextUndoRecord) GetDeleteLength() *int16
GetDeleteLength returns a reference to C object within a struct
func (*TextUndoRecord) GetInsertLength ¶
func (s *TextUndoRecord) GetInsertLength() *int16
GetInsertLength returns a reference to C object within a struct
func (*TextUndoRecord) GetWhere ¶
func (s *TextUndoRecord) GetWhere() *int32
GetWhere returns a reference to C object within a struct
func (*TextUndoRecord) PassRef ¶
func (x *TextUndoRecord) PassRef() *C.struct_nk_text_undo_record
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*TextUndoRecord) Ref ¶
func (x *TextUndoRecord) Ref() *C.struct_nk_text_undo_record
Ref returns a reference to C object as it is.
type TextUndoState ¶
type TextUndoState C.struct_nk_text_undo_state
TextUndoState as declared in nk/nuklear.h:4318
func NewTextUndoState ¶
func NewTextUndoState() *TextUndoState
NewTextUndoState allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewTextUndoStateRef ¶
func NewTextUndoStateRef(ref unsafe.Pointer) *TextUndoState
NewTextUndoStateRef converts the C object reference into a raw struct reference without wrapping.
func (*TextUndoState) Free ¶
func (x *TextUndoState) Free()
Free cleanups the referenced memory using C free.
func (*TextUndoState) GetRedoCharPoint ¶
func (s *TextUndoState) GetRedoCharPoint() *int16
GetRedoCharPoint returns a reference to C object within a struct
func (*TextUndoState) GetRedoPoint ¶
func (s *TextUndoState) GetRedoPoint() *int16
GetRedoPoint returns a reference to C object within a struct
func (*TextUndoState) GetUndoChar ¶
func (s *TextUndoState) GetUndoChar() [999]Rune
GetUndoChar returns a reference to C object within a struct
func (*TextUndoState) GetUndoCharPoint ¶
func (s *TextUndoState) GetUndoCharPoint() *int16
GetUndoCharPoint returns a reference to C object within a struct
func (*TextUndoState) GetUndoPoint ¶
func (s *TextUndoState) GetUndoPoint() *int16
GetUndoPoint returns a reference to C object within a struct
func (*TextUndoState) GetUndoRec ¶
func (s *TextUndoState) GetUndoRec() [99]TextUndoRecord
GetUndoRec returns a reference to C object within a struct
func (*TextUndoState) PassRef ¶
func (x *TextUndoState) PassRef() *C.struct_nk_text_undo_state
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*TextUndoState) Ref ¶
func (x *TextUndoState) Ref() *C.struct_nk_text_undo_state
Ref returns a reference to C object as it is.
type TextWidthF ¶
TextWidthF type as declared in nk/nuklear.h:3952
func NewTextWidthFRef ¶
func NewTextWidthFRef(ref unsafe.Pointer) *TextWidthF
func (TextWidthF) PassRef ¶
func (x TextWidthF) PassRef() (ref *C.nk_text_width_f, allocs *cgoAllocMap)
func (TextWidthF) PassValue ¶
func (x TextWidthF) PassValue() (ref C.nk_text_width_f, allocs *cgoAllocMap)
type Uint ¶
type Uint uint32
Uint type as declared in nk/nuklear.h:417
func NkColorU32 ¶
NkColorU32 function as declared in nk/nuklear.h:3706
type UserFont ¶
type UserFont struct { Userdata Handle Height float32 Width TextWidthF Query QueryFontGlyphF Texture Handle // contains filtered or unexported fields }
UserFont as declared in nk/nuklear.h:457
func NewUserFontRef ¶
NewUserFontRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*UserFont) Deref ¶
func (x *UserFont) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*UserFont) Free ¶
func (x *UserFont) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*UserFont) PassRef ¶
func (x *UserFont) PassRef() (*C.struct_nk_user_font, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (UserFont) PassValue ¶
func (x UserFont) PassValue() (C.struct_nk_user_font, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*UserFont) Ref ¶
func (x *UserFont) Ref() *C.struct_nk_user_font
Ref returns the underlying reference to C object or nil if struct is nil.
type UserFontGlyph ¶
type UserFontGlyph struct { Uv [2]Vec2 Offset Vec2 Width float32 Height float32 Xadvance float32 // contains filtered or unexported fields }
UserFontGlyph as declared in nk/nuklear.h:3951
func NewUserFontGlyphRef ¶
func NewUserFontGlyphRef(ref unsafe.Pointer) *UserFontGlyph
NewUserFontGlyphRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.
func (*UserFontGlyph) Deref ¶
func (x *UserFontGlyph) Deref()
Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.
func (*UserFontGlyph) Free ¶
func (x *UserFontGlyph) Free()
Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.
func (*UserFontGlyph) PassRef ¶
func (x *UserFontGlyph) PassRef() (*C.struct_nk_user_font_glyph, *cgoAllocMap)
PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.
func (UserFontGlyph) PassValue ¶
func (x UserFontGlyph) PassValue() (C.struct_nk_user_font_glyph, *cgoAllocMap)
PassValue does the same as PassRef except that it will try to dereference the returned pointer.
func (*UserFontGlyph) Ref ¶
func (x *UserFontGlyph) Ref() *C.struct_nk_user_font_glyph
Ref returns the underlying reference to C object or nil if struct is nil.
type Vec2 ¶
type Vec2 C.struct_nk_vec2
Vec2 as declared in nk/nuklear.h:478
func NewVec2 ¶
func NewVec2() *Vec2
NewVec2 allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewVec2Ref ¶
NewVec2Ref converts the C object reference into a raw struct reference without wrapping.
func NkLayoutSpaceToLocal ¶
NkLayoutSpaceToLocal function as declared in nk/nuklear.h:2552
func NkLayoutSpaceToScreen ¶
NkLayoutSpaceToScreen function as declared in nk/nuklear.h:2538
func NkRectSize ¶
NkRectSize function as declared in nk/nuklear.h:3769
func NkWidgetPosition ¶
NkWidgetPosition function as declared in nk/nuklear.h:3094
func NkWidgetSize ¶
NkWidgetSize function as declared in nk/nuklear.h:3095
func NkWindowGetContentRegionMax ¶
NkWindowGetContentRegionMax function as declared in nk/nuklear.h:1705
func NkWindowGetContentRegionMin ¶
NkWindowGetContentRegionMin function as declared in nk/nuklear.h:1686
func NkWindowGetContentRegionSize ¶
NkWindowGetContentRegionSize function as declared in nk/nuklear.h:1723
func NkWindowGetPosition ¶
NkWindowGetPosition function as declared in nk/nuklear.h:1582
func NkWindowGetSize ¶
NkWindowGetSize function as declared in nk/nuklear.h:1598
func (*Vec2) PassRef ¶
func (x *Vec2) PassRef() *C.struct_nk_vec2
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Vec2) Ref ¶
func (x *Vec2) Ref() *C.struct_nk_vec2
Ref returns a reference to C object as it is.
type Vec2i ¶
type Vec2i C.struct_nk_vec2i
Vec2i as declared in nk/nuklear.h:479
func NewVec2i ¶
func NewVec2i() *Vec2i
NewVec2i allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewVec2iRef ¶
NewVec2iRef converts the C object reference into a raw struct reference without wrapping.
func (*Vec2i) PassRef ¶
func (x *Vec2i) PassRef() *C.struct_nk_vec2i
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Vec2i) Ref ¶
func (x *Vec2i) Ref() *C.struct_nk_vec2i
Ref returns a reference to C object as it is.
type Window ¶
type Window C.struct_nk_window
Window as declared in nk/nuklear.h:5478
func NewWindow ¶
func NewWindow() *Window
NewWindow allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.
func NewWindowRef ¶
NewWindowRef converts the C object reference into a raw struct reference without wrapping.
func NkWindowFind ¶
NkWindowFind function as declared in nk/nuklear.h:1550
func (*Window) GetBuffer ¶
func (s *Window) GetBuffer() *CommandBuffer
GetBuffer returns a reference to C object within a struct
func (*Window) GetNameString ¶
GetNameString returns a reference to C object within a struct
func (*Window) GetPopup ¶
func (s *Window) GetPopup() *PopupState
GetPopup returns a reference to C object within a struct
func (*Window) GetProperty ¶
func (s *Window) GetProperty() *PropertyState
GetProperty returns a reference to C object within a struct
func (*Window) GetScrollbar ¶
GetScrollbar returns a reference to C object within a struct
func (*Window) GetScrollbarHidingTimer ¶
GetScrollbarHidingTimer returns a reference to C object within a struct
func (*Window) GetScrolled ¶
GetScrolled returns a reference to C object within a struct
func (*Window) GetTableCount ¶
GetTableCount returns a reference to C object within a struct
func (*Window) PassRef ¶
func (x *Window) PassRef() *C.struct_nk_window
PassRef returns a reference to C object as it is or allocates a new C object of this type.
func (*Window) Ref ¶
func (x *Window) Ref() *C.struct_nk_window
Ref returns a reference to C object as it is.