property

package
v0.0.0-...-715945f Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2017 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float

type Float struct {
	// contains filtered or unexported fields
}

func NewFloat

func NewFloat(name string, min, initialValue, max, step float32, incPerPixel float32, changeListener func(float *Float)) *Float

func NewFloatAsChild

func NewFloatAsChild(parent nkf.RecursiveDrawable, name string, min, initialValue, max, step float32, incPerPixel float32, changeListener func(float *Float)) *Float

func (*Float) Max

func (float *Float) Max() float32

func (*Float) Min

func (float *Float) Min() float32

func (*Float) Name

func (float *Float) Name() string

func (*Float) Render

func (float *Float) Render(ctx *nk.Context)

func (*Float) SetMax

func (float *Float) SetMax(max float32)

func (*Float) SetMin

func (float *Float) SetMin(min float32)

func (*Float) SetName

func (float *Float) SetName(name string)

func (*Float) SetValue

func (float *Float) SetValue(value float32)

func (*Float) Value

func (float *Float) Value() float32

type Integer

type Integer struct {
	// contains filtered or unexported fields
}

func NewInteger

func NewInteger(name string, min, initialValue, max, step int32, incPerPixel float32, changeListener func(integer *Integer)) *Integer

func NewIntegerAsChild

func NewIntegerAsChild(parent nkf.RecursiveDrawable, name string, min, initialValue, max, step int32, incPerPixel float32, changeListener func(integer *Integer)) *Integer

func (*Integer) Max

func (integer *Integer) Max() int32

func (*Integer) Min

func (integer *Integer) Min() int32

func (*Integer) Name

func (integer *Integer) Name() string

func (*Integer) Render

func (integer *Integer) Render(ctx *nk.Context)

func (*Integer) SetMax

func (integer *Integer) SetMax(max int32)

func (*Integer) SetMin

func (integer *Integer) SetMin(min int32)

func (*Integer) SetName

func (integer *Integer) SetName(name string)

func (*Integer) SetValue

func (integer *Integer) SetValue(value int32)

func (*Integer) Value

func (integer *Integer) Value() int32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL