nk

package
v0.0.0-...-b824d3f Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

Package nk provides Go bindings for nuklear.h — a small ANSI C gui library.

Index

Constants

View Source
const (
	// IncludeFixedTypes as defined in gimu/<predefine>:24
	IncludeFixedTypes = 1
	// IncludeStandardIo as defined in gimu/<predefine>:25
	IncludeStandardIo = 1
	// IncludeDefaultAllocator as defined in gimu/<predefine>:26
	IncludeDefaultAllocator = 1
	// IncludeVertexBufferOutput as defined in gimu/<predefine>:27
	IncludeVertexBufferOutput = 1
	// IncludeFontBaking as defined in gimu/<predefine>:28
	IncludeFontBaking = 1
	// IncludeDefaultFont as defined in gimu/<predefine>:29
	IncludeDefaultFont = 1
	// KeystateBasedInput as defined in gimu/<predefine>:30
	KeystateBasedInput = 1
	// Undefined as defined in nk/nuklear.h:233
	Undefined = (-1.0)
	// UtfInvalid as defined in nk/nuklear.h:234
	UtfInvalid = 0xFFFD
	// UtfSize as defined in nk/nuklear.h:235
	UtfSize = 4
	// InputMax as defined in nk/nuklear.h:237
	InputMax = 16
	// MaxNumberBuffer as defined in nk/nuklear.h:240
	MaxNumberBuffer = 64
	// ScrollbarHidingTimeout as defined in nk/nuklear.h:243
	ScrollbarHidingTimeout = 4.0
	// Lib as defined in nk/nuklear.h:267
	Lib = 0
	// TexteditUndostatecount as defined in nk/nuklear.h:4239
	TexteditUndostatecount = 99
	// TexteditUndocharcount as defined in nk/nuklear.h:4243
	TexteditUndocharcount = 999
	// MaxLayoutRowTemplateColumns as defined in nk/nuklear.h:5246
	MaxLayoutRowTemplateColumns = 16
	// ChartMaxSlot as defined in nk/nuklear.h:5249
	ChartMaxSlot = 4
	// WindowMaxName as defined in nk/nuklear.h:5348
	WindowMaxName = 64
	// ButtonBehaviorStackSize as defined in nk/nuklear.h:5461
	ButtonBehaviorStackSize = 8
	// FontStackSize as defined in nk/nuklear.h:5465
	FontStackSize = 8
	// StyleItemStackSize as defined in nk/nuklear.h:5469
	StyleItemStackSize = 16
	// FloatStackSize as defined in nk/nuklear.h:5473
	FloatStackSize = 32
	// VectorStackSize as defined in nk/nuklear.h:5477
	VectorStackSize = 16
	// FlagsStackSize as defined in nk/nuklear.h:5481
	FlagsStackSize = 32
	// ColorStackSize as defined in nk/nuklear.h:5485
	ColorStackSize = 32
	// Float as defined in nk/nuklear.h:5499
	Float = 0
	// Pi as defined in nk/nuklear.h:5613
	Pi = 3.141592654
	// MaxFloatPrecision as defined in nk/nuklear.h:5615
	MaxFloatPrecision = 2
)
View Source
const (
	Up    = iota
	Right = 1
	Down  = 2
	Left  = 3
)

Heading enumeration from nk/nuklear.h:469

View Source
const (
	ButtonDefault  = iota
	ButtonRepeater = 1
)

ButtonBehavior enumeration from nk/nuklear.h:470

View Source
const (
	Fixed      = False
	Modifiable = True
)

Modify enumeration from nk/nuklear.h:471

View Source
const (
	Vertical   = iota
	Horizontal = 1
)

Orientation enumeration from nk/nuklear.h:472

View Source
const (
	Minimized = False
	Maximized = True
)

CollapseStates enumeration from nk/nuklear.h:473

View Source
const (
	Hidden = False
	Shown  = True
)

ShowStates enumeration from nk/nuklear.h:474

View Source
const (
	ChartLines  = iota
	ChartColumn = 1
	ChartMax    = 2
)

ChartType enumeration from nk/nuklear.h:475

View Source
const (
	ChartHovering = 0x01
	ChartClicked  = 0x02
)

ChartEvent enumeration from nk/nuklear.h:476

View Source
const (
	ColorFormatRGB  = iota
	ColorFormatRGBA = 1
)

ColorFormat enumeration from nk/nuklear.h:477

View Source
const (
	PopupStatic  = iota
	PopupDynamic = 1
)

PopupType enumeration from nk/nuklear.h:478

View Source
const (
	Dynamic = iota
	Static  = 1
)

LayoutFormat enumeration from nk/nuklear.h:479

View Source
const (
	TreeNode = iota
	TreeTab  = 1
)

TreeType enumeration from nk/nuklear.h:480

View Source
const (
	SymbolNone          = iota
	SymbolX             = 1
	SymbolUnderscore    = 2
	SymbolCircleSolid   = 3
	SymbolCircleOutline = 4
	SymbolRectSolid     = 5
	SymbolRectOutline   = 6
	SymbolTriangleUp    = 7
	SymbolTriangleDown  = 8
	SymbolTriangleLeft  = 9
	SymbolTriangleRight = 10
	SymbolPlus          = 11
	SymbolMinus         = 12
	SymbolMax           = 13
)

SymbolType enumeration from nk/nuklear.h:493

View Source
const (
	KeyNone            = iota
	KeyShift           = 1
	KeyCtrl            = 2
	KeyDel             = 3
	KeyEnter           = 4
	KeyTab             = 5
	KeyBackspace       = 6
	KeyCopy            = 7
	KeyCut             = 8
	KeyPaste           = 9
	KeyUp              = 10
	KeyDown            = 11
	KeyLeft            = 12
	KeyRight           = 13
	KeyTextInsertMode  = 14
	KeyTextReplaceMode = 15
	KeyTextResetMode   = 16
	KeyTextLineStart   = 17
	KeyTextLineEnd     = 18
	KeyTextStart       = 19
	KeyTextEnd         = 20
	KeyTextUndo        = 21
	KeyTextRedo        = 22
	KeyTextSelectAll   = 23
	KeyTextWordLeft    = 24
	KeyTextWordRight   = 25
	KeyScrollStart     = 26
	KeyScrollEnd       = 27
	KeyScrollDown      = 28
	KeyScrollUp        = 29
	KeyMax             = 30
)

Keys enumeration from nk/nuklear.h:735

View Source
const (
	ButtonLeft   = iota
	ButtonMiddle = 1
	ButtonRight  = 2
	ButtonDouble = 3
	ButtonMax    = 4
)

Buttons enumeration from nk/nuklear.h:770

View Source
const (
	AntiAliasingOff = iota
	AntiAliasingOn  = 1
)

AntiAliasing enumeration from nk/nuklear.h:1142

View Source
const (
	ConvertSuccess           = iota
	ConvertInvalidParam      = 1
	ConvertCommandBufferFull = (1 << (1))
	ConvertVertexBufferFull  = (1 << (2))
	ConvertElementBufferFull = (1 << (3))
)

ConvertResult enumeration from nk/nuklear.h:1143

View Source
const (
	WindowBorder         = (1 << (0))
	WindowMovable        = (1 << (1))
	WindowScalable       = (1 << (2))
	WindowClosable       = (1 << (3))
	WindowMinimizable    = (1 << (4))
	WindowNoScrollbar    = (1 << (5))
	WindowTitle          = (1 << (6))
	WindowScrollAutoHide = (1 << (7))
	WindowBackground     = (1 << (8))
	WindowScaleLeft      = (1 << (9))
	WindowNoInput        = (1 << (10))
)

PanelFlags enumeration from nk/nuklear.h:1450

View Source
const (
	WidgetInvalid = iota
	WidgetValid   = 1
	WidgetRom     = 2
)

WidgetLayoutStates enumeration from nk/nuklear.h:3041

View Source
const (
	WidgetStateModified = (1 << (1))
	WidgetStateInactive = (1 << (2))
	WidgetStateEntered  = (1 << (3))
	WidgetStateHover    = (1 << (4))
	WidgetStateActived  = (1 << (5))
	WidgetStateLeft     = (1 << (6))
	WidgetStateHovered  = WidgetStateHover | WidgetStateModified
	WidgetStateActive   = WidgetStateActived | WidgetStateModified
)

WidgetStates enumeration from nk/nuklear.h:3046

View Source
const (
	TextAlignLeft     = 0x01
	TextAlignCentered = 0x02
	TextAlignRight    = 0x04
	TextAlignTop      = 0x08
	TextAlignMiddle   = 0x10
	TextAlignBottom   = 0x20
)

TextAlign enumeration from nk/nuklear.h:3072

TextAlignment enumeration from nk/nuklear.h:3080

View Source
const (
	EditDefault            = iota
	EditReadOnly           = (1 << (0))
	EditAutoSelect         = (1 << (1))
	EditSigEnter           = (1 << (2))
	EditAllowTab           = (1 << (3))
	EditNoCursor           = (1 << (4))
	EditSelectable         = (1 << (5))
	EditClipboard          = (1 << (6))
	EditCtrlEnterNewline   = (1 << (7))
	EditNoHorizontalScroll = (1 << (8))
	EditAlwaysInsertMode   = (1 << (9))
	EditMultiline          = (1 << (10))
	EditGotoEndOnActivate  = (1 << (11))
)

EditFlags enumeration from nk/nuklear.h:3415

EditTypes enumeration from nk/nuklear.h:3430

View Source
const (
	EditActive      = (1 << (0))
	EditInactive    = (1 << (1))
	EditActivated   = (1 << (2))
	EditDeactivated = (1 << (3))
	EditCommited    = (1 << (4))
)

EditEvents enumeration from nk/nuklear.h:3436

View Source
const (
	ColorText                  = iota
	ColorWindow                = 1
	ColorHeader                = 2
	ColorBorder                = 3
	ColorButton                = 4
	ColorButtonHover           = 5
	ColorButtonActive          = 6
	ColorToggle                = 7
	ColorToggleHover           = 8
	ColorToggleCursor          = 9
	ColorSelect                = 10
	ColorSelectActive          = 11
	ColorSlider                = 12
	ColorSliderCursor          = 13
	ColorSliderCursorHover     = 14
	ColorSliderCursorActive    = 15
	ColorProperty              = 16
	ColorEdit                  = 17
	ColorEditCursor            = 18
	ColorCombo                 = 19
	ColorChart                 = 20
	ColorChartColor            = 21
	ColorChartColorHighlight   = 22
	ColorScrollbar             = 23
	ColorScrollbarCursor       = 24
	ColorScrollbarCursorHover  = 25
	ColorScrollbarCursorActive = 26
	ColorTabHeader             = 27
	ColorCount                 = 28
)

StyleColors enumeration from nk/nuklear.h:3561

View Source
const (
	CursorArrow                  = iota
	CursorText                   = 1
	CursorMove                   = 2
	CursorResizeVertical         = 3
	CursorResizeHorizontal       = 4
	CursorResizeTopLeftDownRight = 5
	CursorResizeTopRightDownLeft = 6
	CursorCount                  = 7
)

StyleCursor enumeration from nk/nuklear.h:3592

View Source
const (
	CoordUv    = iota
	CoordPixel = 1
)

FontCoordType enumeration from nk/nuklear.h:3930

View Source
const (
	FontAtlasAlpha8 = iota
	FontAtlasRgba32 = 1
)

FontAtlasFormat enumeration from nk/nuklear.h:4004

View Source
const (
	BufferFixed   = iota
	BufferDynamic = 1
)

AllocationType enumeration from nk/nuklear.h:4101

View Source
const (
	BufferFront = iota
	BufferBack  = 1
	BufferMax   = 2
)

BufferAllocationType enumeration from nk/nuklear.h:4106

View Source
const (
	TextEditSingleLine = iota
	TextEditMultiLine  = 1
)

TextEditType enumeration from nk/nuklear.h:4269

View Source
const (
	TextEditModeView    = iota
	TextEditModeInsert  = 1
	TextEditModeReplace = 2
)

TextEditMode enumeration from nk/nuklear.h:4274

View Source
const (
	CommandTypeNop            = iota
	CommandTypeScissor        = 1
	CommandTypeLine           = 2
	CommandTypeCurve          = 3
	CommandTypeRect           = 4
	CommandTypeRectFilled     = 5
	CommandTypeRectMultiColor = 6
	CommandTypeCircle         = 7
	CommandTypeCircleFilled   = 8
	CommandTypeArc            = 9
	CommandTypeArcFilled      = 10
	CommandTypeTriangle       = 11
	CommandTypeTriangleFilled = 12
	CommandTypePolygon        = 13
	CommandTypePolygonFilled  = 14
	CommandTypePolyline       = 15
	CommandTypeText           = 16
	CommandTypeImage          = 17
	CommandTypeCustom         = 18
)

CommandType enumeration from nk/nuklear.h:4374

View Source
const (
	ClippingOff = False
	ClippingOn  = True
)

CommandClipping enumeration from nk/nuklear.h:4557

View Source
const (
	StrokeOpen   = False
	StrokeClosed = True
)

DrawListStroke enumeration from nk/nuklear.h:4670

View Source
const (
	VertexPosition       = iota
	VertexColor          = 1
	VertexTexcoord       = 2
	VertexAttributeCount = 3
)

DrawVertexLayoutAttribute enumeration from nk/nuklear.h:4677

View Source
const (
	FormatSchar              = iota
	FormatSshort             = 1
	FormatSint               = 2
	FormatUchar              = 3
	FormatUshort             = 4
	FormatUint               = 5
	FormatFloat              = 6
	FormatDouble             = 7
	FormatColorBegin         = 8
	FormatR8g8b8             = FormatColorBegin
	FormatR16g15b16          = 9
	FormatR32g32b32          = 10
	FormatR8g8b8a8           = 11
	FormatB8g8r8a8           = 12
	FormatR16g15b16a16       = 13
	FormatR32g32b32a32       = 14
	FormatR32g32b32a32Float  = 15
	FormatR32g32b32a32Double = 16
	FormatRgb32              = 17
	FormatRgba32             = 18
	FormatColorEnd           = FormatRgba32
	FormatCount              = 19
)

DrawVertexLayoutFormat enumeration from nk/nuklear.h:4684

View Source
const (
	StyleItemColor = iota
	StyleItemImage = 1
)

StyleItemType enumeration from nk/nuklear.h:4805

View Source
const (
	HeaderLeft  = iota
	HeaderRight = 1
)

StyleHeaderAlign enumeration from nk/nuklear.h:5146

View Source
const (
	PanelNone       = iota
	PanelWindow     = (1 << (0))
	PanelGroup      = (1 << (1))
	PanelPopup      = (1 << (2))
	PanelContextual = (1 << (4))
	PanelCombo      = (1 << (5))
	PanelMenu       = (1 << (6))
	PanelTooltip    = (1 << (7))
)

PanelType enumeration from nk/nuklear.h:5252

View Source
const (
	PanelSetNonblock = PanelContextual | PanelCombo | PanelMenu | PanelTooltip
	PanelSetPopup    = PanelSetNonblock | PanelPopup
	PanelSetSub      = PanelSetPopup | PanelGroup
)

PanelSet enumeration from nk/nuklear.h:5262

View Source
const (
	LayoutDynamicFixed = iota
	LayoutDynamicRow   = 1
	LayoutDynamicFree  = 2
	LayoutDynamic      = 3
	LayoutStaticFixed  = 4
	LayoutStaticRow    = 5
	LayoutStaticFree   = 6
	LayoutStatic       = 7
	LayoutTemplate     = 8
	LayoutCount        = 9
)

PanelRowLayoutType enumeration from nk/nuklear.h:5284

View Source
const (
	WindowPrivate        = (1 << (11))
	WindowDynamic        = WindowPrivate
	WindowRom            = (1 << (12))
	WindowNotInteractive = WindowRom | WindowNoInput
	WindowHidden         = (1 << (13))
	WindowClosed         = (1 << (14))
	WindowMinimized      = (1 << (15))
	WindowRemoveRom      = (1 << (16))
)

WindowFlags enumeration from nk/nuklear.h:5352

View Source
const (
	// False as declared in nk/nuklear.h:456
	False = iota
	// True as declared in nk/nuklear.h:456
	True = 1
)

Variables

View Source
var VertexLayoutEnd = DrawVertexLayoutElement{
	Attribute: VertexAttributeCount,
	Format:    FormatCount,
	Offset:    0,
}

Functions

func NkBegin

func NkBegin(ctx *Context, title string, bounds Rect, flags Flags) int32

NkBegin function as declared in nk/nuklear.h:1481

func NkBeginTitled

func NkBeginTitled(ctx *Context, name string, title string, bounds Rect, flags Flags) int32

NkBeginTitled function as declared in nk/nuklear.h:1501

func NkBufferClear

func NkBufferClear(arg0 *Buffer)

NkBufferClear function as declared in nk/nuklear.h:4148

func NkBufferFree

func NkBufferFree(arg0 *Buffer)

NkBufferFree function as declared in nk/nuklear.h:4149

func NkBufferInfo

func NkBufferInfo(arg0 *MemoryStatus, arg1 *Buffer)

NkBufferInfo function as declared in nk/nuklear.h:4144

func NkBufferInit

func NkBufferInit(arg0 *Buffer, arg1 *Allocator, size Size)

NkBufferInit function as declared in nk/nuklear.h:4142

func NkBufferInitDefault

func NkBufferInitDefault(arg0 *Buffer)

NkBufferInitDefault function as declared in nk/nuklear.h:4140

func NkBufferInitFixed

func NkBufferInitFixed(arg0 *Buffer, memory unsafe.Pointer, size Size)

NkBufferInitFixed function as declared in nk/nuklear.h:4143

func NkBufferMark

func NkBufferMark(arg0 *Buffer, kind BufferAllocationType)

NkBufferMark function as declared in nk/nuklear.h:4146

func NkBufferMemory

func NkBufferMemory(arg0 *Buffer) unsafe.Pointer

NkBufferMemory function as declared in nk/nuklear.h:4150

func NkBufferMemoryConst

func NkBufferMemoryConst(arg0 *Buffer) unsafe.Pointer

NkBufferMemoryConst function as declared in nk/nuklear.h:4151

func NkBufferPush

func NkBufferPush(arg0 *Buffer, kind BufferAllocationType, memory unsafe.Pointer, size Size, align Size)

NkBufferPush function as declared in nk/nuklear.h:4145

func NkBufferReset

func NkBufferReset(arg0 *Buffer, kind BufferAllocationType)

NkBufferReset function as declared in nk/nuklear.h:4147

func NkButtonColor

func NkButtonColor(arg0 *Context, arg1 Color) int32

NkButtonColor function as declared in nk/nuklear.h:3119

func NkButtonImage

func NkButtonImage(arg0 *Context, img Image) int32

NkButtonImage function as declared in nk/nuklear.h:3121

func NkButtonImageLabel

func NkButtonImageLabel(arg0 *Context, img Image, arg2 string, textAlignment Flags) int32

NkButtonImageLabel function as declared in nk/nuklear.h:3124

func NkButtonImageLabelStyled

func NkButtonImageLabelStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 string, textAlignment Flags) int32

NkButtonImageLabelStyled function as declared in nk/nuklear.h:3132

func NkButtonImageStyled

func NkButtonImageStyled(arg0 *Context, arg1 *StyleButton, img Image) int32

NkButtonImageStyled function as declared in nk/nuklear.h:3129

func NkButtonImageText

func NkButtonImageText(arg0 *Context, img Image, arg2 string, arg3 int32, alignment Flags) int32

NkButtonImageText function as declared in nk/nuklear.h:3125

func NkButtonImageTextStyled

func NkButtonImageTextStyled(arg0 *Context, arg1 *StyleButton, img Image, arg3 string, arg4 int32, alignment Flags) int32

NkButtonImageTextStyled function as declared in nk/nuklear.h:3133

func NkButtonLabel

func NkButtonLabel(arg0 *Context, title string) int32

NkButtonLabel function as declared in nk/nuklear.h:3118

func NkButtonLabelStyled

func NkButtonLabelStyled(arg0 *Context, arg1 *StyleButton, title string) int32

NkButtonLabelStyled function as declared in nk/nuklear.h:3127

func NkButtonPopBehavior

func NkButtonPopBehavior(arg0 *Context) int32

NkButtonPopBehavior function as declared in nk/nuklear.h:3136

func NkButtonPushBehavior

func NkButtonPushBehavior(arg0 *Context, arg1 ButtonBehavior) int32

NkButtonPushBehavior function as declared in nk/nuklear.h:3135

func NkButtonSetBehavior

func NkButtonSetBehavior(arg0 *Context, arg1 ButtonBehavior)

NkButtonSetBehavior function as declared in nk/nuklear.h:3134

func NkButtonSymbol

func NkButtonSymbol(arg0 *Context, arg1 SymbolType) int32

NkButtonSymbol function as declared in nk/nuklear.h:3120

func NkButtonSymbolLabel

func NkButtonSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, textAlignment Flags) int32

NkButtonSymbolLabel function as declared in nk/nuklear.h:3122

func NkButtonSymbolLabelStyled

func NkButtonSymbolLabelStyled(ctx *Context, style *StyleButton, symbol SymbolType, title string, align Flags) int32

NkButtonSymbolLabelStyled function as declared in nk/nuklear.h:3131

func NkButtonSymbolStyled

func NkButtonSymbolStyled(arg0 *Context, arg1 *StyleButton, arg2 SymbolType) int32

NkButtonSymbolStyled function as declared in nk/nuklear.h:3128

func NkButtonSymbolText

func NkButtonSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, alignment Flags) int32

NkButtonSymbolText function as declared in nk/nuklear.h:3123

func NkButtonSymbolTextStyled

func NkButtonSymbolTextStyled(arg0 *Context, arg1 *StyleButton, arg2 SymbolType, arg3 string, arg4 int32, alignment Flags) int32

NkButtonSymbolTextStyled function as declared in nk/nuklear.h:3130

func NkButtonText

func NkButtonText(arg0 *Context, title string, len int32) int32

NkButtonText function as declared in nk/nuklear.h:3117

func NkButtonTextStyled

func NkButtonTextStyled(arg0 *Context, arg1 *StyleButton, title string, len int32) int32

NkButtonTextStyled function as declared in nk/nuklear.h:3126

func NkChartAddSlot

func NkChartAddSlot(ctx *Context, arg1 ChartType, count int32, minValue float32, maxValue float32)

NkChartAddSlot function as declared in nk/nuklear.h:3455

func NkChartAddSlotColored

func NkChartAddSlotColored(ctx *Context, arg1 ChartType, arg2 Color, active Color, count int32, minValue float32, maxValue float32)

NkChartAddSlotColored function as declared in nk/nuklear.h:3456

func NkChartBegin

func NkChartBegin(arg0 *Context, arg1 ChartType, num int32, min float32, max float32) int32

NkChartBegin function as declared in nk/nuklear.h:3453

func NkChartBeginColored

func NkChartBeginColored(arg0 *Context, arg1 ChartType, arg2 Color, active Color, num int32, min float32, max float32) int32

NkChartBeginColored function as declared in nk/nuklear.h:3454

func NkChartEnd

func NkChartEnd(arg0 *Context)

NkChartEnd function as declared in nk/nuklear.h:3459

func NkCheckFlagsLabel

func NkCheckFlagsLabel(arg0 *Context, arg1 string, flags uint32, value uint32) uint32

NkCheckFlagsLabel function as declared in nk/nuklear.h:3144

func NkCheckFlagsText

func NkCheckFlagsText(arg0 *Context, arg1 string, arg2 int32, flags uint32, value uint32) uint32

NkCheckFlagsText function as declared in nk/nuklear.h:3145

func NkCheckLabel

func NkCheckLabel(arg0 *Context, arg1 string, active int32) int32

NkCheckLabel function as declared in nk/nuklear.h:3142

func NkCheckText

func NkCheckText(arg0 *Context, arg1 string, arg2 int32, active int32) int32

NkCheckText function as declared in nk/nuklear.h:3143

func NkCheckboxFlagsLabel

func NkCheckboxFlagsLabel(arg0 *Context, arg1 string, flags *uint32, value uint32) int32

NkCheckboxFlagsLabel function as declared in nk/nuklear.h:3148

func NkCheckboxFlagsText

func NkCheckboxFlagsText(arg0 *Context, arg1 string, arg2 int32, flags *uint32, value uint32) int32

NkCheckboxFlagsText function as declared in nk/nuklear.h:3149

func NkCheckboxLabel

func NkCheckboxLabel(arg0 *Context, arg1 string, active *int32) int32

NkCheckboxLabel function as declared in nk/nuklear.h:3146

func NkCheckboxText

func NkCheckboxText(arg0 *Context, arg1 string, arg2 int32, active *int32) int32

NkCheckboxText function as declared in nk/nuklear.h:3147

func NkClear

func NkClear(arg0 *Context)

NkClear function as declared in nk/nuklear.h:640

func NkColorD

func NkColorD(r *float64, g *float64, b *float64, a *float64, arg4 Color)

NkColorD function as declared in nk/nuklear.h:3668

func NkColorDv

func NkColorDv(rgbaOut []float64, arg1 Color)

NkColorDv function as declared in nk/nuklear.h:3669

func NkColorF

func NkColorF(r *float32, g *float32, b *float32, a *float32, arg4 Color)

NkColorF function as declared in nk/nuklear.h:3665

func NkColorFv

func NkColorFv(rgbaOut []float32, arg1 Color)

NkColorFv function as declared in nk/nuklear.h:3666

func NkColorHexRgb

func NkColorHexRgb(output []byte, arg1 Color)

NkColorHexRgb function as declared in nk/nuklear.h:3673

func NkColorHexRgba

func NkColorHexRgba(output []byte, arg1 Color)

NkColorHexRgba function as declared in nk/nuklear.h:3672

func NkColorHsvB

func NkColorHsvB(outH *byte, outS *byte, outV *byte, arg3 Color)

NkColorHsvB function as declared in nk/nuklear.h:3676

func NkColorHsvBv

func NkColorHsvBv(hsvOut []byte, arg1 Color)

NkColorHsvBv function as declared in nk/nuklear.h:3678

func NkColorHsvF

func NkColorHsvF(outH *float32, outS *float32, outV *float32, arg3 Color)

NkColorHsvF function as declared in nk/nuklear.h:3679

func NkColorHsvFv

func NkColorHsvFv(hsvOut []float32, arg1 Color)

NkColorHsvFv function as declared in nk/nuklear.h:3680

func NkColorHsvI

func NkColorHsvI(outH *int32, outS *int32, outV *int32, arg3 Color)

NkColorHsvI function as declared in nk/nuklear.h:3675

func NkColorHsvIv

func NkColorHsvIv(hsvOut []int32, arg1 Color)

NkColorHsvIv function as declared in nk/nuklear.h:3677

func NkColorHsvaB

func NkColorHsvaB(h *byte, s *byte, v *byte, a *Byte, arg4 Color)

NkColorHsvaB function as declared in nk/nuklear.h:3683

func NkColorHsvaBv

func NkColorHsvaBv(hsvaOut []byte, arg1 Color)

NkColorHsvaBv function as declared in nk/nuklear.h:3685

func NkColorHsvaF

func NkColorHsvaF(outH *float32, outS *float32, outV *float32, outA *float32, arg4 Color)

NkColorHsvaF function as declared in nk/nuklear.h:3686

func NkColorHsvaFv

func NkColorHsvaFv(hsvaOut []float32, arg1 Color)

NkColorHsvaFv function as declared in nk/nuklear.h:3687

func NkColorHsvaI

func NkColorHsvaI(h *int32, s *int32, v *int32, a *int32, arg4 Color)

NkColorHsvaI function as declared in nk/nuklear.h:3682

func NkColorHsvaIv

func NkColorHsvaIv(hsvaOut []int32, arg1 Color)

NkColorHsvaIv function as declared in nk/nuklear.h:3684

func NkColorPick

func NkColorPick(arg0 *Context, arg1 *Colorf, arg2 ColorFormat) int32

NkColorPick function as declared in nk/nuklear.h:3201

func NkColorfHsvaF

func NkColorfHsvaF(outH *float32, outS *float32, outV *float32, outA *float32, in Colorf)

NkColorfHsvaF function as declared in nk/nuklear.h:3649

func NkColorfHsvaFv

func NkColorfHsvaFv(hsva *float32, in Colorf)

NkColorfHsvaFv function as declared in nk/nuklear.h:3650

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:3477

func NkComboBeginColor

func NkComboBeginColor(arg0 *Context, color Color, size Vec2) int32

NkComboBeginColor function as declared in nk/nuklear.h:3492

func NkComboBeginImage

func NkComboBeginImage(arg0 *Context, img Image, size Vec2) int32

NkComboBeginImage function as declared in nk/nuklear.h:3496

func NkComboBeginImageLabel

func NkComboBeginImageLabel(arg0 *Context, selected string, arg2 Image, size Vec2) int32

NkComboBeginImageLabel function as declared in nk/nuklear.h:3497

func NkComboBeginImageText

func NkComboBeginImageText(arg0 *Context, selected string, arg2 int32, arg3 Image, size Vec2) int32

NkComboBeginImageText function as declared in nk/nuklear.h:3498

func NkComboBeginLabel

func NkComboBeginLabel(arg0 *Context, selected string, size Vec2) int32

NkComboBeginLabel function as declared in nk/nuklear.h:3491

func NkComboBeginSymbol

func NkComboBeginSymbol(arg0 *Context, arg1 SymbolType, size Vec2) int32

NkComboBeginSymbol function as declared in nk/nuklear.h:3493

func NkComboBeginSymbolLabel

func NkComboBeginSymbolLabel(arg0 *Context, selected string, arg2 SymbolType, size Vec2) int32

NkComboBeginSymbolLabel function as declared in nk/nuklear.h:3494

func NkComboBeginSymbolText

func NkComboBeginSymbolText(arg0 *Context, selected string, arg2 int32, arg3 SymbolType, size Vec2) int32

NkComboBeginSymbolText function as declared in nk/nuklear.h:3495

func NkComboBeginText

func NkComboBeginText(arg0 *Context, selected string, arg2 int32, size Vec2) int32

NkComboBeginText function as declared in nk/nuklear.h:3490

func NkComboClose

func NkComboClose(arg0 *Context)

NkComboClose function as declared in nk/nuklear.h:3505

func NkComboEnd

func NkComboEnd(arg0 *Context)

NkComboEnd function as declared in nk/nuklear.h:3506

func NkComboItemImageLabel

func NkComboItemImageLabel(arg0 *Context, arg1 Image, arg2 string, alignment Flags) int32

NkComboItemImageLabel function as declared in nk/nuklear.h:3501

func NkComboItemImageText

func NkComboItemImageText(arg0 *Context, arg1 Image, arg2 string, arg3 int32, alignment Flags) int32

NkComboItemImageText function as declared in nk/nuklear.h:3502

func NkComboItemLabel

func NkComboItemLabel(arg0 *Context, arg1 string, alignment Flags) int32

NkComboItemLabel function as declared in nk/nuklear.h:3499

func NkComboItemSymbolLabel

func NkComboItemSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, alignment Flags) int32

NkComboItemSymbolLabel function as declared in nk/nuklear.h:3503

func NkComboItemSymbolText

func NkComboItemSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, alignment Flags) int32

NkComboItemSymbolText function as declared in nk/nuklear.h:3504

func NkComboItemText

func NkComboItemText(arg0 *Context, arg1 string, arg2 int32, alignment Flags) int32

NkComboItemText function as declared in nk/nuklear.h:3500

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:3478

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:3479

func NkCombobox

func NkCombobox(arg0 *Context, items []string, count int32, selected *int32, itemHeight int32, size Vec2)

NkCombobox function as declared in nk/nuklear.h:3481

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:3483

func NkComboboxString

func NkComboboxString(arg0 *Context, itemsSeparatedByZeros string, selected *int32, count int32, itemHeight int32, size Vec2)

NkComboboxString function as declared in nk/nuklear.h:3482

func NkContextualBegin

func NkContextualBegin(arg0 *Context, arg1 Flags, arg2 Vec2, triggerBounds Rect) int32

NkContextualBegin function as declared in nk/nuklear.h:3512

func NkContextualClose

func NkContextualClose(arg0 *Context)

NkContextualClose function as declared in nk/nuklear.h:3519

func NkContextualEnd

func NkContextualEnd(arg0 *Context)

NkContextualEnd function as declared in nk/nuklear.h:3520

func NkContextualItemImageLabel

func NkContextualItemImageLabel(arg0 *Context, arg1 Image, arg2 string, alignment Flags) int32

NkContextualItemImageLabel function as declared in nk/nuklear.h:3515

func NkContextualItemImageText

func NkContextualItemImageText(arg0 *Context, arg1 Image, arg2 string, len int32, alignment Flags) int32

NkContextualItemImageText function as declared in nk/nuklear.h:3516

func NkContextualItemLabel

func NkContextualItemLabel(arg0 *Context, arg1 string, align Flags) int32

NkContextualItemLabel function as declared in nk/nuklear.h:3514

func NkContextualItemSymbolLabel

func NkContextualItemSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, alignment Flags) int32

NkContextualItemSymbolLabel function as declared in nk/nuklear.h:3517

func NkContextualItemSymbolText

func NkContextualItemSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, alignment Flags) int32

NkContextualItemSymbolText function as declared in nk/nuklear.h:3518

func NkContextualItemText

func NkContextualItemText(arg0 *Context, arg1 string, arg2 int32, align Flags) int32

NkContextualItemText function as declared in nk/nuklear.h:3513

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:4589

func NkDrawListAddImage

func NkDrawListAddImage(arg0 *DrawList, texture Image, rect Rect, arg3 Color)

NkDrawListAddImage function as declared in nk/nuklear.h:4792

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:4793

func NkDrawListFillCircle

func NkDrawListFillCircle(arg0 *DrawList, center Vec2, radius float32, col Color, segs uint32)

NkDrawListFillCircle function as declared in nk/nuklear.h:4788

func NkDrawListFillPolyConvex

func NkDrawListFillPolyConvex(arg0 *DrawList, points *Vec2, count uint32, arg3 Color, arg4 AntiAliasing)

NkDrawListFillPolyConvex function as declared in nk/nuklear.h:4789

func NkDrawListFillRect

func NkDrawListFillRect(arg0 *DrawList, rect Rect, arg2 Color, rounding float32)

NkDrawListFillRect function as declared in nk/nuklear.h:4785

func NkDrawListFillRectMultiColor

func NkDrawListFillRectMultiColor(arg0 *DrawList, rect Rect, left Color, top Color, right Color, bottom Color)

NkDrawListFillRectMultiColor function as declared in nk/nuklear.h:4786

func NkDrawListFillTriangle

func NkDrawListFillTriangle(arg0 *DrawList, a Vec2, b Vec2, c Vec2, arg4 Color)

NkDrawListFillTriangle function as declared in nk/nuklear.h:4787

func NkDrawListInit

func NkDrawListInit(arg0 *DrawList)

NkDrawListInit function as declared in nk/nuklear.h:4757

func NkDrawListPathArcTo

func NkDrawListPathArcTo(arg0 *DrawList, center Vec2, radius float32, aMin float32, aMax float32, segments uint32)

NkDrawListPathArcTo function as declared in nk/nuklear.h:4770

func NkDrawListPathArcToFast

func NkDrawListPathArcToFast(arg0 *DrawList, center Vec2, radius float32, aMin int32, aMax int32)

NkDrawListPathArcToFast function as declared in nk/nuklear.h:4769

func NkDrawListPathClear

func NkDrawListPathClear(arg0 *DrawList)

NkDrawListPathClear function as declared in nk/nuklear.h:4767

func NkDrawListPathCurveTo

func NkDrawListPathCurveTo(arg0 *DrawList, p2 Vec2, p3 Vec2, p4 Vec2, numSegments uint32)

NkDrawListPathCurveTo function as declared in nk/nuklear.h:4772

func NkDrawListPathFill

func NkDrawListPathFill(arg0 *DrawList, arg1 Color)

NkDrawListPathFill function as declared in nk/nuklear.h:4773

func NkDrawListPathLineTo

func NkDrawListPathLineTo(arg0 *DrawList, pos Vec2)

NkDrawListPathLineTo function as declared in nk/nuklear.h:4768

func NkDrawListPathRectTo

func NkDrawListPathRectTo(arg0 *DrawList, a Vec2, b Vec2, rounding float32)

NkDrawListPathRectTo function as declared in nk/nuklear.h:4771

func NkDrawListPathStroke

func NkDrawListPathStroke(arg0 *DrawList, arg1 Color, closed DrawListStroke, thickness float32)

NkDrawListPathStroke function as declared in nk/nuklear.h:4774

func NkDrawListSetup

func NkDrawListSetup(arg0 *DrawList, arg1 *ConvertConfig, cmds *Buffer, vertices *Buffer, elements []Buffer, lineAa AntiAliasing, shapeAa AntiAliasing)

NkDrawListSetup function as declared in nk/nuklear.h:4758

func NkDrawListStrokeCircle

func NkDrawListStrokeCircle(arg0 *DrawList, center Vec2, radius float32, arg3 Color, segs uint32, thickness float32)

NkDrawListStrokeCircle function as declared in nk/nuklear.h:4780

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:4781

func NkDrawListStrokeLine

func NkDrawListStrokeLine(arg0 *DrawList, a Vec2, b Vec2, arg3 Color, thickness float32)

NkDrawListStrokeLine function as declared in nk/nuklear.h:4777

func NkDrawListStrokePolyLine

func NkDrawListStrokePolyLine(arg0 *DrawList, pnts *Vec2, cnt uint32, arg3 Color, arg4 DrawListStroke, thickness float32, arg6 AntiAliasing)

NkDrawListStrokePolyLine function as declared in nk/nuklear.h:4782

func NkDrawListStrokeRect

func NkDrawListStrokeRect(arg0 *DrawList, rect Rect, arg2 Color, rounding float32, thickness float32)

NkDrawListStrokeRect function as declared in nk/nuklear.h:4778

func NkDrawListStrokeTriangle

func NkDrawListStrokeTriangle(arg0 *DrawList, a Vec2, b Vec2, c Vec2, arg4 Color, thickness float32)

NkDrawListStrokeTriangle function as declared in nk/nuklear.h:4779

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:4590

func NkEditFocus

func NkEditFocus(arg0 *Context, flags Flags)

NkEditFocus function as declared in nk/nuklear.h:3446

func NkEditUnfocus

func NkEditUnfocus(arg0 *Context)

NkEditUnfocus function as declared in nk/nuklear.h:3447

func NkEnd

func NkEnd(ctx *Context)

NkEnd function as declared in nk/nuklear.h:1514

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:4584

func NkFillCircle

func NkFillCircle(arg0 *CommandBuffer, arg1 Rect, arg2 Color)

NkFillCircle function as declared in nk/nuklear.h:4583

func NkFillPolygon

func NkFillPolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, arg3 Color)

NkFillPolygon function as declared in nk/nuklear.h:4586

func NkFillRect

func NkFillRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, arg3 Color)

NkFillRect function as declared in nk/nuklear.h:4581

func NkFillRectMultiColor

func NkFillRectMultiColor(arg0 *CommandBuffer, arg1 Rect, left Color, top Color, right Color, bottom Color)

NkFillRectMultiColor function as declared in nk/nuklear.h:4582

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:4585

func NkFilterAscii

func NkFilterAscii(arg0 *TextEdit, unicode Rune) int32

NkFilterAscii function as declared in nk/nuklear.h:4302

func NkFilterBinary

func NkFilterBinary(arg0 *TextEdit, unicode Rune) int32

NkFilterBinary function as declared in nk/nuklear.h:4307

func NkFilterDecimal

func NkFilterDecimal(arg0 *TextEdit, unicode Rune) int32

NkFilterDecimal function as declared in nk/nuklear.h:4304

func NkFilterDefault

func NkFilterDefault(arg0 *TextEdit, unicode Rune) int32

NkFilterDefault function as declared in nk/nuklear.h:4301

func NkFilterFloat

func NkFilterFloat(arg0 *TextEdit, unicode Rune) int32

NkFilterFloat function as declared in nk/nuklear.h:4303

func NkFilterHex

func NkFilterHex(arg0 *TextEdit, unicode Rune) int32

NkFilterHex function as declared in nk/nuklear.h:4305

func NkFilterOct

func NkFilterOct(arg0 *TextEdit, unicode Rune) int32

NkFilterOct function as declared in nk/nuklear.h:4306

func NkFontAtlasBake

func NkFontAtlasBake(arg0 *FontAtlas, width *int32, height *int32, arg3 FontAtlasFormat) unsafe.Pointer

NkFontAtlasBake function as declared in nk/nuklear.h:4051

func NkFontAtlasBegin

func NkFontAtlasBegin(arg0 *FontAtlas)

NkFontAtlasBegin function as declared in nk/nuklear.h:4039

func NkFontAtlasCleanup

func NkFontAtlasCleanup(atlas *FontAtlas)

NkFontAtlasCleanup function as declared in nk/nuklear.h:4054

func NkFontAtlasClear

func NkFontAtlasClear(arg0 *FontAtlas)

NkFontAtlasClear function as declared in nk/nuklear.h:4055

func NkFontAtlasEnd

func NkFontAtlasEnd(arg0 *FontAtlas, tex Handle, arg2 *DrawNullTexture)

NkFontAtlasEnd function as declared in nk/nuklear.h:4052

func NkFontAtlasInit

func NkFontAtlasInit(arg0 *FontAtlas, arg1 *Allocator)

NkFontAtlasInit function as declared in nk/nuklear.h:4037

func NkFontAtlasInitCustom

func NkFontAtlasInitCustom(arg0 *FontAtlas, persistent *Allocator, transient *Allocator)

NkFontAtlasInitCustom function as declared in nk/nuklear.h:4038

func NkFontAtlasInitDefault

func NkFontAtlasInitDefault(arg0 *FontAtlas)

NkFontAtlasInitDefault function as declared in nk/nuklear.h:4035

func NkFontStashBegin

func NkFontStashBegin(atlas **FontAtlas)

func NkFontStashEnd

func NkFontStashEnd()

func NkFree

func NkFree(arg0 *Context)

NkFree function as declared in nk/nuklear.h:653

func NkGroupBegin

func NkGroupBegin(arg0 *Context, title string, arg2 Flags) int32

NkGroupBegin function as declared in nk/nuklear.h:2663

func NkGroupBeginTitled

func NkGroupBeginTitled(arg0 *Context, name string, title string, arg3 Flags) int32

NkGroupBeginTitled function as declared in nk/nuklear.h:2679

func NkGroupEnd

func NkGroupEnd(arg0 *Context)

NkGroupEnd function as declared in nk/nuklear.h:2690

func NkGroupGetScroll

func NkGroupGetScroll(arg0 *Context, id string, xOffset *Uint, yOffset *Uint)

NkGroupGetScroll function as declared in nk/nuklear.h:2750

func NkGroupScrolledBegin

func NkGroupScrolledBegin(arg0 *Context, off *Scroll, title string, arg3 Flags) int32

NkGroupScrolledBegin function as declared in nk/nuklear.h:2725

func NkGroupScrolledEnd

func NkGroupScrolledEnd(arg0 *Context)

NkGroupScrolledEnd function as declared in nk/nuklear.h:2736

func NkGroupScrolledOffsetBegin

func NkGroupScrolledOffsetBegin(arg0 *Context, xOffset *Uint, yOffset *Uint, title string, flags Flags) int32

NkGroupScrolledOffsetBegin function as declared in nk/nuklear.h:2708

func NkGroupSetScroll

func NkGroupSetScroll(arg0 *Context, id string, xOffset Uint, yOffset Uint)

NkGroupSetScroll function as declared in nk/nuklear.h:2764

func NkImage

func NkImage(arg0 *Context, arg1 Image)

NkImage function as declared in nk/nuklear.h:3093

func NkImageColor

func NkImageColor(arg0 *Context, arg1 Image, arg2 Color)

NkImageColor function as declared in nk/nuklear.h:3094

func NkImageIsSubimage

func NkImageIsSubimage(img *Image) int32

NkImageIsSubimage function as declared in nk/nuklear.h:3698

func NkInit

func NkInit(arg0 *Context, arg1 *Allocator, arg2 *UserFont) int32

NkInit function as declared in nk/nuklear.h:607

func NkInitCustom

func NkInitCustom(arg0 *Context, cmds *Buffer, pool *Buffer, arg3 *UserFont) int32

NkInitCustom function as declared in nk/nuklear.h:626

func NkInitDefault

func NkInitDefault(arg0 *Context, arg1 *UserFont) int32

NkInitDefault function as declared in nk/nuklear.h:564

func NkInitFixed

func NkInitFixed(arg0 *Context, memory unsafe.Pointer, size Size, arg3 *UserFont) int32

NkInitFixed function as declared in nk/nuklear.h:589

func NkInputAnyMouseClickInRect

func NkInputAnyMouseClickInRect(arg0 *Input, arg1 Rect) int32

NkInputAnyMouseClickInRect function as declared in nk/nuklear.h:4635

func NkInputBegin

func NkInputBegin(arg0 *Context)

NkInputBegin function as declared in nk/nuklear.h:789

func NkInputButton

func NkInputButton(arg0 *Context, arg1 Buttons, x int32, y int32, down int32)

NkInputButton function as declared in nk/nuklear.h:833

func NkInputChar

func NkInputChar(arg0 *Context, arg1 byte)

NkInputChar function as declared in nk/nuklear.h:866

func NkInputEnd

func NkInputEnd(arg0 *Context)

NkInputEnd function as declared in nk/nuklear.h:912

func NkInputHasMouseClick

func NkInputHasMouseClick(arg0 *Input, arg1 Buttons) int32

NkInputHasMouseClick function as declared in nk/nuklear.h:4630

func NkInputHasMouseClickDownInRect

func NkInputHasMouseClickDownInRect(arg0 *Input, arg1 Buttons, arg2 Rect, down int32) int32

NkInputHasMouseClickDownInRect function as declared in nk/nuklear.h:4632

func NkInputHasMouseClickInRect

func NkInputHasMouseClickInRect(arg0 *Input, arg1 Buttons, arg2 Rect) int32

NkInputHasMouseClickInRect function as declared in nk/nuklear.h:4631

func NkInputIsKeyDown

func NkInputIsKeyDown(arg0 *Input, arg1 Keys) int32

NkInputIsKeyDown function as declared in nk/nuklear.h:4644

func NkInputIsKeyPressed

func NkInputIsKeyPressed(arg0 *Input, arg1 Keys) int32

NkInputIsKeyPressed function as declared in nk/nuklear.h:4642

func NkInputIsKeyReleased

func NkInputIsKeyReleased(arg0 *Input, arg1 Keys) int32

NkInputIsKeyReleased function as declared in nk/nuklear.h:4643

func NkInputIsMouseClickDownInRect

func NkInputIsMouseClickDownInRect(i *Input, id Buttons, b Rect, down int32) int32

NkInputIsMouseClickDownInRect function as declared in nk/nuklear.h:4634

func NkInputIsMouseClickInRect

func NkInputIsMouseClickInRect(arg0 *Input, arg1 Buttons, arg2 Rect) int32

NkInputIsMouseClickInRect function as declared in nk/nuklear.h:4633

func NkInputIsMouseDown

func NkInputIsMouseDown(arg0 *Input, arg1 Buttons) int32

NkInputIsMouseDown function as declared in nk/nuklear.h:4639

func NkInputIsMouseHoveringRect

func NkInputIsMouseHoveringRect(arg0 *Input, arg1 Rect) int32

NkInputIsMouseHoveringRect function as declared in nk/nuklear.h:4637

func NkInputIsMousePressed

func NkInputIsMousePressed(arg0 *Input, arg1 Buttons) int32

NkInputIsMousePressed function as declared in nk/nuklear.h:4640

func NkInputIsMousePrevHoveringRect

func NkInputIsMousePrevHoveringRect(arg0 *Input, arg1 Rect) int32

NkInputIsMousePrevHoveringRect function as declared in nk/nuklear.h:4636

func NkInputIsMouseReleased

func NkInputIsMouseReleased(arg0 *Input, arg1 Buttons) int32

NkInputIsMouseReleased function as declared in nk/nuklear.h:4641

func NkInputKey

func NkInputKey(arg0 *Context, arg1 Keys, down int32)

NkInputKey function as declared in nk/nuklear.h:817

func NkInputMotion

func NkInputMotion(arg0 *Context, x int32, y int32)

NkInputMotion function as declared in nk/nuklear.h:803

func NkInputMouseClicked

func NkInputMouseClicked(arg0 *Input, arg1 Buttons, arg2 Rect) int32

NkInputMouseClicked function as declared in nk/nuklear.h:4638

func NkInputScroll

func NkInputScroll(arg0 *Context, val Vec2)

NkInputScroll function as declared in nk/nuklear.h:848

func NkInputUnicode

func NkInputUnicode(arg0 *Context, arg1 Rune)

NkInputUnicode function as declared in nk/nuklear.h:899

func NkItemIsAnyActive

func NkItemIsAnyActive(arg0 *Context) int32

NkItemIsAnyActive function as declared in nk/nuklear.h:1853

func NkLabel

func NkLabel(arg0 *Context, arg1 string, align Flags)

NkLabel function as declared in nk/nuklear.h:3089

func NkLabelColored

func NkLabelColored(arg0 *Context, arg1 string, align Flags, arg3 Color)

NkLabelColored function as declared in nk/nuklear.h:3090

func NkLabelColoredWrap

func NkLabelColoredWrap(arg0 *Context, arg1 string, arg2 Color)

NkLabelColoredWrap function as declared in nk/nuklear.h:3092

func NkLabelWrap

func NkLabelWrap(arg0 *Context, arg1 string)

NkLabelWrap function as declared in nk/nuklear.h:3091

func NkLayoutRatioFromPixel

func NkLayoutRatioFromPixel(arg0 *Context, pixelWidth float32) float32

NkLayoutRatioFromPixel function as declared in nk/nuklear.h:2313

func NkLayoutResetMinRowHeight

func NkLayoutResetMinRowHeight(arg0 *Context)

NkLayoutResetMinRowHeight function as declared in nk/nuklear.h:2286

func NkLayoutRow

func NkLayoutRow(arg0 *Context, arg1 LayoutFormat, height float32, cols int32, ratio []float32)

NkLayoutRow function as declared in nk/nuklear.h:2395

func NkLayoutRowBegin

func NkLayoutRowBegin(ctx *Context, fmt LayoutFormat, rowHeight float32, cols int32)

NkLayoutRowBegin function as declared in nk/nuklear.h:2358

func NkLayoutRowDynamic

func NkLayoutRowDynamic(ctx *Context, height float32, cols int32)

NkLayoutRowDynamic function as declared in nk/nuklear.h:2328

func NkLayoutRowEnd

func NkLayoutRowEnd(arg0 *Context)

NkLayoutRowEnd function as declared in nk/nuklear.h:2381

func NkLayoutRowPush

func NkLayoutRowPush(arg0 *Context, value float32)

NkLayoutRowPush function as declared in nk/nuklear.h:2370

func NkLayoutRowStatic

func NkLayoutRowStatic(ctx *Context, height float32, itemWidth int32, cols int32)

NkLayoutRowStatic function as declared in nk/nuklear.h:2344

func NkLayoutRowTemplateBegin

func NkLayoutRowTemplateBegin(arg0 *Context, rowHeight float32)

NkLayoutRowTemplateBegin function as declared in nk/nuklear.h:2407

func NkLayoutRowTemplateEnd

func NkLayoutRowTemplateEnd(arg0 *Context)

NkLayoutRowTemplateEnd function as declared in nk/nuklear.h:2454

func NkLayoutRowTemplatePushDynamic

func NkLayoutRowTemplatePushDynamic(arg0 *Context)

NkLayoutRowTemplatePushDynamic function as declared in nk/nuklear.h:2419

func NkLayoutRowTemplatePushStatic

func NkLayoutRowTemplatePushStatic(arg0 *Context, width float32)

NkLayoutRowTemplatePushStatic function as declared in nk/nuklear.h:2443

func NkLayoutRowTemplatePushVariable

func NkLayoutRowTemplatePushVariable(arg0 *Context, minWidth float32)

NkLayoutRowTemplatePushVariable function as declared in nk/nuklear.h:2431

func NkLayoutSetMinRowHeight

func NkLayoutSetMinRowHeight(arg0 *Context, height float32)

NkLayoutSetMinRowHeight function as declared in nk/nuklear.h:2275

func NkLayoutSpaceBegin

func NkLayoutSpaceBegin(arg0 *Context, arg1 LayoutFormat, height float32, widgetCount int32)

NkLayoutSpaceBegin function as declared in nk/nuklear.h:2468

func NkLayoutSpaceEnd

func NkLayoutSpaceEnd(arg0 *Context)

NkLayoutSpaceEnd function as declared in nk/nuklear.h:2491

func NkLayoutSpacePush

func NkLayoutSpacePush(arg0 *Context, bounds Rect)

NkLayoutSpacePush function as declared in nk/nuklear.h:2480

func NkListViewBegin

func NkListViewBegin(arg0 *Context, out *ListView, id string, arg3 Flags, rowHeight int32, rowCount int32) int32

NkListViewBegin function as declared in nk/nuklear.h:3034

func NkListViewEnd

func NkListViewEnd(arg0 *ListView)

NkListViewEnd function as declared in nk/nuklear.h:3035

func NkMenuBeginImage

func NkMenuBeginImage(arg0 *Context, arg1 string, arg2 Image, size Vec2) int32

NkMenuBeginImage function as declared in nk/nuklear.h:3542

func NkMenuBeginImageLabel

func NkMenuBeginImageLabel(arg0 *Context, arg1 string, align Flags, arg3 Image, size Vec2) int32

NkMenuBeginImageLabel function as declared in nk/nuklear.h:3544

func NkMenuBeginImageText

func NkMenuBeginImageText(arg0 *Context, arg1 string, arg2 int32, align Flags, arg4 Image, size Vec2) int32

NkMenuBeginImageText function as declared in nk/nuklear.h:3543

func NkMenuBeginLabel

func NkMenuBeginLabel(arg0 *Context, arg1 string, align Flags, size Vec2) int32

NkMenuBeginLabel function as declared in nk/nuklear.h:3541

func NkMenuBeginSymbol

func NkMenuBeginSymbol(arg0 *Context, arg1 string, arg2 SymbolType, size Vec2) int32

NkMenuBeginSymbol function as declared in nk/nuklear.h:3545

func NkMenuBeginSymbolLabel

func NkMenuBeginSymbolLabel(arg0 *Context, arg1 string, align Flags, arg3 SymbolType, size Vec2) int32

NkMenuBeginSymbolLabel function as declared in nk/nuklear.h:3547

func NkMenuBeginSymbolText

func NkMenuBeginSymbolText(arg0 *Context, arg1 string, arg2 int32, align Flags, arg4 SymbolType, size Vec2) int32

NkMenuBeginSymbolText function as declared in nk/nuklear.h:3546

func NkMenuBeginText

func NkMenuBeginText(arg0 *Context, title string, titleLen int32, align Flags, size Vec2) int32

NkMenuBeginText function as declared in nk/nuklear.h:3540

func NkMenuClose

func NkMenuClose(arg0 *Context)

NkMenuClose function as declared in nk/nuklear.h:3554

func NkMenuEnd

func NkMenuEnd(arg0 *Context)

NkMenuEnd function as declared in nk/nuklear.h:3555

func NkMenuItemImageLabel

func NkMenuItemImageLabel(arg0 *Context, arg1 Image, arg2 string, alignment Flags) int32

NkMenuItemImageLabel function as declared in nk/nuklear.h:3550

func NkMenuItemImageText

func NkMenuItemImageText(arg0 *Context, arg1 Image, arg2 string, len int32, alignment Flags) int32

NkMenuItemImageText function as declared in nk/nuklear.h:3551

func NkMenuItemLabel

func NkMenuItemLabel(arg0 *Context, arg1 string, alignment Flags) int32

NkMenuItemLabel function as declared in nk/nuklear.h:3549

func NkMenuItemSymbolLabel

func NkMenuItemSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, alignment Flags) int32

NkMenuItemSymbolLabel function as declared in nk/nuklear.h:3553

func NkMenuItemSymbolText

func NkMenuItemSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, alignment Flags) int32

NkMenuItemSymbolText function as declared in nk/nuklear.h:3552

func NkMenuItemText

func NkMenuItemText(arg0 *Context, arg1 string, arg2 int32, align Flags) int32

NkMenuItemText function as declared in nk/nuklear.h:3548

func NkMenubarBegin

func NkMenubarBegin(arg0 *Context)

NkMenubarBegin function as declared in nk/nuklear.h:3538

func NkMenubarEnd

func NkMenubarEnd(arg0 *Context)

NkMenubarEnd function as declared in nk/nuklear.h:3539

func NkOptionLabel

func NkOptionLabel(arg0 *Context, arg1 string, active int32) int32

NkOptionLabel function as declared in nk/nuklear.h:3157

func NkOptionText

func NkOptionText(arg0 *Context, arg1 string, arg2 int32, active int32) int32

NkOptionText function as declared in nk/nuklear.h:3158

func NkPlatformDisplayHandle

func NkPlatformDisplayHandle() *glfw.Window

func NkPlatformNewFrame

func NkPlatformNewFrame()

func NkPlatformRender

func NkPlatformRender(aa AntiAliasing, maxVertexBuffer, maxElementBuffer int)

func NkPlatformShutdown

func NkPlatformShutdown()

func NkPlot

func NkPlot(arg0 *Context, arg1 ChartType, values *float32, count int32, offset int32)

NkPlot function as declared in nk/nuklear.h:3460

func NkPopupBegin

func NkPopupBegin(arg0 *Context, arg1 PopupType, arg2 string, arg3 Flags, bounds Rect) int32

NkPopupBegin function as declared in nk/nuklear.h:3467

func NkPopupClose

func NkPopupClose(arg0 *Context)

NkPopupClose function as declared in nk/nuklear.h:3468

func NkPopupEnd

func NkPopupEnd(arg0 *Context)

NkPopupEnd function as declared in nk/nuklear.h:3469

func NkPopupGetScroll

func NkPopupGetScroll(arg0 *Context, offsetX *Uint, offsetY *Uint)

NkPopupGetScroll function as declared in nk/nuklear.h:3470

func NkPopupSetScroll

func NkPopupSetScroll(arg0 *Context, offsetX Uint, offsetY Uint)

NkPopupSetScroll function as declared in nk/nuklear.h:3471

func NkProgress

func NkProgress(arg0 *Context, cur *Size, max Size, modifyable int32) int32

NkProgress function as declared in nk/nuklear.h:3192

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:3340

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:3319

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:3298

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:3409

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:3386

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:3363

func NkPushCustom

func NkPushCustom(arg0 *CommandBuffer, arg1 Rect, arg2 CommandCustomCallback, usr Handle)

NkPushCustom function as declared in nk/nuklear.h:4592

func NkPushScissor

func NkPushScissor(arg0 *CommandBuffer, arg1 Rect)

NkPushScissor function as declared in nk/nuklear.h:4591

func NkRadioLabel

func NkRadioLabel(arg0 *Context, arg1 string, active *int32) int32

NkRadioLabel function as declared in nk/nuklear.h:3155

func NkRadioText

func NkRadioText(arg0 *Context, arg1 string, arg2 int32, active *int32) int32

NkRadioText function as declared in nk/nuklear.h:3156

func NkRegisterClipboard

func NkRegisterClipboard(ctx *Context)

NkRegisterClipboard function as declared in nk/nk.h:5

func NkSelectImageLabel

func NkSelectImageLabel(arg0 *Context, arg1 Image, arg2 string, align Flags, value int32) int32

NkSelectImageLabel function as declared in nk/nuklear.h:3173

func NkSelectImageText

func NkSelectImageText(arg0 *Context, arg1 Image, arg2 string, arg3 int32, align Flags, value int32) int32

NkSelectImageText function as declared in nk/nuklear.h:3174

func NkSelectLabel

func NkSelectLabel(arg0 *Context, arg1 string, align Flags, value int32) int32

NkSelectLabel function as declared in nk/nuklear.h:3171

func NkSelectSymbolLabel

func NkSelectSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, align Flags, value int32) int32

NkSelectSymbolLabel function as declared in nk/nuklear.h:3175

func NkSelectSymbolText

func NkSelectSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, align Flags, value int32) int32

NkSelectSymbolText function as declared in nk/nuklear.h:3176

func NkSelectText

func NkSelectText(arg0 *Context, arg1 string, arg2 int32, align Flags, value int32) int32

NkSelectText function as declared in nk/nuklear.h:3172

func NkSelectableImageLabel

func NkSelectableImageLabel(arg0 *Context, arg1 Image, arg2 string, align Flags, value []int32) int32

NkSelectableImageLabel function as declared in nk/nuklear.h:3166

func NkSelectableImageText

func NkSelectableImageText(arg0 *Context, arg1 Image, arg2 string, arg3 int32, align Flags, value []int32) int32

NkSelectableImageText function as declared in nk/nuklear.h:3167

func NkSelectableLabel

func NkSelectableLabel(arg0 *Context, arg1 string, align Flags, value *int32) int32

NkSelectableLabel function as declared in nk/nuklear.h:3164

func NkSelectableSymbolLabel

func NkSelectableSymbolLabel(arg0 *Context, arg1 SymbolType, arg2 string, align Flags, value []int32) int32

NkSelectableSymbolLabel function as declared in nk/nuklear.h:3168

func NkSelectableSymbolText

func NkSelectableSymbolText(arg0 *Context, arg1 SymbolType, arg2 string, arg3 int32, align Flags, value []int32) int32

NkSelectableSymbolText function as declared in nk/nuklear.h:3169

func NkSelectableText

func NkSelectableText(arg0 *Context, arg1 string, arg2 int32, align Flags, value []int32) int32

NkSelectableText function as declared in nk/nuklear.h:3165

func NkSlideFloat

func NkSlideFloat(arg0 *Context, min float32, val float32, max float32, step float32) float32

NkSlideFloat function as declared in nk/nuklear.h:3183

func NkSlideInt

func NkSlideInt(arg0 *Context, min int32, val int32, max int32, step int32) int32

NkSlideInt function as declared in nk/nuklear.h:3184

func NkSliderFloat

func NkSliderFloat(arg0 *Context, min float32, val *float32, max float32, step float32) int32

NkSliderFloat function as declared in nk/nuklear.h:3185

func NkSliderInt

func NkSliderInt(arg0 *Context, min int32, val *int32, max int32, step int32) int32

NkSliderInt function as declared in nk/nuklear.h:3186

func NkSpacing

func NkSpacing(arg0 *Context, cols int32)

NkSpacing function as declared in nk/nuklear.h:3066

func NkStrAppendStrChar

func NkStrAppendStrChar(arg0 *Str, arg1 string) int32

NkStrAppendStrChar function as declared in nk/nuklear.h:4178

func NkStrAppendStrRunes

func NkStrAppendStrRunes(arg0 *Str, arg1 *Rune) int32

NkStrAppendStrRunes function as declared in nk/nuklear.h:4182

func NkStrAppendStrUtf8

func NkStrAppendStrUtf8(arg0 *Str, arg1 string) int32

NkStrAppendStrUtf8 function as declared in nk/nuklear.h:4180

func NkStrAppendTextChar

func NkStrAppendTextChar(arg0 *Str, arg1 string, arg2 int32) int32

NkStrAppendTextChar function as declared in nk/nuklear.h:4177

func NkStrAppendTextRunes

func NkStrAppendTextRunes(arg0 *Str, arg1 *Rune, arg2 int32) int32

NkStrAppendTextRunes function as declared in nk/nuklear.h:4181

func NkStrAppendTextUtf8

func NkStrAppendTextUtf8(arg0 *Str, arg1 string, arg2 int32) int32

NkStrAppendTextUtf8 function as declared in nk/nuklear.h:4179

func NkStrAtChar

func NkStrAtChar(arg0 *Str, pos int32) *byte

NkStrAtChar function as declared in nk/nuklear.h:4199

func NkStrAtCharConst

func NkStrAtCharConst(arg0 *Str, pos int32) string

NkStrAtCharConst function as declared in nk/nuklear.h:4202

func NkStrAtConst

func NkStrAtConst(arg0 *Str, pos int32, unicode *Rune, len *int32) string

NkStrAtConst function as declared in nk/nuklear.h:4203

func NkStrAtRune

func NkStrAtRune(arg0 *Str, pos int32, unicode *Rune, len *int32) *byte

NkStrAtRune function as declared in nk/nuklear.h:4200

func NkStrClear

func NkStrClear(arg0 *Str)

NkStrClear function as declared in nk/nuklear.h:4174

func NkStrDeleteChars

func NkStrDeleteChars(arg0 *Str, pos int32, len int32)

NkStrDeleteChars function as declared in nk/nuklear.h:4196

func NkStrDeleteRunes

func NkStrDeleteRunes(arg0 *Str, pos int32, len int32)

NkStrDeleteRunes function as declared in nk/nuklear.h:4197

func NkStrFree

func NkStrFree(arg0 *Str)

NkStrFree function as declared in nk/nuklear.h:4175

func NkStrGet

func NkStrGet(arg0 *Str) *byte

NkStrGet function as declared in nk/nuklear.h:4205

func NkStrGetConst

func NkStrGetConst(arg0 *Str) string

NkStrGetConst function as declared in nk/nuklear.h:4206

func NkStrInit

func NkStrInit(arg0 *Str, arg1 *Allocator, size Size)

NkStrInit function as declared in nk/nuklear.h:4172

func NkStrInitDefault

func NkStrInitDefault(arg0 *Str)

NkStrInitDefault function as declared in nk/nuklear.h:4170

func NkStrInitFixed

func NkStrInitFixed(arg0 *Str, memory unsafe.Pointer, size Size)

NkStrInitFixed function as declared in nk/nuklear.h:4173

func NkStrInsertAtChar

func NkStrInsertAtChar(arg0 *Str, pos int32, arg2 string, arg3 int32) int32

NkStrInsertAtChar function as declared in nk/nuklear.h:4184

func NkStrInsertAtRune

func NkStrInsertAtRune(arg0 *Str, pos int32, arg2 string, arg3 int32) int32

NkStrInsertAtRune function as declared in nk/nuklear.h:4185

func NkStrInsertStrChar

func NkStrInsertStrChar(arg0 *Str, pos int32, arg2 string) int32

NkStrInsertStrChar function as declared in nk/nuklear.h:4188

func NkStrInsertStrRunes

func NkStrInsertStrRunes(arg0 *Str, pos int32, arg2 *Rune) int32

NkStrInsertStrRunes function as declared in nk/nuklear.h:4192

func NkStrInsertStrUtf8

func NkStrInsertStrUtf8(arg0 *Str, pos int32, arg2 string) int32

NkStrInsertStrUtf8 function as declared in nk/nuklear.h:4190

func NkStrInsertTextChar

func NkStrInsertTextChar(arg0 *Str, pos int32, arg2 string, arg3 int32) int32

NkStrInsertTextChar function as declared in nk/nuklear.h:4187

func NkStrInsertTextRunes

func NkStrInsertTextRunes(arg0 *Str, pos int32, arg2 *Rune, arg3 int32) int32

NkStrInsertTextRunes function as declared in nk/nuklear.h:4191

func NkStrInsertTextUtf8

func NkStrInsertTextUtf8(arg0 *Str, pos int32, arg2 string, arg3 int32) int32

NkStrInsertTextUtf8 function as declared in nk/nuklear.h:4189

func NkStrLen

func NkStrLen(arg0 *Str) int32

NkStrLen function as declared in nk/nuklear.h:4207

func NkStrLenChar

func NkStrLenChar(arg0 *Str) int32

NkStrLenChar function as declared in nk/nuklear.h:4208

func NkStrRemoveChars

func NkStrRemoveChars(arg0 *Str, len int32)

NkStrRemoveChars function as declared in nk/nuklear.h:4194

func NkStrRemoveRunes

func NkStrRemoveRunes(str *Str, len int32)

NkStrRemoveRunes function as declared in nk/nuklear.h:4195

func NkStrfilter

func NkStrfilter(text string, regexp string) int32

NkStrfilter function as declared in nk/nuklear.h:3734

func NkStricmp

func NkStricmp(s1 string, s2 string) int32

NkStricmp function as declared in nk/nuklear.h:3729

func NkStricmpn

func NkStricmpn(s1 string, s2 string, n int32) int32

NkStricmpn function as declared in nk/nuklear.h:3730

func NkStrlen

func NkStrlen(str string) int32

NkStrlen function as declared in nk/nuklear.h:3728

func NkStrmatchFuzzyString

func NkStrmatchFuzzyString(str string, pattern string, outScore *int32) int32

NkStrmatchFuzzyString function as declared in nk/nuklear.h:3735

func NkStrmatchFuzzyText

func NkStrmatchFuzzyText(txt string, txtLen int32, pattern string, outScore *int32) int32

NkStrmatchFuzzyText function as declared in nk/nuklear.h:3736

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:4575

func NkStrokeCircle

func NkStrokeCircle(arg0 *CommandBuffer, arg1 Rect, lineThickness float32, arg3 Color)

NkStrokeCircle function as declared in nk/nuklear.h:4574

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:4572

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:4571

func NkStrokePolygon

func NkStrokePolygon(arg0 *CommandBuffer, arg1 []float32, pointCount int32, lineThickness float32, arg4 Color)

NkStrokePolygon function as declared in nk/nuklear.h:4578

func NkStrokePolyline

func NkStrokePolyline(arg0 *CommandBuffer, points []float32, pointCount int32, lineThickness float32, col Color)

NkStrokePolyline function as declared in nk/nuklear.h:4577

func NkStrokeRect

func NkStrokeRect(arg0 *CommandBuffer, arg1 Rect, rounding float32, lineThickness float32, arg4 Color)

NkStrokeRect function as declared in nk/nuklear.h:4573

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:4576

func NkStrtod

func NkStrtod(str string, endptr []string) float64

NkStrtod function as declared in nk/nuklear.h:3733

func NkStrtof

func NkStrtof(str string, endptr []string) float32

NkStrtof function as declared in nk/nuklear.h:3732

func NkStrtoi

func NkStrtoi(str string, endptr []string) int32

NkStrtoi function as declared in nk/nuklear.h:3731

func NkStyleDefault

func NkStyleDefault(arg0 *Context)

NkStyleDefault function as declared in nk/nuklear.h:3602

func NkStyleFromTable

func NkStyleFromTable(arg0 *Context, arg1 []Color)

NkStyleFromTable function as declared in nk/nuklear.h:3603

func NkStyleGetColorByName

func NkStyleGetColorByName(arg0 StyleColors) string

NkStyleGetColorByName function as declared in nk/nuklear.h:3606

func NkStyleHideCursor

func NkStyleHideCursor(arg0 *Context)

NkStyleHideCursor function as declared in nk/nuklear.h:3610

func NkStyleLoadAllCursors

func NkStyleLoadAllCursors(arg0 *Context, arg1 *Cursor)

NkStyleLoadAllCursors function as declared in nk/nuklear.h:3605

func NkStyleLoadCursor

func NkStyleLoadCursor(arg0 *Context, arg1 StyleCursor, arg2 *Cursor)

NkStyleLoadCursor function as declared in nk/nuklear.h:3604

func NkStylePopColor

func NkStylePopColor(arg0 *Context) int32

NkStylePopColor function as declared in nk/nuklear.h:3624

func NkStylePopFlags

func NkStylePopFlags(arg0 *Context) int32

NkStylePopFlags function as declared in nk/nuklear.h:3623

func NkStylePopFloat

func NkStylePopFloat(arg0 *Context) int32

NkStylePopFloat function as declared in nk/nuklear.h:3620

func NkStylePopFont

func NkStylePopFont(arg0 *Context) int32

NkStylePopFont function as declared in nk/nuklear.h:3619

func NkStylePopStyleItem

func NkStylePopStyleItem(arg0 *Context) int32

NkStylePopStyleItem function as declared in nk/nuklear.h:3622

func NkStylePopVec2

func NkStylePopVec2(arg0 *Context) int32

NkStylePopVec2 function as declared in nk/nuklear.h:3621

func NkStylePushColor

func NkStylePushColor(arg0 *Context, arg1 *Color, arg2 Color) int32

NkStylePushColor function as declared in nk/nuklear.h:3617

func NkStylePushFlags

func NkStylePushFlags(arg0 *Context, arg1 *Flags, arg2 Flags) int32

NkStylePushFlags function as declared in nk/nuklear.h:3616

func NkStylePushFloat

func NkStylePushFloat(arg0 *Context, arg1 *float32, arg2 float32) int32

NkStylePushFloat function as declared in nk/nuklear.h:3613

func NkStylePushFont

func NkStylePushFont(arg0 *Context, arg1 *UserFont) int32

NkStylePushFont function as declared in nk/nuklear.h:3612

func NkStylePushStyleItem

func NkStylePushStyleItem(arg0 *Context, arg1 *StyleItem, arg2 StyleItem) int32

NkStylePushStyleItem function as declared in nk/nuklear.h:3615

func NkStylePushVec2

func NkStylePushVec2(arg0 *Context, arg1 *Vec2, arg2 Vec2) int32

NkStylePushVec2 function as declared in nk/nuklear.h:3614

func NkStyleSetCursor

func NkStyleSetCursor(arg0 *Context, arg1 StyleCursor) int32

NkStyleSetCursor function as declared in nk/nuklear.h:3608

func NkStyleSetFont

func NkStyleSetFont(arg0 *Context, arg1 *UserFont)

NkStyleSetFont function as declared in nk/nuklear.h:3607

func NkStyleShowCursor

func NkStyleShowCursor(arg0 *Context)

NkStyleShowCursor function as declared in nk/nuklear.h:3609

func NkText

func NkText(arg0 *Context, arg1 string, arg2 int32, arg3 Flags)

NkText function as declared in nk/nuklear.h:3085

func NkTextColored

func NkTextColored(arg0 *Context, arg1 string, arg2 int32, arg3 Flags, arg4 Color)

NkTextColored function as declared in nk/nuklear.h:3086

func NkTextWrap

func NkTextWrap(arg0 *Context, arg1 string, arg2 int32)

NkTextWrap function as declared in nk/nuklear.h:3087

func NkTextWrapColored

func NkTextWrapColored(arg0 *Context, arg1 string, arg2 int32, arg3 Color)

NkTextWrapColored function as declared in nk/nuklear.h:3088

func NkTexteditCut

func NkTexteditCut(arg0 *TextEdit) int32

NkTexteditCut function as declared in nk/nuklear.h:4320

func NkTexteditDelete

func NkTexteditDelete(arg0 *TextEdit, where int32, len int32)

NkTexteditDelete function as declared in nk/nuklear.h:4317

func NkTexteditDeleteSelection

func NkTexteditDeleteSelection(arg0 *TextEdit)

NkTexteditDeleteSelection function as declared in nk/nuklear.h:4318

func NkTexteditFree

func NkTexteditFree(arg0 *TextEdit)

NkTexteditFree function as declared in nk/nuklear.h:4315

func NkTexteditInit

func NkTexteditInit(arg0 *TextEdit, arg1 *Allocator, size Size)

NkTexteditInit function as declared in nk/nuklear.h:4313

func NkTexteditInitDefault

func NkTexteditInitDefault(arg0 *TextEdit)

NkTexteditInitDefault function as declared in nk/nuklear.h:4311

func NkTexteditInitFixed

func NkTexteditInitFixed(arg0 *TextEdit, memory unsafe.Pointer, size Size)

NkTexteditInitFixed function as declared in nk/nuklear.h:4314

func NkTexteditPaste

func NkTexteditPaste(arg0 *TextEdit, arg1 string, len int32) int32

NkTexteditPaste function as declared in nk/nuklear.h:4321

func NkTexteditRedo

func NkTexteditRedo(arg0 *TextEdit)

NkTexteditRedo function as declared in nk/nuklear.h:4323

func NkTexteditSelectAll

func NkTexteditSelectAll(arg0 *TextEdit)

NkTexteditSelectAll function as declared in nk/nuklear.h:4319

func NkTexteditText

func NkTexteditText(arg0 *TextEdit, arg1 string, totalLen int32)

NkTexteditText function as declared in nk/nuklear.h:4316

func NkTexteditUndo

func NkTexteditUndo(arg0 *TextEdit)

NkTexteditUndo function as declared in nk/nuklear.h:4322

func NkTooltip

func NkTooltip(arg0 *Context, arg1 string)

NkTooltip function as declared in nk/nuklear.h:3526

func NkTooltipBegin

func NkTooltipBegin(arg0 *Context, width float32) int32

NkTooltipBegin function as declared in nk/nuklear.h:3531

func NkTooltipEnd

func NkTooltipEnd(arg0 *Context)

NkTooltipEnd function as declared in nk/nuklear.h:3532

func NkTreeElementImagePushHashed

func NkTreeElementImagePushHashed(arg0 *Context, arg1 TreeType, arg2 Image, title string, initialState CollapseStates, selected []int32, hash string, len int32, seed int32) int32

NkTreeElementImagePushHashed function as declared in nk/nuklear.h:3017

func NkTreeElementPop

func NkTreeElementPop(arg0 *Context)

NkTreeElementPop function as declared in nk/nuklear.h:3018

func NkTreeElementPushHashed

func NkTreeElementPushHashed(arg0 *Context, arg1 TreeType, title string, initialState CollapseStates, selected []int32, hash string, len int32, seed int32) int32

NkTreeElementPushHashed function as declared in nk/nuklear.h:3016

func NkTreeImagePushHashed

func NkTreeImagePushHashed(arg0 *Context, arg1 TreeType, arg2 Image, title string, initialState CollapseStates, hash string, len int32, seed int32) int32

NkTreeImagePushHashed function as declared in nk/nuklear.h:2957

func NkTreePop

func NkTreePop(arg0 *Context)

NkTreePop function as declared in nk/nuklear.h:2968

func NkTreePushHashed

func NkTreePushHashed(arg0 *Context, arg1 TreeType, title string, initialState CollapseStates, hash string, len int32, seed int32) int32

NkTreePushHashed function as declared in nk/nuklear.h:2893

func NkTreeStateImagePush

func NkTreeStateImagePush(arg0 *Context, arg1 TreeType, arg2 Image, title string, state []CollapseStates) int32

NkTreeStateImagePush function as declared in nk/nuklear.h:3001

func NkTreeStatePop

func NkTreeStatePop(arg0 *Context)

NkTreeStatePop function as declared in nk/nuklear.h:3012

func NkTreeStatePush

func NkTreeStatePush(arg0 *Context, arg1 TreeType, title string, state *CollapseStates) int32

NkTreeStatePush function as declared in nk/nuklear.h:2984

func NkTriangleFromDirection

func NkTriangleFromDirection(result *Vec2, r Rect, padX float32, padY float32, arg4 Heading)

NkTriangleFromDirection function as declared in nk/nuklear.h:3708

func NkUtfAt

func NkUtfAt(buffer string, length int32, index int32, unicode *Rune, len []int32) string

NkUtfAt function as declared in nk/nuklear.h:3745

func NkUtfDecode

func NkUtfDecode(arg0 string, arg1 *Rune, arg2 int32) int32

NkUtfDecode function as declared in nk/nuklear.h:3742

func NkUtfEncode

func NkUtfEncode(arg0 Rune, arg1 *byte, arg2 int32) int32

NkUtfEncode function as declared in nk/nuklear.h:3743

func NkUtfLen

func NkUtfLen(arg0 string, byteLen int32) int32

NkUtfLen function as declared in nk/nuklear.h:3744

func NkWidgetHasMouseClickDown

func NkWidgetHasMouseClickDown(arg0 *Context, arg1 Buttons, down int32) int32

NkWidgetHasMouseClickDown function as declared in nk/nuklear.h:3065

func NkWidgetHeight

func NkWidgetHeight(arg0 *Context) float32

NkWidgetHeight function as declared in nk/nuklear.h:3062

func NkWidgetIsHovered

func NkWidgetIsHovered(arg0 *Context) int32

NkWidgetIsHovered function as declared in nk/nuklear.h:3063

func NkWidgetIsMouseClicked

func NkWidgetIsMouseClicked(arg0 *Context, arg1 Buttons) int32

NkWidgetIsMouseClicked function as declared in nk/nuklear.h:3064

func NkWidgetWidth

func NkWidgetWidth(arg0 *Context) float32

NkWidgetWidth function as declared in nk/nuklear.h:3061

func NkWindowClose

func NkWindowClose(ctx *Context, name string)

NkWindowClose function as declared in nk/nuklear.h:1932

func NkWindowCollapse

func NkWindowCollapse(arg0 *Context, name string, state CollapseStates)

NkWindowCollapse function as declared in nk/nuklear.h:1945

func NkWindowCollapseIf

func NkWindowCollapseIf(arg0 *Context, name string, arg2 CollapseStates, cond int32)

NkWindowCollapseIf function as declared in nk/nuklear.h:1959

func NkWindowGetHeight

func NkWindowGetHeight(arg0 *Context) float32

NkWindowGetHeight function as declared in nk/nuklear.h:1610

func NkWindowGetScroll

func NkWindowGetScroll(arg0 *Context, offsetX *Uint, offsetY *Uint)

NkWindowGetScroll function as declared in nk/nuklear.h:1738

func NkWindowGetWidth

func NkWindowGetWidth(arg0 *Context) float32

NkWindowGetWidth function as declared in nk/nuklear.h:1594

func NkWindowHasFocus

func NkWindowHasFocus(arg0 *Context) int32

NkWindowHasFocus function as declared in nk/nuklear.h:1753

func NkWindowIsActive

func NkWindowIsActive(arg0 *Context, arg1 string) int32

NkWindowIsActive function as declared in nk/nuklear.h:1825

func NkWindowIsAnyHovered

func NkWindowIsAnyHovered(arg0 *Context) int32

NkWindowIsAnyHovered function as declared in nk/nuklear.h:1838

func NkWindowIsClosed

func NkWindowIsClosed(arg0 *Context, arg1 string) int32

NkWindowIsClosed function as declared in nk/nuklear.h:1797

func NkWindowIsCollapsed

func NkWindowIsCollapsed(ctx *Context, name string) int32

NkWindowIsCollapsed function as declared in nk/nuklear.h:1783

func NkWindowIsHidden

func NkWindowIsHidden(arg0 *Context, arg1 string) int32

NkWindowIsHidden function as declared in nk/nuklear.h:1811

func NkWindowIsHovered

func NkWindowIsHovered(arg0 *Context) int32

NkWindowIsHovered function as declared in nk/nuklear.h:1768

func NkWindowSetBounds

func NkWindowSetBounds(arg0 *Context, name string, bounds Rect)

NkWindowSetBounds function as declared in nk/nuklear.h:1866

func NkWindowSetFocus

func NkWindowSetFocus(arg0 *Context, name string)

NkWindowSetFocus function as declared in nk/nuklear.h:1904

func NkWindowSetPosition

func NkWindowSetPosition(arg0 *Context, name string, pos Vec2)

NkWindowSetPosition function as declared in nk/nuklear.h:1879

func NkWindowSetScroll

func NkWindowSetScroll(arg0 *Context, offsetX Uint, offsetY Uint)

NkWindowSetScroll function as declared in nk/nuklear.h:1920

func NkWindowSetSize

func NkWindowSetSize(arg0 *Context, name string, arg2 Vec2)

NkWindowSetSize function as declared in nk/nuklear.h:1892

func NkWindowShow

func NkWindowShow(arg0 *Context, name string, arg2 ShowStates)

NkWindowShow function as declared in nk/nuklear.h:1972

func NkWindowShowIf

func NkWindowShowIf(arg0 *Context, name string, arg2 ShowStates, cond int32)

NkWindowShowIf function as declared in nk/nuklear.h:1986

Types

type AllocationType

type AllocationType int32

AllocationType as declared in nk/nuklear.h:4101

type Allocator

type Allocator C.struct_nk_allocator

Allocator as declared in nk/nuklear.h:431

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

func NewAllocatorRef(ref unsafe.Pointer) *Allocator

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

func (s *Allocator) GetUserdata() *Handle

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 AntiAliasing

type AntiAliasing int32

AntiAliasing as declared in nk/nuklear.h:1142

type BakedFont

type BakedFont C.struct_nk_baked_font

BakedFont as declared in nk/nuklear.h:3936

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

func NewBakedFontRef(ref unsafe.Pointer) *BakedFont

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) GetAscent

func (s *BakedFont) GetAscent() *float32

GetAscent returns a reference to C object within a struct

func (*BakedFont) GetDescent

func (s *BakedFont) GetDescent() *float32

GetDescent returns a reference to C object within a struct

func (*BakedFont) GetGlyphCount

func (s *BakedFont) GetGlyphCount() *Rune

GetGlyphCount returns a reference to C object within a struct

func (*BakedFont) GetGlyphOffset

func (s *BakedFont) GetGlyphOffset() *Rune

GetGlyphOffset returns a reference to C object within a struct

func (*BakedFont) GetHeight

func (s *BakedFont) GetHeight() *float32

GetHeight returns a reference to C object within a struct

func (*BakedFont) GetRanges

func (s *BakedFont) GetRanges() **Rune

GetRanges 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 Buffer

type Buffer C.struct_nk_buffer

Buffer as declared in nk/nuklear.h:430

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

func NewBufferRef(ref unsafe.Pointer) *Buffer

NewBufferRef converts the C object reference into a raw struct reference without wrapping.

func (*Buffer) Allocated

func (b *Buffer) Allocated() int

Allocated is the total amount of memory allocated.

func (*Buffer) Free

func (x *Buffer) Free()

Free cleanups the referenced memory using C free.

func (*Buffer) GetAllocated

func (s *Buffer) GetAllocated() *Size

GetAllocated returns a reference to C object within a struct

func (*Buffer) GetCalls

func (s *Buffer) GetCalls() *Size

GetCalls returns a reference to C object within a struct

func (*Buffer) GetGrowFactor

func (s *Buffer) GetGrowFactor() *float32

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) GetMemory

func (s *Buffer) GetMemory() *Memory

GetMemory returns a reference to C object within a struct

func (*Buffer) GetNeeded

func (s *Buffer) GetNeeded() *Size

GetNeeded returns a reference to C object within a struct

func (*Buffer) GetPool

func (s *Buffer) GetPool() *Allocator

GetPool returns a reference to C object within a struct

func (*Buffer) GetSize

func (s *Buffer) GetSize() *Size

GetSize returns a reference to C object within a struct

func (*Buffer) GetType

func (s *Buffer) GetType() *AllocationType

GetType 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.

func (*Buffer) Size

func (b *Buffer) Size() int

Size is the current size of the buffer.

func (*Buffer) Type

func (b *Buffer) Type() AllocationType

Type is the memory management type of the buffer.

type BufferAllocationType

type BufferAllocationType int32

BufferAllocationType as declared in nk/nuklear.h:4106

type BufferMarker

type BufferMarker C.struct_nk_buffer_marker

BufferMarker as declared in nk/nuklear.h:4112

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() *int32

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

Ref returns a reference to C object as it is.

type ButtonBehavior

type ButtonBehavior int32

ButtonBehavior as declared in nk/nuklear.h:470

type Buttons

type Buttons int32

Buttons as declared in nk/nuklear.h:770

type Byte

type Byte byte

Byte type as declared in nk/nuklear.h:400

type Char

type Char byte

Char type as declared in nk/nuklear.h:398

type Chart

type Chart C.struct_nk_chart

Chart as declared in nk/nuklear.h:5278

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

func NewChartRef(ref unsafe.Pointer) *Chart

NewChartRef converts the C object reference into a raw struct reference without wrapping.

func (*Chart) Free

func (x *Chart) Free()

Free cleanups the referenced memory using C free.

func (*Chart) GetH

func (s *Chart) GetH() *float32

GetH returns a reference to C object within a struct

func (*Chart) GetSlot

func (s *Chart) GetSlot() *int32

GetSlot returns a reference to C object within a struct

func (*Chart) GetSlots

func (s *Chart) GetSlots() [4]ChartSlot

GetSlots returns a reference to C object within a struct

func (*Chart) GetW

func (s *Chart) GetW() *float32

GetW returns a reference to C object within a struct

func (*Chart) GetX

func (s *Chart) GetX() *float32

GetX returns a reference to C object within a struct

func (*Chart) GetY

func (s *Chart) GetY() *float32

GetY returns a reference to C object within a struct

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 ChartEvent

type ChartEvent int32

ChartEvent as declared in nk/nuklear.h:476

type ChartSlot

type ChartSlot C.struct_nk_chart_slot

ChartSlot as declared in nk/nuklear.h:5268

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

func NewChartSlotRef(ref unsafe.Pointer) *ChartSlot

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) GetColor

func (s *ChartSlot) GetColor() *Color

GetColor returns a reference to C object within a struct

func (*ChartSlot) GetCount

func (s *ChartSlot) GetCount() *int32

GetCount returns a reference to C object within a struct

func (*ChartSlot) GetHighlight

func (s *ChartSlot) GetHighlight() *Color

GetHighlight returns a reference to C object within a struct

func (*ChartSlot) GetIndex

func (s *ChartSlot) GetIndex() *int32

GetIndex returns a reference to C object within a struct

func (*ChartSlot) GetLast

func (s *ChartSlot) GetLast() *Vec2

GetLast returns a reference to C object within a struct

func (*ChartSlot) GetMax

func (s *ChartSlot) GetMax() *float32

GetMax returns a reference to C object within a struct

func (*ChartSlot) GetMin

func (s *ChartSlot) GetMin() *float32

GetMin returns a reference to C object within a struct

func (*ChartSlot) GetRange

func (s *ChartSlot) GetRange() *float32

GetRange returns a reference to C object within a struct

func (*ChartSlot) GetType

func (s *ChartSlot) GetType() *ChartType

GetType 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 ChartType

type ChartType int32

ChartType as declared in nk/nuklear.h:475

type Clipboard

type Clipboard C.struct_nk_clipboard

Clipboard as declared in nk/nuklear.h:4247

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

func NewClipboardRef(ref unsafe.Pointer) *Clipboard

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

func (s *Clipboard) GetUserdata() *Handle

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 ClipboardPlugin interface {
	GetText() string
	SetText(content string)
}

type CollapseStates

type CollapseStates int32

CollapseStates as declared in nk/nuklear.h:473

type Color

type Color C.struct_nk_color

Color as declared in nk/nuklear.h:457

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

func NewColorRef(ref unsafe.Pointer) *Color

NewColorRef converts the C object reference into a raw struct reference without wrapping.

func NkHsv

func NkHsv(h int32, s int32, v int32) Color

NkHsv function as declared in nk/nuklear.h:3652

func NkHsvBv

func NkHsvBv(hsv string) Color

NkHsvBv function as declared in nk/nuklear.h:3654

func NkHsvF

func NkHsvF(h float32, s float32, v float32) Color

NkHsvF function as declared in nk/nuklear.h:3655

func NkHsvFv

func NkHsvFv(hsv *float32) Color

NkHsvFv function as declared in nk/nuklear.h:3656

func NkHsvIv

func NkHsvIv(hsv *int32) Color

NkHsvIv function as declared in nk/nuklear.h:3653

func NkHsva

func NkHsva(h int32, s int32, v int32, a int32) Color

NkHsva function as declared in nk/nuklear.h:3658

func NkHsvaBv

func NkHsvaBv(hsva string) Color

NkHsvaBv function as declared in nk/nuklear.h:3660

func NkHsvaF

func NkHsvaF(h float32, s float32, v float32, a float32) Color

NkHsvaF function as declared in nk/nuklear.h:3661

func NkHsvaFv

func NkHsvaFv(hsva *float32) Color

NkHsvaFv function as declared in nk/nuklear.h:3662

func NkHsvaIv

func NkHsvaIv(hsva *int32) Color

NkHsvaIv function as declared in nk/nuklear.h:3659

func NkRgb

func NkRgb(r int32, g int32, b int32) Color

NkRgb function as declared in nk/nuklear.h:3630

func NkRgbBv

func NkRgbBv(rgb string) Color

NkRgbBv function as declared in nk/nuklear.h:3632

func NkRgbCf

func NkRgbCf(c Colorf) Color

NkRgbCf function as declared in nk/nuklear.h:3635

func NkRgbF

func NkRgbF(r float32, g float32, b float32) Color

NkRgbF function as declared in nk/nuklear.h:3633

func NkRgbFv

func NkRgbFv(rgb *float32) Color

NkRgbFv function as declared in nk/nuklear.h:3634

func NkRgbHex

func NkRgbHex(rgb string) Color

NkRgbHex function as declared in nk/nuklear.h:3636

func NkRgbIv

func NkRgbIv(rgb *int32) Color

NkRgbIv function as declared in nk/nuklear.h:3631

func NkRgba

func NkRgba(r int32, g int32, b int32, a int32) Color

NkRgba function as declared in nk/nuklear.h:3638

func NkRgbaBv

func NkRgbaBv(rgba string) Color

NkRgbaBv function as declared in nk/nuklear.h:3641

func NkRgbaCf

func NkRgbaCf(c Colorf) Color

NkRgbaCf function as declared in nk/nuklear.h:3644

func NkRgbaF

func NkRgbaF(r float32, g float32, b float32, a float32) Color

NkRgbaF function as declared in nk/nuklear.h:3642

func NkRgbaFv

func NkRgbaFv(rgba *float32) Color

NkRgbaFv function as declared in nk/nuklear.h:3643

func NkRgbaHex

func NkRgbaHex(rgb string) Color

NkRgbaHex function as declared in nk/nuklear.h:3645

func NkRgbaIv

func NkRgbaIv(rgba *int32) Color

NkRgbaIv function as declared in nk/nuklear.h:3640

func NkRgbaU32

func NkRgbaU32(arg0 Uint) Color

NkRgbaU32 function as declared in nk/nuklear.h:3639

func (Color) A

func (c Color) A() Byte

func (Color) B

func (c Color) B() Byte

func (*Color) Free

func (x *Color) Free()

Free cleanups the referenced memory using C free.

func (Color) G

func (c Color) G() Byte

func (*Color) GetA

func (s *Color) GetA() *Byte

GetA returns a reference to C object within a struct

func (*Color) GetB

func (s *Color) GetB() *Byte

GetB returns a reference to C object within a struct

func (*Color) GetG

func (s *Color) GetG() *Byte

GetG returns a reference to C object within a struct

func (*Color) GetR

func (s *Color) GetR() *Byte

GetR returns a reference to C object within a struct

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) R

func (c Color) R() Byte

func (Color) RGBA

func (c Color) RGBA() (Byte, Byte, Byte, Byte)

func (Color) RGBAi

func (c Color) RGBAi() (int32, int32, int32, int32)

func (*Color) Ref

func (x *Color) Ref() *C.struct_nk_color

Ref returns a reference to C object as it is.

func (*Color) SetA

func (c *Color) SetA(a Byte)

func (*Color) SetB

func (c *Color) SetB(b Byte)

func (*Color) SetG

func (c *Color) SetG(g Byte)

func (*Color) SetR

func (c *Color) SetR(r Byte)

func (*Color) SetRGBA

func (c *Color) SetRGBA(r, g, b, a Byte)

func (*Color) SetRGBAi

func (c *Color) SetRGBAi(r, g, b, a int32)

type ColorFormat

type ColorFormat int32

ColorFormat as declared in nk/nuklear.h:477

type Colorf

type Colorf C.struct_nk_colorf

Colorf as declared in nk/nuklear.h:458

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

func NewColorfRef(ref unsafe.Pointer) *Colorf

NewColorfRef converts the C object reference into a raw struct reference without wrapping.

func NkColorCf

func NkColorCf(arg0 Color) Colorf

NkColorCf function as declared in nk/nuklear.h:3667

func NkColorPicker

func NkColorPicker(arg0 *Context, arg1 Colorf, arg2 ColorFormat) Colorf

NkColorPicker function as declared in nk/nuklear.h:3200

func NkHsvaColorf

func NkHsvaColorf(h float32, s float32, v float32, a float32) Colorf

NkHsvaColorf function as declared in nk/nuklear.h:3647

func NkHsvaColorfv

func NkHsvaColorfv(c *float32) Colorf

NkHsvaColorfv function as declared in nk/nuklear.h:3648

func (*Colorf) Free

func (x *Colorf) Free()

Free cleanups the referenced memory using C free.

func (*Colorf) GetA

func (s *Colorf) GetA() *float32

GetA returns a reference to C object within a struct

func (*Colorf) GetB

func (s *Colorf) GetB() *float32

GetB returns a reference to C object within a struct

func (*Colorf) GetG

func (s *Colorf) GetG() *float32

GetG returns a reference to C object within a struct

func (*Colorf) GetR

func (s *Colorf) GetR() *float32

GetR returns a reference to C object within a struct

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:4397

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

func NewCommandRef(ref unsafe.Pointer) *Command

NewCommandRef converts the C object reference into a raw struct reference without wrapping.

func Nk_Begin

func Nk_Begin(arg0 *Context) *Command

Nk_Begin function as declared in nk/nuklear.h:1180

func Nk_Next

func Nk_Next(arg0 *Context, arg1 *Command) *Command

Nk_Next function as declared in nk/nuklear.h:1195

func (*Command) Free

func (x *Command) Free()

Free cleanups the referenced memory using C free.

func (*Command) GetNext

func (s *Command) GetNext() *Size

GetNext returns a reference to C object within a struct

func (*Command) GetType

func (s *Command) GetType() *CommandType

GetType returns a reference to C object within a struct

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:4487

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

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:4496

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandArcFilled) Ref

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:432

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:1722

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandBuffer) Ref

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:4472

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandCircle) Ref

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:4480

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandCircleFilled) Ref

Ref returns a reference to C object as it is.

type CommandClipping

type CommandClipping int32

CommandClipping as declared in nk/nuklear.h:4557

type CommandCurve

type CommandCurve C.struct_nk_command_curve

CommandCurve as declared in nk/nuklear.h:4419

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

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:4537

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandCustom) Ref

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:4535

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:4527

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

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:4411

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

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:4504

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandPolygon) Ref

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:4512

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandPolygonFilled) Ref

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:4519

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandPolyline) Ref

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:4428

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

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:4437

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandRectFilled) Ref

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:4445

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandRectMultiColor) Ref

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:4405

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandScissor) Ref

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:4545

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

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:4455

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandTriangle) Ref

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:4464

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*CommandTriangleFilled) Ref

Ref returns a reference to C object as it is.

type CommandType

type CommandType int32

CommandType as declared in nk/nuklear.h:4374

type ConfigStackButtonBehavior

type ConfigStackButtonBehavior C.struct_nk_config_stack_button_behavior

ConfigStackButtonBehavior as declared in nk/nuklear.h:5514

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

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackButtonBehavior) Ref

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:5506

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

Free cleanups the referenced memory using C free.

func (*ConfigStackButtonBehaviorElement) GetAddress

GetAddress returns a reference to C object within a struct

func (*ConfigStackButtonBehaviorElement) GetOldValue

GetOldValue returns a reference to C object within a struct

func (*ConfigStackButtonBehaviorElement) PassRef

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackButtonBehaviorElement) Ref

Ref returns a reference to C object as it is.

type ConfigStackColor

type ConfigStackColor C.struct_nk_config_stack_color

ConfigStackColor as declared in nk/nuklear.h:5512

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackColor) Ref

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:5504

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackColorElement) Ref

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:5511

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackFlags) Ref

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:5503

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackFlagsElement) Ref

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:5509

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackFloat) Ref

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:5501

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackFloatElement) Ref

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:5508

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

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackStyleItem) Ref

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:5500

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackStyleItemElement) Ref

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:5513

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

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:5505

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

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

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ConfigStackUserFontElement) Ref

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:5510

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackVec2) Ref

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:5502

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigStackVec2Element) Ref

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:5516

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

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*ConfigurationStacks) Ref

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:440

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

func NewContextRef(ref unsafe.Pointer) *Context

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) Clip

func (ctx *Context) Clip() *Clipboard

func (*Context) Current

func (ctx *Context) Current() *Window

func (*Context) DeltaTimeSeconds

func (ctx *Context) DeltaTimeSeconds() float32

func (*Context) Free

func (x *Context) Free()

Free cleanups the referenced memory using C free.

func (*Context) GetActive

func (s *Context) GetActive() **Window

GetActive returns a reference to C object within a struct

func (*Context) GetBegin

func (s *Context) GetBegin() **Window

GetBegin returns a reference to C object within a struct

func (*Context) GetBuild

func (s *Context) GetBuild() *int32

GetBuild returns a reference to C object within a struct

func (*Context) GetButtonBehavior

func (s *Context) GetButtonBehavior() *ButtonBehavior

GetButtonBehavior returns a reference to C object within a struct

func (*Context) GetClip

func (s *Context) GetClip() *Clipboard

GetClip returns a reference to C object within a struct

func (*Context) GetCount

func (s *Context) GetCount() *uint32

GetCount returns a reference to C object within a struct

func (*Context) GetCurrent

func (s *Context) GetCurrent() **Window

GetCurrent returns a reference to C object within a struct

func (*Context) GetDeltaTimeSeconds

func (s *Context) GetDeltaTimeSeconds() *float32

GetDeltaTimeSeconds returns a reference to C object within a struct

func (*Context) GetDrawList

func (s *Context) GetDrawList() *DrawList

GetDrawList returns a reference to C object within a struct

func (*Context) GetEnd

func (s *Context) GetEnd() **Window

GetEnd 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) GetInput

func (s *Context) GetInput() *Input

GetInput returns a reference to C object within a struct

func (*Context) GetLastWidgetState

func (s *Context) GetLastWidgetState() *Flags

GetLastWidgetState returns a reference to C object within a struct

func (*Context) GetMemory

func (s *Context) GetMemory() *Buffer

GetMemory 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) GetPool

func (s *Context) GetPool() *Pool

GetPool returns a reference to C object within a struct

func (*Context) GetSeq

func (s *Context) GetSeq() *uint32

GetSeq 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) GetStyle

func (s *Context) GetStyle() *Style

GetStyle returns a reference to C object within a struct

func (*Context) GetTextEdit

func (s *Context) GetTextEdit() *TextEdit

GetTextEdit returns a reference to C object within a struct

func (*Context) GetUsePool

func (s *Context) GetUsePool() *int32

GetUsePool returns a reference to C object within a struct

func (*Context) Input

func (ctx *Context) Input() *Input

func (*Context) LastWidgetState

func (ctx *Context) LastWidgetState() Flags

func (*Context) Memory

func (ctx *Context) Memory() *Buffer

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) SetStyle

func (ctx *Context) SetStyle(theme Theme)

func (*Context) Stacks

func (ctx *Context) Stacks() *ConfigurationStacks

func (*Context) Style

func (ctx *Context) Style() *Style

type ConvertConfig

type ConvertConfig struct {
	GlobalAlpha        float32
	LineAa             AntiAliasing
	ShapeAa            AntiAliasing
	CircleSegmentCount uint32
	ArcSegmentCount    uint32
	CurveSegmentCount  uint32
	Null               DrawNullTexture
	VertexLayout       []DrawVertexLayoutElement
	VertexSize         Size
	VertexAlignment    Size
	// contains filtered or unexported fields
}

ConvertConfig as declared in nk/nuklear.h:434

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

Ref returns the underlying reference to C object or nil if struct is nil.

type ConvertResult

type ConvertResult int32

ConvertResult as declared in nk/nuklear.h:1143

type Cursor

type Cursor C.struct_nk_cursor

Cursor as declared in nk/nuklear.h:466

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

func NewCursorRef(ref unsafe.Pointer) *Cursor

NewCursorRef converts the C object reference into a raw struct reference without wrapping.

func (*Cursor) Free

func (x *Cursor) Free()

Free cleanups the referenced memory using C free.

func (*Cursor) GetImg

func (s *Cursor) GetImg() *Image

GetImg returns a reference to C object within a struct

func (*Cursor) GetOffset

func (s *Cursor) GetOffset() *Vec2

GetOffset returns a reference to C object within a struct

func (*Cursor) GetSize

func (s *Cursor) GetSize() *Vec2

GetSize returns a reference to C object within a struct

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:433

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:1256

func Nk_DrawEnd

func Nk_DrawEnd(arg0 *Context, arg1 *Buffer) *DrawCommand

Nk_DrawEnd function as declared in nk/nuklear.h:1271

func Nk_DrawListBegin

func Nk_DrawListBegin(arg0 *DrawList, arg1 *Buffer) *DrawCommand

Nk_DrawListBegin function as declared in nk/nuklear.h:4762

func Nk_DrawListEnd

func Nk_DrawListEnd(arg0 *DrawList, arg1 *Buffer) *DrawCommand

Nk_DrawListEnd function as declared in nk/nuklear.h:4764

func Nk_DrawListNext

func Nk_DrawListNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *DrawList) *DrawCommand

Nk_DrawListNext function as declared in nk/nuklear.h:4763

func Nk_DrawNext

func Nk_DrawNext(arg0 *DrawCommand, arg1 *Buffer, arg2 *Context) *DrawCommand

Nk_DrawNext function as declared in nk/nuklear.h:1287

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

Ref returns a reference to C object as it is.

func (*DrawCommand) Texture

func (cmd *DrawCommand) Texture() Handle

type DrawIndex

type DrawIndex uint16

DrawIndex type as declared in nk/nuklear.h:4668

type DrawList

type DrawList C.struct_nk_draw_list

DrawList as declared in nk/nuklear.h:437

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

func NewDrawListRef(ref unsafe.Pointer) *DrawList

NewDrawListRef converts the C object reference into a raw struct reference without wrapping.

func (*DrawList) Free

func (x *DrawList) Free()

Free cleanups the referenced memory using C free.

func (*DrawList) GetBuffer

func (s *DrawList) GetBuffer() **Buffer

GetBuffer returns a reference to C object within a struct

func (*DrawList) GetCircleVtx

func (s *DrawList) GetCircleVtx() [12]Vec2

GetCircleVtx returns a reference to C object within a struct

func (*DrawList) GetClipRect

func (s *DrawList) GetClipRect() *Rect

GetClipRect returns a reference to C object within a struct

func (*DrawList) GetCmdCount

func (s *DrawList) GetCmdCount() *uint32

GetCmdCount returns a reference to C object within a struct

func (*DrawList) GetCmdOffset

func (s *DrawList) GetCmdOffset() *Size

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

func (s *DrawList) GetElementCount() *uint32

GetElementCount returns a reference to C object within a struct

func (*DrawList) GetElements

func (s *DrawList) GetElements() **Buffer

GetElements returns a reference to C object within a struct

func (*DrawList) GetLineAa

func (s *DrawList) GetLineAa() *AntiAliasing

GetLineAa returns a reference to C object within a struct

func (*DrawList) GetPathCount

func (s *DrawList) GetPathCount() *uint32

GetPathCount returns a reference to C object within a struct

func (*DrawList) GetPathOffset

func (s *DrawList) GetPathOffset() *uint32

GetPathOffset returns a reference to C object within a struct

func (*DrawList) GetShapeAa

func (s *DrawList) GetShapeAa() *AntiAliasing

GetShapeAa returns a reference to C object within a struct

func (*DrawList) GetVertexCount

func (s *DrawList) GetVertexCount() *uint32

GetVertexCount returns a reference to C object within a struct

func (*DrawList) GetVertices

func (s *DrawList) GetVertices() **Buffer

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 DrawListStroke

type DrawListStroke int32

DrawListStroke as declared in nk/nuklear.h:4670

type DrawNullTexture

type DrawNullTexture C.struct_nk_draw_null_texture

DrawNullTexture as declared in nk/nuklear.h:1150

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*DrawNullTexture) Ref

Ref returns a reference to C object as it is.

type DrawVertexLayoutAttribute

type DrawVertexLayoutAttribute int32

DrawVertexLayoutAttribute as declared in nk/nuklear.h:4677

type DrawVertexLayoutElement

type DrawVertexLayoutElement struct {
	Attribute DrawVertexLayoutAttribute
	Format    DrawVertexLayoutFormat
	Offset    Size
	// contains filtered or unexported fields
}

DrawVertexLayoutElement as declared in nk/nuklear.h:441

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

Ref returns the underlying reference to C object or nil if struct is nil.

type DrawVertexLayoutFormat

type DrawVertexLayoutFormat int32

DrawVertexLayoutFormat as declared in nk/nuklear.h:4684

type EditEvents

type EditEvents int32

EditEvents as declared in nk/nuklear.h:3436

type EditFlags

type EditFlags int32

EditFlags as declared in nk/nuklear.h:3415

type EditState

type EditState C.struct_nk_edit_state

EditState as declared in nk/nuklear.h:5382

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

func NewEditStateRef(ref unsafe.Pointer) *EditState

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) GetActive

func (s *EditState) GetActive() *int32

GetActive returns a reference to C object within a struct

func (*EditState) GetCursor

func (s *EditState) GetCursor() *int32

GetCursor returns a reference to C object within a struct

func (*EditState) GetMode

func (s *EditState) GetMode() *byte

GetMode returns a reference to C object within a struct

func (*EditState) GetName

func (s *EditState) GetName() *Hash

GetName returns a reference to C object within a struct

func (*EditState) GetOld

func (s *EditState) GetOld() *uint32

GetOld returns a reference to C object within a struct

func (*EditState) GetPrev

func (s *EditState) GetPrev() *int32

GetPrev returns a reference to C object within a struct

func (*EditState) GetScrollbar

func (s *EditState) GetScrollbar() *Scroll

GetScrollbar returns a reference to C object within a struct

func (*EditState) GetSelEnd

func (s *EditState) GetSelEnd() *int32

GetSelEnd returns a reference to C object within a struct

func (*EditState) GetSelStart

func (s *EditState) GetSelStart() *int32

GetSelStart returns a reference to C object within a struct

func (*EditState) GetSeq

func (s *EditState) GetSeq() *uint32

GetSeq returns a reference to C object within a struct

func (*EditState) GetSingleLine

func (s *EditState) GetSingleLine() *byte

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 EditTypes

type EditTypes int32

EditTypes as declared in nk/nuklear.h:3430

type Flags

type Flags uint32

Flags type as declared in nk/nuklear.h:409

func NkChartPush

func NkChartPush(arg0 *Context, arg1 float32) Flags

NkChartPush function as declared in nk/nuklear.h:3457

func NkChartPushSlot

func NkChartPushSlot(arg0 *Context, arg1 float32, arg2 int32) Flags

NkChartPushSlot function as declared in nk/nuklear.h:3458

func NkConvert

func NkConvert(arg0 *Context, cmds *Buffer, vertices *Buffer, elements *Buffer, arg4 *ConvertConfig) Flags

NkConvert function as declared in nk/nuklear.h:1241

func NkEditBuffer

func NkEditBuffer(arg0 *Context, arg1 Flags, arg2 *TextEdit, arg3 PluginFilter) Flags

NkEditBuffer function as declared in nk/nuklear.h:3445

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:3443

func NkEditStringZeroTerminated

func NkEditStringZeroTerminated(arg0 *Context, arg1 Flags, buffer []byte, max int32, arg4 PluginFilter) Flags

NkEditStringZeroTerminated function as declared in nk/nuklear.h:3444

type Font

type Font C.struct_nk_font

Font as declared in nk/nuklear.h:3935

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

func NewFontRef(ref unsafe.Pointer) *Font

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:4041

func NkFontAtlasAddCompressed

func NkFontAtlasAddCompressed(arg0 *FontAtlas, memory unsafe.Pointer, size Size, height float32, arg4 []FontConfig) *Font

NkFontAtlasAddCompressed function as declared in nk/nuklear.h:4049

func NkFontAtlasAddCompressedBase85

func NkFontAtlasAddCompressedBase85(arg0 *FontAtlas, data string, height float32, config *FontConfig) *Font

NkFontAtlasAddCompressedBase85 function as declared in nk/nuklear.h:4050

func NkFontAtlasAddDefault

func NkFontAtlasAddDefault(arg0 *FontAtlas, height float32, arg2 *FontConfig) *Font

NkFontAtlasAddDefault function as declared in nk/nuklear.h:4043

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:4047

func NkFontAtlasAddFromMemory

func NkFontAtlasAddFromMemory(atlas *FontAtlas, memory unsafe.Pointer, size Size, height float32, config *FontConfig) *Font

NkFontAtlasAddFromMemory function as declared in nk/nuklear.h:4045

func (*Font) Free

func (x *Font) Free()

Free cleanups the referenced memory using C free.

func (*Font) GetConfig

func (s *Font) GetConfig() **FontConfig

GetConfig returns a reference to C object within a struct

func (*Font) GetFallback

func (s *Font) GetFallback() **FontGlyph

GetFallback returns a reference to C object within a struct

func (*Font) GetFallbackCodepoint

func (s *Font) GetFallbackCodepoint() *Rune

GetFallbackCodepoint returns a reference to C object within a struct

func (*Font) GetGlyphs

func (s *Font) GetGlyphs() **FontGlyph

GetGlyphs returns a reference to C object within a struct

func (*Font) GetHandle

func (s *Font) GetHandle() *UserFont

GetHandle returns a reference to C object within a struct

func (*Font) GetInfo

func (s *Font) GetInfo() *BakedFont

GetInfo returns a reference to C object within a struct

func (*Font) GetNext

func (s *Font) GetNext() **Font

GetNext returns a reference to C object within a struct

func (*Font) GetScale

func (s *Font) GetScale() *float32

GetScale returns a reference to C object within a struct

func (*Font) GetTexture

func (s *Font) GetTexture() *Handle

GetTexture returns a reference to C object within a struct

func (Font) Handle

func (f Font) Handle() *UserFont

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:4009

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

func NewFontAtlasRef(ref unsafe.Pointer) *FontAtlas

NewFontAtlasRef converts the C object reference into a raw struct reference without wrapping.

func (*FontAtlas) DefaultFont

func (atlas *FontAtlas) DefaultFont() *Font

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

func (s *FontAtlas) GetCursors() [7]Cursor

GetCursors returns a reference to C object within a struct

func (*FontAtlas) GetCustom

func (s *FontAtlas) GetCustom() *Recti

GetCustom returns a reference to C object within a struct

func (*FontAtlas) GetDefaultFont

func (s *FontAtlas) GetDefaultFont() **Font

GetDefaultFont returns a reference to C object within a struct

func (*FontAtlas) GetFontNum

func (s *FontAtlas) GetFontNum() *int32

GetFontNum returns a reference to C object within a struct

func (*FontAtlas) GetFonts

func (s *FontAtlas) GetFonts() **Font

GetFonts returns a reference to C object within a struct

func (*FontAtlas) GetGlyphCount

func (s *FontAtlas) GetGlyphCount() *int32

GetGlyphCount returns a reference to C object within a struct

func (*FontAtlas) GetGlyphs

func (s *FontAtlas) GetGlyphs() **FontGlyph

GetGlyphs returns a reference to C object within a struct

func (*FontAtlas) GetPermanent

func (s *FontAtlas) GetPermanent() *Allocator

GetPermanent returns a reference to C object within a struct

func (*FontAtlas) GetPixel

func (s *FontAtlas) GetPixel() *unsafe.Pointer

GetPixel returns a reference to C object within a struct

func (*FontAtlas) GetTemporary

func (s *FontAtlas) GetTemporary() *Allocator

GetTemporary returns a reference to C object within a struct

func (*FontAtlas) GetTexHeight

func (s *FontAtlas) GetTexHeight() *int32

GetTexHeight returns a reference to C object within a struct

func (*FontAtlas) GetTexWidth

func (s *FontAtlas) GetTexWidth() *int32

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 FontAtlasFormat

type FontAtlasFormat int32

FontAtlasFormat as declared in nk/nuklear.h:4004

type FontConfig

type FontConfig C.struct_nk_font_config

FontConfig as declared in nk/nuklear.h:3949

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:4040

func (*FontConfig) Free

func (x *FontConfig) Free()

Free cleanups the referenced memory using C free.

func (*FontConfig) GetCoordType

func (s *FontConfig) GetCoordType() *FontCoordType

GetCoordType returns a reference to C object within a struct

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

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 FontCoordType

type FontCoordType int32

FontCoordType as declared in nk/nuklear.h:3930

type FontGlyph

type FontGlyph C.struct_nk_font_glyph

FontGlyph as declared in nk/nuklear.h:3985

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

func NewFontGlyphRef(ref unsafe.Pointer) *FontGlyph

NewFontGlyphRef converts the C object reference into a raw struct reference without wrapping.

func NkFontFindGlyph

func NkFontFindGlyph(arg0 *Font, unicode Rune) *FontGlyph

NkFontFindGlyph function as declared in nk/nuklear.h:4053

func (*FontGlyph) Free

func (x *FontGlyph) Free()

Free cleanups the referenced memory using C free.

func (*FontGlyph) GetCodepoint

func (s *FontGlyph) GetCodepoint() *Rune

GetCodepoint returns a reference to C object within a struct

func (*FontGlyph) GetH

func (s *FontGlyph) GetH() *float32

GetH returns a reference to C object within a struct

func (*FontGlyph) GetU0

func (s *FontGlyph) GetU0() *float32

GetU0 returns a reference to C object within a struct

func (*FontGlyph) GetU1

func (s *FontGlyph) GetU1() *float32

GetU1 returns a reference to C object within a struct

func (*FontGlyph) GetV0

func (s *FontGlyph) GetV0() *float32

GetV0 returns a reference to C object within a struct

func (*FontGlyph) GetV1

func (s *FontGlyph) GetV1() *float32

GetV1 returns a reference to C object within a struct

func (*FontGlyph) GetW

func (s *FontGlyph) GetW() *float32

GetW returns a reference to C object within a struct

func (*FontGlyph) GetX0

func (s *FontGlyph) GetX0() *float32

GetX0 returns a reference to C object within a struct

func (*FontGlyph) GetX1

func (s *FontGlyph) GetX1() *float32

GetX1 returns a reference to C object within a struct

func (*FontGlyph) GetXadvance

func (s *FontGlyph) GetXadvance() *float32

GetXadvance returns a reference to C object within a struct

func (*FontGlyph) GetY0

func (s *FontGlyph) GetY0() *float32

GetY0 returns a reference to C object within a struct

func (*FontGlyph) GetY1

func (s *FontGlyph) GetY1() *float32

GetY1 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 Glyph

type Glyph [4]byte

Glyph type as declared in nk/nuklear.h:463

type Handle

type Handle [sizeofHandle]byte

func NkHandleId

func NkHandleId(arg0 int32) Handle

NkHandleId function as declared in nk/nuklear.h:3694

func NkHandlePtr

func NkHandlePtr(arg0 unsafe.Pointer) Handle

NkHandlePtr function as declared in nk/nuklear.h:3693

func (Handle) ID

func (h Handle) ID() int

func (Handle) Ptr

func (h Handle) Ptr() uintptr

type Hash

type Hash uint32

Hash type as declared in nk/nuklear.h:408

func NkMurmurHash

func NkMurmurHash(key unsafe.Pointer, len int32, seed Hash) Hash

NkMurmurHash function as declared in nk/nuklear.h:3707

type Heading

type Heading int32

Heading as declared in nk/nuklear.h:469

type Image

type Image C.struct_nk_image

Image as declared in nk/nuklear.h:465

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

func NewImageRef(ref unsafe.Pointer) *Image

NewImageRef converts the C object reference into a raw struct reference without wrapping.

func NkImageHandle

func NkImageHandle(arg0 Handle) Image

NkImageHandle function as declared in nk/nuklear.h:3695

func NkImageId

func NkImageId(arg0 int32) Image

NkImageId function as declared in nk/nuklear.h:3697

func NkImagePtr

func NkImagePtr(arg0 unsafe.Pointer) Image

NkImagePtr function as declared in nk/nuklear.h:3696

func NkSubimageHandle

func NkSubimageHandle(arg0 Handle, w uint16, h uint16, subRegion Rect) Image

NkSubimageHandle function as declared in nk/nuklear.h:3701

func NkSubimageId

func NkSubimageId(arg0 int32, w uint16, h uint16, subRegion Rect) Image

NkSubimageId function as declared in nk/nuklear.h:3700

func NkSubimagePtr

func NkSubimagePtr(arg0 unsafe.Pointer, w uint16, h uint16, subRegion Rect) Image

NkSubimagePtr function as declared in nk/nuklear.h:3699

func RgbaToNkImage

func RgbaToNkImage(tex *uint32, rgba *image.RGBA) Image

func (*Image) Free

func (x *Image) Free()

Free cleanups the referenced memory using C free.

func (*Image) GetH

func (s *Image) GetH() *uint16

GetH returns a reference to C object within a struct

func (*Image) GetHandle

func (s *Image) GetHandle() *Handle

GetHandle returns a reference to C object within a struct

func (*Image) GetRegion

func (s *Image) GetRegion() [4]uint16

GetRegion returns a reference to C object within a struct

func (*Image) GetW

func (s *Image) GetW() *uint16

GetW returns a reference to C object within a struct

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:4625

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

func NewInputRef(ref unsafe.Pointer) *Input

NewInputRef converts the C object reference into a raw struct reference without wrapping.

func (*Input) Free

func (x *Input) Free()

Free cleanups the referenced memory using C free.

func (*Input) GetKeyboard

func (s *Input) GetKeyboard() *Keyboard

GetKeyboard returns a reference to C object within a struct

func (*Input) GetMouse

func (s *Input) GetMouse() *Mouse

GetMouse returns a reference to C object within a struct

func (*Input) Keyboard

func (input *Input) Keyboard() *Keyboard

func (*Input) Mouse

func (input *Input) Mouse() *Mouse

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 Int

type Int int32

Int type as declared in nk/nuklear.h:403

type Key

type Key C.struct_nk_key

Key as declared in nk/nuklear.h:4615

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

func NewKeyRef(ref unsafe.Pointer) *Key

NewKeyRef converts the C object reference into a raw struct reference without wrapping.

func (*Key) Free

func (x *Key) Free()

Free cleanups the referenced memory using C free.

func (*Key) GetClicked

func (s *Key) GetClicked() *uint32

GetClicked returns a reference to C object within a struct

func (*Key) GetDown

func (s *Key) GetDown() *int32

GetDown 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:4619

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

func NewKeyboardRef(ref unsafe.Pointer) *Keyboard

NewKeyboardRef converts the C object reference into a raw struct reference without wrapping.

func (*Keyboard) Free

func (x *Keyboard) Free()

Free cleanups the referenced memory using C free.

func (*Keyboard) GetKeys

func (s *Keyboard) GetKeys() [30]Key

GetKeys returns a reference to C object within a struct

func (*Keyboard) GetText

func (s *Keyboard) GetText() [16]byte

GetText returns a reference to C object within a struct

func (*Keyboard) GetTextLen

func (s *Keyboard) GetTextLen() *int32

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.

func (*Keyboard) Text

func (keyboard *Keyboard) Text() string

type Keys

type Keys int32

Keys as declared in nk/nuklear.h:735

type LayoutFormat

type LayoutFormat int32

LayoutFormat as declared in nk/nuklear.h:479

type ListView

type ListView C.struct_nk_list_view

ListView as declared in nk/nuklear.h:3025

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

func NewListViewRef(ref unsafe.Pointer) *ListView

NewListViewRef converts the C object reference into a raw struct reference without wrapping.

func (*ListView) Begin

func (lv *ListView) Begin() int

func (*ListView) Count

func (lv *ListView) Count() int

func (*ListView) End

func (lv *ListView) End() int

func (*ListView) Free

func (x *ListView) Free()

Free cleanups the referenced memory using C free.

func (*ListView) GetBegin

func (s *ListView) GetBegin() *int32

GetBegin returns a reference to C object within a struct

func (*ListView) GetCount

func (s *ListView) GetCount() *int32

GetCount returns a reference to C object within a struct

func (*ListView) GetCtx

func (s *ListView) GetCtx() **Context

GetCtx returns a reference to C object within a struct

func (*ListView) GetEnd

func (s *ListView) GetEnd() *int32

GetEnd returns a reference to C object within a struct

func (*ListView) GetScrollPointer

func (s *ListView) GetScrollPointer() **Uint

GetScrollPointer returns a reference to C object within a struct

func (*ListView) GetScrollValue

func (s *ListView) GetScrollValue() *Uint

GetScrollValue returns a reference to C object within a struct

func (*ListView) GetTotalHeight

func (s *ListView) GetTotalHeight() *int32

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:4117

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

func NewMemoryRef(ref unsafe.Pointer) *Memory

NewMemoryRef converts the C object reference into a raw struct reference without wrapping.

func (*Memory) Free

func (x *Memory) Free()

Free cleanups the referenced memory using C free.

func (*Memory) GetPtr

func (s *Memory) GetPtr() *unsafe.Pointer

GetPtr returns a reference to C object within a struct

func (*Memory) GetSize

func (s *Memory) GetSize() *Size

GetSize returns a reference to C object within a struct

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:4092

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

Ref returns a reference to C object as it is.

type MenuState C.struct_nk_menu_state

MenuState as declared in nk/nuklear.h:5320

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

func NewMenuStateRef(ref unsafe.Pointer) *MenuState

NewMenuStateRef converts the C object reference into a raw struct reference without wrapping.

func (x *MenuState) Free()

Free cleanups the referenced memory using C free.

func (s *MenuState) GetH() *float32

GetH returns a reference to C object within a struct

func (s *MenuState) GetOffset() *Scroll

GetOffset returns a reference to C object within a struct

func (s *MenuState) GetW() *float32

GetW returns a reference to C object within a struct

func (s *MenuState) GetX() *float32

GetX returns a reference to C object within a struct

func (s *MenuState) GetY() *float32

GetY returns a reference to C object within a struct

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 (x *MenuState) Ref() *C.struct_nk_menu_state

Ref returns a reference to C object as it is.

type Modify

type Modify int32

Modify as declared in nk/nuklear.h:471

type Mouse

type Mouse C.struct_nk_mouse

Mouse as declared in nk/nuklear.h:4604

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

func NewMouseRef(ref unsafe.Pointer) *Mouse

NewMouseRef converts the C object reference into a raw struct reference without wrapping.

func (*Mouse) Delta

func (mouse *Mouse) Delta() (int32, int32)

func (*Mouse) Free

func (x *Mouse) Free()

Free cleanups the referenced memory using C free.

func (*Mouse) GetButtons

func (s *Mouse) GetButtons() [4]MouseButton

GetButtons returns a reference to C object within a struct

func (*Mouse) GetDelta

func (s *Mouse) GetDelta() *Vec2

GetDelta returns a reference to C object within a struct

func (*Mouse) GetGrab

func (s *Mouse) GetGrab() *byte

GetGrab returns a reference to C object within a struct

func (*Mouse) GetGrabbed

func (s *Mouse) GetGrabbed() *byte

GetGrabbed returns a reference to C object within a struct

func (*Mouse) GetPos

func (s *Mouse) GetPos() *Vec2

GetPos returns a reference to C object within a struct

func (*Mouse) GetPrev

func (s *Mouse) GetPrev() *Vec2

GetPrev returns a reference to C object within a struct

func (*Mouse) GetScrollDelta

func (s *Mouse) GetScrollDelta() *Vec2

GetScrollDelta returns a reference to C object within a struct

func (*Mouse) GetUngrab

func (s *Mouse) GetUngrab() *byte

GetUngrab returns a reference to C object within a struct

func (*Mouse) Grab

func (mouse *Mouse) Grab() bool

func (*Mouse) Grabbed

func (mouse *Mouse) Grabbed() bool

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) Pos

func (mouse *Mouse) Pos() (int32, int32)

func (*Mouse) Prev

func (mouse *Mouse) Prev() (int32, int32)

func (*Mouse) Ref

func (x *Mouse) Ref() *C.struct_nk_mouse

Ref returns a reference to C object as it is.

func (*Mouse) ScrollDelta

func (mouse *Mouse) ScrollDelta() Vec2

func (*Mouse) SetPos

func (mouse *Mouse) SetPos(x, y int32)

func (*Mouse) Ungrab

func (mouse *Mouse) Ungrab() bool

type MouseButton

type MouseButton C.struct_nk_mouse_button

MouseButton as declared in nk/nuklear.h:4599

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() *int32

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

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

func (*NkGLFWClipbard) SetText

func (c *NkGLFWClipbard) SetText(content string)

type Orientation

type Orientation int32

Orientation as declared in nk/nuklear.h:472

type Page

type Page C.struct_nk_page

Page as declared in nk/nuklear.h:5552

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

func NewPageRef(ref unsafe.Pointer) *Page

NewPageRef converts the C object reference into a raw struct reference without wrapping.

func (*Page) Free

func (x *Page) Free()

Free cleanups the referenced memory using C free.

func (*Page) GetNext

func (s *Page) GetNext() **Page

GetNext returns a reference to C object within a struct

func (*Page) GetSize

func (s *Page) GetSize() *uint32

GetSize returns a reference to C object within a struct

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 PageData

type PageData [sizeofPageData]byte

type PageElement

type PageElement C.struct_nk_page_element

PageElement as declared in nk/nuklear.h:5546

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

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:439

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

func NewPanelRef(ref unsafe.Pointer) *Panel

NewPanelRef converts the C object reference into a raw struct reference without wrapping.

func NkWindowGetPanel

func NkWindowGetPanel(arg0 *Context) *Panel

NkWindowGetPanel function as declared in nk/nuklear.h:1628

func (*Panel) Free

func (x *Panel) Free()

Free cleanups the referenced memory using C free.

func (*Panel) GetAtX

func (s *Panel) GetAtX() *float32

GetAtX returns a reference to C object within a struct

func (*Panel) GetAtY

func (s *Panel) GetAtY() *float32

GetAtY returns a reference to C object within a struct

func (*Panel) GetBorder

func (s *Panel) GetBorder() *float32

GetBorder returns a reference to C object within a struct

func (*Panel) GetBounds

func (s *Panel) GetBounds() *Rect

GetBounds returns a reference to C object within a struct

func (*Panel) GetBuffer

func (s *Panel) GetBuffer() **CommandBuffer

GetBuffer returns a reference to C object within a struct

func (*Panel) GetChart

func (s *Panel) GetChart() *Chart

GetChart returns a reference to C object within a struct

func (*Panel) GetClip

func (s *Panel) GetClip() *Rect

GetClip returns a reference to C object within a struct

func (*Panel) GetFlags

func (s *Panel) GetFlags() *Flags

GetFlags returns a reference to C object within a struct

func (*Panel) GetFooterHeight

func (s *Panel) GetFooterHeight() *float32

GetFooterHeight returns a reference to C object within a struct

func (*Panel) GetHasScrolling

func (s *Panel) GetHasScrolling() *uint32

GetHasScrolling returns a reference to C object within a struct

func (*Panel) GetHeaderHeight

func (s *Panel) GetHeaderHeight() *float32

GetHeaderHeight returns a reference to C object within a struct

func (*Panel) GetMaxX

func (s *Panel) GetMaxX() *float32

GetMaxX returns a reference to C object within a struct

func (*Panel) GetMenu

func (s *Panel) GetMenu() *MenuState

GetMenu returns a reference to C object within a struct

func (*Panel) GetOffsetX

func (s *Panel) GetOffsetX() **Uint

GetOffsetX returns a reference to C object within a struct

func (*Panel) GetOffsetY

func (s *Panel) GetOffsetY() **Uint

GetOffsetY returns a reference to C object within a struct

func (*Panel) GetParent

func (s *Panel) GetParent() **Panel

GetParent returns a reference to C object within a struct

func (*Panel) GetRow

func (s *Panel) GetRow() *RowLayout

GetRow returns a reference to C object within a struct

func (*Panel) GetType

func (s *Panel) GetType() *PanelType

GetType 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 PanelFlags

type PanelFlags int32

PanelFlags as declared in nk/nuklear.h:1450

type PanelRowLayoutType

type PanelRowLayoutType int32

PanelRowLayoutType as declared in nk/nuklear.h:5284

type PanelSet

type PanelSet int32

PanelSet as declared in nk/nuklear.h:5262

type PanelType

type PanelType int32

PanelType as declared in nk/nuklear.h:5252

type PlatformInitOption

type PlatformInitOption int
const (
	PlatformDefault PlatformInitOption = iota
	PlatformInstallCallbacks
)

type PluginAlloc

type PluginAlloc func(arg0 Handle, old unsafe.Pointer, arg2 Size) unsafe.Pointer

PluginAlloc type as declared in nk/nuklear.h:482

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

type PluginCopy func(arg0 Handle, arg1 string, len int32)

PluginCopy type as declared in nk/nuklear.h:486

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

type PluginFilter func(arg0 *TextEdit, unicode Rune) int32

PluginFilter type as declared in nk/nuklear.h:484

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

type PluginFree func(arg0 Handle, old unsafe.Pointer)

PluginFree type as declared in nk/nuklear.h:483

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

type PluginPaste func(arg0 Handle, arg1 *TextEdit)

PluginPaste type as declared in nk/nuklear.h:485

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:5558

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

func NewPoolRef(ref unsafe.Pointer) *Pool

NewPoolRef converts the C object reference into a raw struct reference without wrapping.

func (*Pool) Free

func (x *Pool) Free()

Free cleanups the referenced memory using C free.

func (*Pool) GetAlloc

func (s *Pool) GetAlloc() *Allocator

GetAlloc returns a reference to C object within a struct

func (*Pool) GetCap

func (s *Pool) GetCap() *Size

GetCap returns a reference to C object within a struct

func (*Pool) GetCapacity

func (s *Pool) GetCapacity() *uint32

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

func (s *Pool) GetPageCount() *uint32

GetPageCount returns a reference to C object within a struct

func (*Pool) GetPages

func (s *Pool) GetPages() **Page

GetPages returns a reference to C object within a struct

func (*Pool) GetSize

func (s *Pool) GetSize() *Size

GetSize returns a reference to C object within a struct

func (*Pool) GetType

func (s *Pool) GetType() *AllocationType

GetType 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:5312

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() *int32

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

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:5370

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() *int32

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) GetType

func (s *PopupState) GetType() *PanelType

GetType 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

Ref returns a reference to C object as it is.

type PopupType

type PopupType int32

PopupType as declared in nk/nuklear.h:478

type PropertyState

type PropertyState C.struct_nk_property_state

PropertyState as declared in nk/nuklear.h:5395

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*PropertyState) Ref

Ref returns a reference to C object as it is.

type Ptr

type Ptr uint

Ptr type as declared in nk/nuklear.h:406

type QueryFontGlyphF

type QueryFontGlyphF func(handle Handle, fontHeight float32, glyph *UserFontGlyph, codepoint Rune, nextCodepoint Rune)

QueryFontGlyphF type as declared in nk/nuklear.h:3897

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 RawString

type RawString string

RawString reperesents a string backed by data on the C side.

func (RawString) Copy

func (raw RawString) Copy() string

Copy returns a Go-managed copy of raw string.

type Rect

type Rect C.struct_nk_rect

Rect as declared in nk/nuklear.h:461

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

func NewRectRef(ref unsafe.Pointer) *Rect

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:3715

func NkLayoutSpaceBounds

func NkLayoutSpaceBounds(arg0 *Context) Rect

NkLayoutSpaceBounds function as declared in nk/nuklear.h:2504

func NkLayoutSpaceRectToLocal

func NkLayoutSpaceRectToLocal(arg0 *Context, arg1 Rect) Rect

NkLayoutSpaceRectToLocal function as declared in nk/nuklear.h:2560

func NkLayoutSpaceRectToScreen

func NkLayoutSpaceRectToScreen(arg0 *Context, arg1 Rect) Rect

NkLayoutSpaceRectToScreen function as declared in nk/nuklear.h:2546

func NkLayoutWidgetBounds

func NkLayoutWidgetBounds(arg0 *Context) Rect

NkLayoutWidgetBounds function as declared in nk/nuklear.h:2299

func NkRect

func NkRect(x float32, y float32, w float32, h float32) Rect

NkRect function as declared in nk/nuklear.h:3716

func NkRecta

func NkRecta(pos Vec2, size Vec2) Rect

NkRecta function as declared in nk/nuklear.h:3718

func NkRecti

func NkRecti(x int32, y int32, w int32, h int32) Rect

NkRecti function as declared in nk/nuklear.h:3717

func NkRectiv

func NkRectiv(xywh *int32) Rect

NkRectiv function as declared in nk/nuklear.h:3720

func NkRectv

func NkRectv(xywh *float32) Rect

NkRectv function as declared in nk/nuklear.h:3719

func NkWidgetBounds

func NkWidgetBounds(arg0 *Context) Rect

NkWidgetBounds function as declared in nk/nuklear.h:3058

func NkWindowGetBounds

func NkWindowGetBounds(ctx *Context) Rect

NkWindowGetBounds function as declared in nk/nuklear.h:1546

func NkWindowGetContentRegion

func NkWindowGetContentRegion(arg0 *Context) Rect

NkWindowGetContentRegion function as declared in nk/nuklear.h:1647

func (*Rect) Free

func (x *Rect) Free()

Free cleanups the referenced memory using C free.

func (*Rect) GetH

func (s *Rect) GetH() *float32

GetH returns a reference to C object within a struct

func (*Rect) GetW

func (s *Rect) GetW() *float32

GetW returns a reference to C object within a struct

func (*Rect) GetX

func (s *Rect) GetX() *float32

GetX returns a reference to C object within a struct

func (*Rect) GetY

func (s *Rect) GetY() *float32

GetY returns a reference to C object within a struct

func (*Rect) H

func (r *Rect) H() float32

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.

func (*Rect) W

func (r *Rect) W() float32

func (*Rect) X

func (r *Rect) X() float32

func (*Rect) Y

func (r *Rect) Y() float32

type Recti

type Recti C.struct_nk_recti

Recti as declared in nk/nuklear.h:462

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

func NewRectiRef(ref unsafe.Pointer) *Recti

NewRectiRef converts the C object reference into a raw struct reference without wrapping.

func (*Recti) Free

func (x *Recti) Free()

Free cleanups the referenced memory using C free.

func (*Recti) GetH

func (s *Recti) GetH() *int16

GetH returns a reference to C object within a struct

func (*Recti) GetW

func (s *Recti) GetW() *int16

GetW returns a reference to C object within a struct

func (*Recti) GetX

func (s *Recti) GetX() *int16

GetX returns a reference to C object within a struct

func (*Recti) GetY

func (s *Recti) GetY() *int16

GetY returns a reference to C object within a struct

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:5296

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

func NewRowLayoutRef(ref unsafe.Pointer) *RowLayout

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

func (s *RowLayout) GetColumns() *int32

GetColumns returns a reference to C object within a struct

func (*RowLayout) GetFilled

func (s *RowLayout) GetFilled() *float32

GetFilled returns a reference to C object within a struct

func (*RowLayout) GetHeight

func (s *RowLayout) GetHeight() *float32

GetHeight returns a reference to C object within a struct

func (*RowLayout) GetIndex

func (s *RowLayout) GetIndex() *int32

GetIndex returns a reference to C object within a struct

func (*RowLayout) GetItem

func (s *RowLayout) GetItem() *Rect

GetItem returns a reference to C object within a struct

func (*RowLayout) GetItemHeight

func (s *RowLayout) GetItemHeight() *float32

GetItemHeight returns a reference to C object within a struct

func (*RowLayout) GetItemOffset

func (s *RowLayout) GetItemOffset() *float32

GetItemOffset returns a reference to C object within a struct

func (*RowLayout) GetItemWidth

func (s *RowLayout) GetItemWidth() *float32

GetItemWidth returns a reference to C object within a struct

func (*RowLayout) GetMinHeight

func (s *RowLayout) GetMinHeight() *float32

GetMinHeight returns a reference to C object within a struct

func (*RowLayout) GetRatio

func (s *RowLayout) GetRatio() []*float32

GetRatio returns a reference to C object within a struct

func (*RowLayout) GetTemplates

func (s *RowLayout) GetTemplates() [16]float32

GetTemplates returns a reference to C object within a struct

func (*RowLayout) GetTreeDepth

func (s *RowLayout) GetTreeDepth() *int32

GetTreeDepth returns a reference to C object within a struct

func (*RowLayout) GetType

func (s *RowLayout) GetType() *PanelRowLayoutType

GetType 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:410

func NkFontChineseGlyphRanges

func NkFontChineseGlyphRanges() *Rune

NkFontChineseGlyphRanges function as declared in nk/nuklear.h:4030

func NkFontCyrillicGlyphRanges

func NkFontCyrillicGlyphRanges() *Rune

NkFontCyrillicGlyphRanges function as declared in nk/nuklear.h:4031

func NkFontDefaultGlyphRanges

func NkFontDefaultGlyphRanges() *Rune

NkFontDefaultGlyphRanges function as declared in nk/nuklear.h:4029

func NkFontKoreanGlyphRanges

func NkFontKoreanGlyphRanges() *Rune

NkFontKoreanGlyphRanges function as declared in nk/nuklear.h:4032

func NkStrRuneAt

func NkStrRuneAt(arg0 *Str, pos int32) Rune

NkStrRuneAt function as declared in nk/nuklear.h:4201

type Scroll

type Scroll C.struct_nk_scroll

Scroll as declared in nk/nuklear.h:467

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

func NewScrollRef(ref unsafe.Pointer) *Scroll

NewScrollRef converts the C object reference into a raw struct reference without wrapping.

func (*Scroll) Free

func (x *Scroll) Free()

Free cleanups the referenced memory using C free.

func (*Scroll) GetX

func (s *Scroll) GetX() *Uint

GetX returns a reference to C object within a struct

func (*Scroll) GetY

func (s *Scroll) GetY() *Uint

GetY returns a reference to C object within a struct

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 Short

type Short int16

Short type as declared in nk/nuklear.h:401

type ShowStates

type ShowStates int32

ShowStates as declared in nk/nuklear.h:474

type Size

type Size uint

Size type as declared in nk/nuklear.h:405

func NkBufferTotal

func NkBufferTotal(arg0 *Buffer) Size

NkBufferTotal function as declared in nk/nuklear.h:4152

func NkProg

func NkProg(arg0 *Context, cur Size, max Size, modifyable int32) Size

NkProg function as declared in nk/nuklear.h:3193

type Str

type Str C.struct_nk_str

Str as declared in nk/nuklear.h:4164

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

func NewStrRef(ref unsafe.Pointer) *Str

NewStrRef converts the C object reference into a raw struct reference without wrapping.

func (*Str) Free

func (x *Str) Free()

Free cleanups the referenced memory using C free.

func (*Str) GetBuffer

func (s *Str) GetBuffer() *Buffer

GetBuffer returns a reference to C object within a struct

func (*Str) GetLen

func (s *Str) GetLen() *int32

GetLen returns a reference to C object within a struct

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:5212

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

func NewStyleRef(ref unsafe.Pointer) *Style

NewStyleRef converts the C object reference into a raw struct reference without wrapping.

func (*Style) Combo

func (s *Style) Combo() *StyleCombo

func (*Style) Free

func (x *Style) Free()

Free cleanups the referenced memory using C free.

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

func (s *Style) GetCursorActive() **Cursor

GetCursorActive returns a reference to C object within a struct

func (*Style) GetCursorLast

func (s *Style) GetCursorLast() **Cursor

GetCursorLast returns a reference to C object within a struct

func (*Style) GetCursorVisible

func (s *Style) GetCursorVisible() *int32

GetCursorVisible returns a reference to C object within a struct

func (*Style) GetCursors

func (s *Style) GetCursors() [7]*Cursor

GetCursors returns a reference to C object within a struct

func (*Style) GetEdit

func (s *Style) GetEdit() *StyleEdit

GetEdit returns a reference to C object within a struct

func (*Style) GetFont

func (s *Style) GetFont() []*UserFont

GetFont 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) GetTab

func (s *Style) GetTab() *StyleTab

GetTab returns a reference to C object within a struct

func (*Style) GetText

func (s *Style) GetText() *StyleText

GetText 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) Text

func (s *Style) Text() *StyleText

func (*Style) Window

func (s *Style) Window() *StyleWindow

type StyleButton

type StyleButton C.struct_nk_style_button

StyleButton as declared in nk/nuklear.h:442

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

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:450

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

Ref returns a reference to C object as it is.

type StyleColors

type StyleColors int32

StyleColors as declared in nk/nuklear.h:3561

type StyleCombo

type StyleCombo C.struct_nk_style_combo

StyleCombo as declared in nk/nuklear.h:451

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) GetSymActive

func (s *StyleCombo) GetSymActive() *SymbolType

GetSymActive returns a reference to C object within a struct

func (*StyleCombo) GetSymHover

func (s *StyleCombo) GetSymHover() *SymbolType

GetSymHover returns a reference to C object within a struct

func (*StyleCombo) GetSymNormal

func (s *StyleCombo) GetSymNormal() *SymbolType

GetSymNormal 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

Ref returns a reference to C object as it is.

type StyleCursor

type StyleCursor int32

StyleCursor as declared in nk/nuklear.h:3592

type StyleEdit

type StyleEdit C.struct_nk_style_edit

StyleEdit as declared in nk/nuklear.h:448

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

func NewStyleEditRef(ref unsafe.Pointer) *StyleEdit

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) GetActive

func (s *StyleEdit) GetActive() *StyleItem

GetActive returns a reference to C object within a struct

func (*StyleEdit) GetBorder

func (s *StyleEdit) GetBorder() *float32

GetBorder returns a reference to C object within a struct

func (*StyleEdit) GetBorderColor

func (s *StyleEdit) GetBorderColor() *Color

GetBorderColor returns a reference to C object within a struct

func (*StyleEdit) GetCursorHover

func (s *StyleEdit) GetCursorHover() *Color

GetCursorHover returns a reference to C object within a struct

func (*StyleEdit) GetCursorNormal

func (s *StyleEdit) GetCursorNormal() *Color

GetCursorNormal returns a reference to C object within a struct

func (*StyleEdit) GetCursorSize

func (s *StyleEdit) GetCursorSize() *float32

GetCursorSize returns a reference to C object within a struct

func (*StyleEdit) GetCursorTextHover

func (s *StyleEdit) GetCursorTextHover() *Color

GetCursorTextHover returns a reference to C object within a struct

func (*StyleEdit) GetCursorTextNormal

func (s *StyleEdit) GetCursorTextNormal() *Color

GetCursorTextNormal returns a reference to C object within a struct

func (*StyleEdit) GetHover

func (s *StyleEdit) GetHover() *StyleItem

GetHover returns a reference to C object within a struct

func (*StyleEdit) GetNormal

func (s *StyleEdit) GetNormal() *StyleItem

GetNormal returns a reference to C object within a struct

func (*StyleEdit) GetPadding

func (s *StyleEdit) GetPadding() *Vec2

GetPadding returns a reference to C object within a struct

func (*StyleEdit) GetRounding

func (s *StyleEdit) GetRounding() *float32

GetRounding returns a reference to C object within a struct

func (*StyleEdit) GetRowPadding

func (s *StyleEdit) GetRowPadding() *float32

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

func (s *StyleEdit) GetScrollbarSize() *Vec2

GetScrollbarSize returns a reference to C object within a struct

func (*StyleEdit) GetSelectedHover

func (s *StyleEdit) GetSelectedHover() *Color

GetSelectedHover returns a reference to C object within a struct

func (*StyleEdit) GetSelectedNormal

func (s *StyleEdit) GetSelectedNormal() *Color

GetSelectedNormal returns a reference to C object within a struct

func (*StyleEdit) GetSelectedTextHover

func (s *StyleEdit) GetSelectedTextHover() *Color

GetSelectedTextHover returns a reference to C object within a struct

func (*StyleEdit) GetSelectedTextNormal

func (s *StyleEdit) GetSelectedTextNormal() *Color

GetSelectedTextNormal returns a reference to C object within a struct

func (*StyleEdit) GetTextActive

func (s *StyleEdit) GetTextActive() *Color

GetTextActive returns a reference to C object within a struct

func (*StyleEdit) GetTextHover

func (s *StyleEdit) GetTextHover() *Color

GetTextHover returns a reference to C object within a struct

func (*StyleEdit) GetTextNormal

func (s *StyleEdit) GetTextNormal() *Color

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 StyleHeaderAlign

type StyleHeaderAlign int32

StyleHeaderAlign as declared in nk/nuklear.h:5146

type StyleItem

type StyleItem C.struct_nk_style_item

StyleItem as declared in nk/nuklear.h:435

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

func NewStyleItemRef(ref unsafe.Pointer) *StyleItem

NewStyleItemRef converts the C object reference into a raw struct reference without wrapping.

func NkStyleItemColor

func NkStyleItemColor(arg0 Color) StyleItem

NkStyleItemColor function as declared in nk/nuklear.h:5239

func NkStyleItemHide

func NkStyleItemHide() StyleItem

NkStyleItemHide function as declared in nk/nuklear.h:5240

func NkStyleItemImage

func NkStyleItemImage(img Image) StyleItem

NkStyleItemImage function as declared in nk/nuklear.h:5238

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) GetType

func (s *StyleItem) GetType() *StyleItemType

GetType 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 StyleItemType

type StyleItemType int32

StyleItemType as declared in nk/nuklear.h:4805

type StyleProgress

type StyleProgress C.struct_nk_style_progress

StyleProgress as declared in nk/nuklear.h:446

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*StyleProgress) Ref

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:449

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) GetSymLeft

func (s *StyleProperty) GetSymLeft() *SymbolType

GetSymLeft returns a reference to C object within a struct

func (*StyleProperty) GetSymRight

func (s *StyleProperty) GetSymRight() *SymbolType

GetSymRight 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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*StyleProperty) Ref

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:447

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) GetDecSymbol

func (s *StyleScrollbar) GetDecSymbol() *SymbolType

GetDecSymbol 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) GetIncSymbol

func (s *StyleScrollbar) GetIncSymbol() *SymbolType

GetIncSymbol 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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*StyleScrollbar) Ref

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:444

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*StyleSelectable) Ref

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:445

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

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:4917

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) GetDecSymbol

func (s *StyleSlider) GetDecSymbol() *SymbolType

GetDecSymbol 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) GetIncSymbol

func (s *StyleSlider) GetIncSymbol() *SymbolType

GetIncSymbol 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

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:452

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

func NewStyleTabRef(ref unsafe.Pointer) *StyleTab

NewStyleTabRef converts the C object reference into a raw struct reference without wrapping.

func (*StyleTab) Free

func (x *StyleTab) Free()

Free cleanups the referenced memory using C free.

func (*StyleTab) GetBackground

func (s *StyleTab) GetBackground() *StyleItem

GetBackground returns a reference to C object within a struct

func (*StyleTab) GetBorder

func (s *StyleTab) GetBorder() *float32

GetBorder returns a reference to C object within a struct

func (*StyleTab) GetBorderColor

func (s *StyleTab) GetBorderColor() *Color

GetBorderColor returns a reference to C object within a struct

func (*StyleTab) GetIndent

func (s *StyleTab) GetIndent() *float32

GetIndent 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

func (s *StyleTab) GetPadding() *Vec2

GetPadding returns a reference to C object within a struct

func (*StyleTab) GetRounding

func (s *StyleTab) GetRounding() *float32

GetRounding returns a reference to C object within a struct

func (*StyleTab) GetSpacing

func (s *StyleTab) GetSpacing() *Vec2

GetSpacing returns a reference to C object within a struct

func (*StyleTab) GetSymMaximize

func (s *StyleTab) GetSymMaximize() *SymbolType

GetSymMaximize returns a reference to C object within a struct

func (*StyleTab) GetSymMinimize

func (s *StyleTab) GetSymMinimize() *SymbolType

GetSymMinimize 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) GetText

func (s *StyleTab) GetText() *Color

GetText 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:4820

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

func NewStyleTextRef(ref unsafe.Pointer) *StyleText

NewStyleTextRef converts the C object reference into a raw struct reference without wrapping.

func (*StyleText) Color

func (t *StyleText) Color() *Color

func (*StyleText) Free

func (x *StyleText) Free()

Free cleanups the referenced memory using C free.

func (*StyleText) GetColor

func (s *StyleText) GetColor() *Color

GetColor returns a reference to C object within a struct

func (*StyleText) GetPadding

func (s *StyleText) GetPadding() *Vec2

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:443

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

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:454

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

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:453

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) GetAlign

func (s *StyleWindowHeader) GetAlign() *StyleHeaderAlign

GetAlign 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) GetCloseSymbol

func (s *StyleWindowHeader) GetCloseSymbol() *SymbolType

GetCloseSymbol 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) GetMaximizeSymbol

func (s *StyleWindowHeader) GetMaximizeSymbol() *SymbolType

GetMaximizeSymbol 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) GetMinimizeSymbol

func (s *StyleWindowHeader) GetMinimizeSymbol() *SymbolType

GetMinimizeSymbol 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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*StyleWindowHeader) Ref

Ref returns a reference to C object as it is.

type SymbolType

type SymbolType int32

SymbolType as declared in nk/nuklear.h:493

type Table

type Table C.struct_nk_table

Table as declared in nk/nuklear.h:5351

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

func NewTableRef(ref unsafe.Pointer) *Table

NewTableRef converts the C object reference into a raw struct reference without wrapping.

func (*Table) Free

func (x *Table) Free()

Free cleanups the referenced memory using C free.

func (*Table) GetKeys

func (s *Table) GetKeys() [59]Hash

GetKeys returns a reference to C object within a struct

func (*Table) GetNext

func (s *Table) GetNext() **Table

GetNext returns a reference to C object within a struct

func (*Table) GetPrev

func (s *Table) GetPrev() **Table

GetPrev returns a reference to C object within a struct

func (*Table) GetSeq

func (s *Table) GetSeq() *uint32

GetSeq returns a reference to C object within a struct

func (*Table) GetSize

func (s *Table) GetSize() *uint32

GetSize returns a reference to C object within a struct

func (*Table) GetValues

func (s *Table) GetValues() [59]Uint

GetValues returns a reference to C object within a struct

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 TextAlign

type TextAlign int32

TextAlign as declared in nk/nuklear.h:3072

type TextAlignment

type TextAlignment int32

TextAlignment as declared in nk/nuklear.h:3080

type TextEdit

type TextEdit C.struct_nk_text_edit

TextEdit as declared in nk/nuklear.h:436

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

func NewTextEditRef(ref unsafe.Pointer) *TextEdit

NewTextEditRef converts the C object reference into a raw struct reference without wrapping.

func (*TextEdit) Free

func (x *TextEdit) Free()

Free cleanups the referenced memory using C free.

func (*TextEdit) GetActive

func (s *TextEdit) GetActive() *byte

GetActive returns a reference to C object within a struct

func (*TextEdit) GetClip

func (s *TextEdit) GetClip() *Clipboard

GetClip returns a reference to C object within a struct

func (*TextEdit) GetCursor

func (s *TextEdit) GetCursor() *int32

GetCursor returns a reference to C object within a struct

func (*TextEdit) GetCursorAtEndOfLine

func (s *TextEdit) GetCursorAtEndOfLine() *byte

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 (t *TextEdit) GetGoString() string

func (*TextEdit) GetHasPreferredX

func (s *TextEdit) GetHasPreferredX() *byte

GetHasPreferredX returns a reference to C object within a struct

func (*TextEdit) GetInitialized

func (s *TextEdit) GetInitialized() *byte

GetInitialized returns a reference to C object within a struct

func (*TextEdit) GetMode

func (s *TextEdit) GetMode() *byte

GetMode returns a reference to C object within a struct

func (*TextEdit) GetPadding1

func (s *TextEdit) GetPadding1() *byte

GetPadding1 returns a reference to C object within a struct

func (*TextEdit) GetPreferredX

func (s *TextEdit) GetPreferredX() *float32

GetPreferredX returns a reference to C object within a struct

func (*TextEdit) GetScrollbar

func (s *TextEdit) GetScrollbar() *Vec2

GetScrollbar returns a reference to C object within a struct

func (*TextEdit) GetSelectEnd

func (s *TextEdit) GetSelectEnd() *int32

GetSelectEnd returns a reference to C object within a struct

func (*TextEdit) GetSelectStart

func (s *TextEdit) GetSelectStart() *int32

GetSelectStart returns a reference to C object within a struct

func (*TextEdit) GetSingleLine

func (s *TextEdit) GetSingleLine() *byte

GetSingleLine returns a reference to C object within a struct

func (*TextEdit) GetString

func (s *TextEdit) GetString() *Str

GetString 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 TextEditMode

type TextEditMode int32

TextEditMode as declared in nk/nuklear.h:4274

type TextEditType

type TextEditType int32

TextEditType as declared in nk/nuklear.h:4269

type TextUndoRecord

type TextUndoRecord C.struct_nk_text_undo_record

TextUndoRecord as declared in nk/nuklear.h:4253

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*TextUndoRecord) Ref

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:4260

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

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*TextUndoState) Ref

Ref returns a reference to C object as it is.

type TextWidthF

type TextWidthF func(arg0 Handle, h float32, arg2 string, len int32) float32

TextWidthF type as declared in nk/nuklear.h:3896

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 Theme

type Theme int
const (
	THEME_WHITE Theme = iota
	THEME_DARK
	THEME_RED
	THEME_BLUE
)

type TreeType

type TreeType int32

TreeType as declared in nk/nuklear.h:480

type Uchar

type Uchar byte

Uchar type as declared in nk/nuklear.h:399

type Uint

type Uint uint32

Uint type as declared in nk/nuklear.h:404

func NkColorU32

func NkColorU32(arg0 Color) Uint

NkColorU32 function as declared in nk/nuklear.h:3671

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:438

func NewUserFontRef

func NewUserFontRef(ref unsafe.Pointer) *UserFont

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:3895

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

Ref returns the underlying reference to C object or nil if struct is nil.

type Ushort

type Ushort uint16

Ushort type as declared in nk/nuklear.h:402

type Vec2

type Vec2 C.struct_nk_vec2

Vec2 as declared in nk/nuklear.h:459

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

func NewVec2Ref(ref unsafe.Pointer) *Vec2

NewVec2Ref converts the C object reference into a raw struct reference without wrapping.

func NkLayoutSpaceToLocal

func NkLayoutSpaceToLocal(arg0 *Context, arg1 Vec2) Vec2

NkLayoutSpaceToLocal function as declared in nk/nuklear.h:2532

func NkLayoutSpaceToScreen

func NkLayoutSpaceToScreen(arg0 *Context, arg1 Vec2) Vec2

NkLayoutSpaceToScreen function as declared in nk/nuklear.h:2518

func NkRectPos

func NkRectPos(arg0 Rect) Vec2

NkRectPos function as declared in nk/nuklear.h:3721

func NkRectSize

func NkRectSize(arg0 Rect) Vec2

NkRectSize function as declared in nk/nuklear.h:3722

func NkVec2

func NkVec2(x float32, y float32) Vec2

NkVec2 function as declared in nk/nuklear.h:3710

func NkVec2i

func NkVec2i(x int32, y int32) Vec2

NkVec2i function as declared in nk/nuklear.h:3711

func NkVec2iv

func NkVec2iv(xy *int32) Vec2

NkVec2iv function as declared in nk/nuklear.h:3713

func NkVec2v

func NkVec2v(xy *float32) Vec2

NkVec2v function as declared in nk/nuklear.h:3712

func NkWidgetPosition

func NkWidgetPosition(arg0 *Context) Vec2

NkWidgetPosition function as declared in nk/nuklear.h:3059

func NkWidgetSize

func NkWidgetSize(arg0 *Context) Vec2

NkWidgetSize function as declared in nk/nuklear.h:3060

func NkWindowGetContentRegionMax

func NkWindowGetContentRegionMax(arg0 *Context) Vec2

NkWindowGetContentRegionMax function as declared in nk/nuklear.h:1685

func NkWindowGetContentRegionMin

func NkWindowGetContentRegionMin(arg0 *Context) Vec2

NkWindowGetContentRegionMin function as declared in nk/nuklear.h:1666

func NkWindowGetContentRegionSize

func NkWindowGetContentRegionSize(arg0 *Context) Vec2

NkWindowGetContentRegionSize function as declared in nk/nuklear.h:1703

func NkWindowGetPosition

func NkWindowGetPosition(ctx *Context) Vec2

NkWindowGetPosition function as declared in nk/nuklear.h:1562

func NkWindowGetSize

func NkWindowGetSize(arg0 *Context) Vec2

NkWindowGetSize function as declared in nk/nuklear.h:1578

func (*Vec2) Free

func (x *Vec2) Free()

Free cleanups the referenced memory using C free.

func (*Vec2) GetX

func (s *Vec2) GetX() *float32

GetX returns a reference to C object within a struct

func (*Vec2) GetY

func (s *Vec2) GetY() *float32

GetY returns a reference to C object within a struct

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.

func (*Vec2) Reset

func (v *Vec2) Reset()

func (*Vec2) SetX

func (v *Vec2) SetX(x float32)

func (*Vec2) SetY

func (v *Vec2) SetY(y float32)

func (*Vec2) X

func (v *Vec2) X() float32

func (*Vec2) Y

func (v *Vec2) Y() float32

type Vec2i

type Vec2i C.struct_nk_vec2i

Vec2i as declared in nk/nuklear.h:460

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

func NewVec2iRef(ref unsafe.Pointer) *Vec2i

NewVec2iRef converts the C object reference into a raw struct reference without wrapping.

func (*Vec2i) Free

func (x *Vec2i) Free()

Free cleanups the referenced memory using C free.

func (*Vec2i) GetX

func (s *Vec2i) GetX() *int16

GetX returns a reference to C object within a struct

func (*Vec2i) GetY

func (s *Vec2i) GetY() *int16

GetY returns a reference to C object within a struct

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 WidgetLayoutStates

type WidgetLayoutStates int32

WidgetLayoutStates as declared in nk/nuklear.h:3041

func NkWidget

func NkWidget(arg0 *Rect, arg1 *Context) WidgetLayoutStates

NkWidget function as declared in nk/nuklear.h:3056

func NkWidgetFitting

func NkWidgetFitting(arg0 *Rect, arg1 *Context, arg2 Vec2) WidgetLayoutStates

NkWidgetFitting function as declared in nk/nuklear.h:3057

type WidgetStates

type WidgetStates int32

WidgetStates as declared in nk/nuklear.h:3046

type Window

type Window C.struct_nk_window

Window as declared in nk/nuklear.h:5408

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

func NewWindowRef(ref unsafe.Pointer) *Window

NewWindowRef converts the C object reference into a raw struct reference without wrapping.

func NkWindowFind

func NkWindowFind(ctx *Context, name string) *Window

NkWindowFind function as declared in nk/nuklear.h:1530

func (*Window) Free

func (x *Window) Free()

Free cleanups the referenced memory using C free.

func (*Window) GetBounds

func (s *Window) GetBounds() *Rect

GetBounds returns a reference to C object within a struct

func (*Window) GetBuffer

func (s *Window) GetBuffer() *CommandBuffer

GetBuffer returns a reference to C object within a struct

func (*Window) GetEdit

func (s *Window) GetEdit() *EditState

GetEdit returns a reference to C object within a struct

func (*Window) GetFlags

func (s *Window) GetFlags() *Flags

GetFlags returns a reference to C object within a struct

func (*Window) GetLayout

func (s *Window) GetLayout() **Panel

GetLayout returns a reference to C object within a struct

func (*Window) GetName

func (s *Window) GetName() *Hash

GetName returns a reference to C object within a struct

func (*Window) GetNameString

func (s *Window) GetNameString() [64]byte

GetNameString returns a reference to C object within a struct

func (*Window) GetNext

func (s *Window) GetNext() **Window

GetNext returns a reference to C object within a struct

func (*Window) GetParent

func (s *Window) GetParent() **Window

GetParent 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) GetPrev

func (s *Window) GetPrev() **Window

GetPrev 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

func (s *Window) GetScrollbar() *Scroll

GetScrollbar returns a reference to C object within a struct

func (*Window) GetScrollbarHidingTimer

func (s *Window) GetScrollbarHidingTimer() *float32

GetScrollbarHidingTimer returns a reference to C object within a struct

func (*Window) GetScrolled

func (s *Window) GetScrolled() *uint32

GetScrolled returns a reference to C object within a struct

func (*Window) GetSeq

func (s *Window) GetSeq() *uint32

GetSeq returns a reference to C object within a struct

func (*Window) GetTableCount

func (s *Window) GetTableCount() *uint32

GetTableCount returns a reference to C object within a struct

func (*Window) GetTables

func (s *Window) GetTables() **Table

GetTables 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.

type WindowFlags

type WindowFlags int32

WindowFlags as declared in nk/nuklear.h:5352

Jump to

Keyboard shortcuts

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