Class Blendish
- java.lang.Object
-
- org.lwjgl.nanovg.Blendish
-
public class Blendish extends java.lang.ObjectBlendish is a small collection of drawing functions for NanoVG, designed to replicate the look of the Blender 2.5+ User Interface. You can use these functions to theme your UI library. Several metric constants for faithful reproduction are also included.Blendish supports the original Blender icon sheet; As the licensing of Blender's icons is unclear, they are not included in Blendish'es repository, but an SVG template, "icons_template.svg" is provided, which you can use to build your own icon sheet.
To use icons, you must first load the icon sheet using one of the
nvgCreateImage*()functions and then pass the image handle toSetIconImage; otherwise, no icons will be drawn. SeebndSetIconImage()for more information.Blendish will not render text until a suitable UI font has been passed to
SetFonthas been called. SeebndSetFont()for more information.Drawbacks
There is no support for varying dpi resolutions yet. The library is hardcoded to the equivalent of 72 dpi in the Blender system settings.
Support for label truncation is missing. Text rendering breaks when widgets are too short to contain their labels.
-
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intBND_ICONID(int x, int y)static voidbndArrow(long ctx, float x, float y, float s, NVGColor color)Draws a horizontal arrow for a number field with its center at(x,y)and sizes.static voidbndBackground(long ctx, float x, float y, float w, float h)Draws a flat panel without any decorations at position(x,y)with size(w,h)and fills it withbackgroundColor.static voidbndBevel(long ctx, float x, float y, float w, float h)Draws a beveled border at position(x,y)with size(w,h)shaded with lighter and darker versions ofbackgroundColor.static voidbndBevelInset(long ctx, float x, float y, float w, float h, float cr2, float cr3)Draws a lower inset for a rounded box at position(x,y)with size(w,h)that gives the impression the surface has been pushed in.static voidbndCheck(long ctx, float ox, float oy, NVGColor color)Draws a checkmark for an option box with the given upper left coordinates(ox,oy)with the specifiedcolor.static voidbndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.lang.CharSequence label)Draws a choice button with its lower left origin at(x,y)and size of(w,h).static voidbndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.nio.ByteBuffer label)Draws a choice button with its lower left origin at(x,y)and size of(w,h).static voidbndColorButton(long ctx, float x, float y, float w, float h, int flags, NVGColor color)Draws a color button with its lower left origin at(x,y)and size of(w,h).static voidbndColoredNodeWire(long ctx, float x0, float y0, float x1, float y1, NVGColor color0, NVGColor color1)Draws a node wire originating at(x0,y0)and floating to(x1,y1), with a colored gradient based on the two colorscolor0andcolor1.static voidbndDropShadow(long ctx, float x, float y, float w, float h, float r, float feather, float alpha)Draws a drop shadow around the rounded box at(x,y)with size(w,h)and radiusr, withfeatheras its maximum range in pixels.static BNDthemebndGetTheme()Returns the currently set theme.static voidbndIcon(long ctx, float x, float y, int iconid)Draws an icon with(x,y)as its upper left coordinate.static voidbndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, float fontsize, java.lang.CharSequence label, NVGColor caretcolor, int cbegin, int cend)Draws an optional icon specified byiconid, an optional label and a caret with givenfontsizeandcolorwithin a widget box.static voidbndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, float fontsize, java.nio.ByteBuffer label, NVGColor caretcolor, int cbegin, int cend)Draws an optional icon specified byiconid, an optional label and a caret with givenfontsizeandcolorwithin a widget box.static intbndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, java.lang.CharSequence label, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin aniconLabel.static intbndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, java.nio.ByteBuffer label, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin aniconLabel.static voidbndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, int align, float fontsize, java.lang.CharSequence label, java.lang.CharSequence value)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a widget box.static voidbndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, int align, float fontsize, java.nio.ByteBuffer label, java.nio.ByteBuffer value)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a widget box.static voidbndInnerBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, NVGColor shade_top, NVGColor shade_down)Draws the inner part of a widget box, with a gradient fromshade_toptoshade_down.static voidbndInnerColors(NVGColor shade_top, NVGColor shade_down, BNDwidgetTheme theme, int state, boolean flipActive)Computes the upper and lower gradient colors for the inner box from a widget theme and the widgets state.static voidbndJoinAreaOverlay(long ctx, float x, float y, float w, float h, boolean vertical, boolean mirror)Draws the join area overlay stencil into the rectangle at origin(x,y)and size(w,h).static voidbndLabel(long ctx, float x, float y, float w, float h, int iconid, java.lang.CharSequence label)Draws a label with its lower left origin at(x,y)and size of(w,h).static voidbndLabel(long ctx, float x, float y, float w, float h, int iconid, java.nio.ByteBuffer label)Draws a label with its lower left origin at(x,y)and size of(w,h).static floatbndLabelHeight(long ctx, int iconid, java.lang.CharSequence label, float width)Returns the height for a label with given icon, text and width; this function is primarily useful in conjunction with multiline labels and textboxes.static floatbndLabelHeight(long ctx, int iconid, java.nio.ByteBuffer label, float width)Returns the height for a label with given icon, text and width; this function is primarily useful in conjunction with multiline labels and textboxes.static floatbndLabelWidth(long ctx, int iconid, java.lang.CharSequence label)Returns the ideal width for a label with given icon and textstatic floatbndLabelWidth(long ctx, int iconid, java.nio.ByteBuffer label)Returns the ideal width for a label with given icon and textstatic voidbndMenuBackground(long ctx, float x, float y, float w, float h, int flags)Draws a menu background with its lower left origin at(x,y)and size of(w,h).static voidbndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, java.lang.CharSequence label)Draws a menu item with its lower left origin at(x,y)and size of(w,h).static voidbndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, java.nio.ByteBuffer label)Draws a menu item with its lower left origin at(x,y)and size of(w,h).static voidbndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, java.lang.CharSequence label)Draws a menu label with its lower left origin at(x,y)and size of(w,h).static voidbndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, java.nio.ByteBuffer label)Draws a menu label with its lower left origin at(x,y)and size of(w,h).static voidbndNodeArrowDown(long ctx, float x, float y, float s, NVGColor color)Draws a node down-arrow with its tip at(x,y)and sizesstatic voidbndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, java.lang.CharSequence label, NVGColor titleColor)Draws a node background with its upper left origin at(x,y)and size of(w,h).static voidbndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, java.nio.ByteBuffer label, NVGColor titleColor)Draws a node background with its upper left origin at(x,y)and size of(w,h).static voidbndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, NVGColor shadowColor, int align, float fontsize, java.lang.CharSequence label)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a node title bar.static voidbndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, NVGColor shadowColor, int align, float fontsize, java.nio.ByteBuffer label)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a node title bar.static voidbndNodePort(long ctx, float x, float y, int state, NVGColor color)Draws a node port at the given position filled with the given color.static voidbndNodeWire(long ctx, float x0, float y0, float x1, float y1, int state0, int state1)static NVGColorbndNodeWireColor(BNDnodeTheme theme, int state, NVGColor __result)Returns the color of a node wire based on state.static voidbndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, java.lang.CharSequence label, java.lang.CharSequence value)Draws a number field with its lower left origin at(x,y)and size of(w,h).static voidbndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, java.nio.ByteBuffer label, java.nio.ByteBuffer value)Draws a number field with its lower left origin at(x,y)and size of(w,h).static NVGColorbndOffsetColor(NVGColor color, int delta, NVGColor __result)Offsets a color by a given integer delta.static voidbndOptionButton(long ctx, float x, float y, float w, float h, int state, java.lang.CharSequence label)Draws an option button with its lower left origin at(x,y)and size of(w,h).static voidbndOptionButton(long ctx, float x, float y, float w, float h, int state, java.nio.ByteBuffer label)Draws an option button with its lower left origin at(x,y)and size of(w,h).static voidbndOutlineBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, NVGColor color)Draws the outline part of a widget box with the given color.static voidbndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.lang.CharSequence label)Draws a radio button with its lower left origin at(x,y)and size of(w,h).static voidbndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.nio.ByteBuffer label)Draws a radio button with its lower left origin at(x,y)and size of(w,h).static voidbndRoundedBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3)Adds a rounded box path at position(x,y)with size(w,h)and a separate radius for each corner listed in clockwise order, so thatcr0= top left,cr1= top right,cr2= bottom right,cr3= bottom left; this is a low level drawing function: the path must be stroked or filled to become visible.static voidbndScrollBar(long ctx, float x, float y, float w, float h, int state, float offset, float size)Draws scrollbar with its lower left origin at(x,y)and size of(w,h).static voidbndScrollHandleRect(float[] x, float[] y, float[] w, float[] h, float offset, float size)Array version of:ScrollHandleRectstatic voidbndScrollHandleRect(java.nio.FloatBuffer x, java.nio.FloatBuffer y, java.nio.FloatBuffer w, java.nio.FloatBuffer h, float offset, float size)Computes the bounds of the scrollbar handle from the scrollbar size and the handle's offset and size.static voidbndSelectCorners(float[] radiuses, float r, int flags)Array version of:SelectCornersstatic voidbndSelectCorners(java.nio.FloatBuffer radiuses, float r, int flags)Assigns radiusrto the four entries of arrayradiusesdepending on whether the corner is marked as sharp or not.static voidbndSetFont(int font)Designates an image handle as returned bynvgCreateFont*()as the themes' UI font.static voidbndSetIconImage(int image)Designates an image handle as returned bynvgCreateImage*()as the themes' icon sheet.static voidbndSetTheme(BNDtheme theme)Sets the current theme all widgets will be drawn with.static voidbndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, java.lang.CharSequence label, java.lang.CharSequence value)Draws slider control with its lower left origin at(x,y)and size of(w,h).static voidbndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, java.nio.ByteBuffer label, java.nio.ByteBuffer value)Draws slider control with its lower left origin at(x,y)and size of(w,h).static voidbndSplitterWidgets(long ctx, float x, float y, float w, float h)Draws a window with the upper right and lower left splitter widgets into the rectangle at origin(x,y)and size(w, h).static NVGColorbndTextColor(BNDwidgetTheme theme, int state, NVGColor __result)Computes the text color for a widget label from a widget theme and the widgets state.static voidbndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.lang.CharSequence text, int cbegin, int cend)Draws a text field with its lower left origin at(x,y)and size of(w,h).static voidbndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.nio.ByteBuffer text, int cbegin, int cend)Draws a text field with its lower left origin at(x,y)and size of(w,h).static intbndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, java.lang.CharSequence text, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin a text field.static intbndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, java.nio.ByteBuffer text, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin a text field.static voidbndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.lang.CharSequence label)Draws a tool button with its lower left origin at(x,y)and size of(w,h).static voidbndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, java.nio.ByteBuffer label)Draws a tool button with its lower left origin at(x,y)and size of(w,h).static voidbndTooltipBackground(long ctx, float x, float y, float w, float h)Draws a tooltip background with its lower left origin at(x,y)and size of(w,h).static NVGColorbndTransparent(NVGColor color, NVGColor __result)Makes color transparent using the default alpha value.static voidbndUpDownArrow(long ctx, float x, float y, float s, NVGColor color)Draws an up/down arrow for a choice box with its center at(x,y)and sizes.static voidnbndArrow(long ctx, float x, float y, float s, long color)Unsafe version of:Arrowstatic voidnbndBackground(long ctx, float x, float y, float w, float h)Unsafe version of:Backgroundstatic voidnbndBevel(long ctx, float x, float y, float w, float h)Unsafe version of:Bevelstatic voidnbndBevelInset(long ctx, float x, float y, float w, float h, float cr2, float cr3)Unsafe version of:BevelInsetstatic voidnbndCheck(long ctx, float ox, float oy, long color)Unsafe version of:Checkstatic voidnbndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:ChoiceButtonstatic voidnbndColorButton(long ctx, float x, float y, float w, float h, int flags, long color)Unsafe version of:ColorButtonstatic voidnbndColoredNodeWire(long ctx, float x0, float y0, float x1, float y1, long color0, long color1)Unsafe version of:ColoredNodeWirestatic voidnbndDropShadow(long ctx, float x, float y, float w, float h, float r, float feather, float alpha)Unsafe version of:DropShadowstatic longnbndGetTheme()Unsafe version of:GetThemestatic voidnbndIcon(long ctx, float x, float y, int iconid)Unsafe version of:Iconstatic voidnbndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, long color, float fontsize, long label, long caretcolor, int cbegin, int cend)Unsafe version of:IconLabelCaretstatic intnbndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, long label, int px, int py)Unsafe version of:IconLabelTextPositionstatic voidnbndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, long color, int align, float fontsize, long label, long value)Unsafe version of:IconLabelValuestatic voidnbndInnerBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, long shade_top, long shade_down)Unsafe version of:InnerBoxstatic voidnbndInnerColors(long shade_top, long shade_down, long theme, int state, int flipActive)Unsafe version of:InnerColorsstatic voidnbndJoinAreaOverlay(long ctx, float x, float y, float w, float h, int vertical, int mirror)Unsafe version of:JoinAreaOverlaystatic voidnbndLabel(long ctx, float x, float y, float w, float h, int iconid, long label)Unsafe version of:Labelstatic floatnbndLabelHeight(long ctx, int iconid, long label, float width)Unsafe version of:LabelHeightstatic floatnbndLabelWidth(long ctx, int iconid, long label)Unsafe version of:LabelWidthstatic voidnbndMenuBackground(long ctx, float x, float y, float w, float h, int flags)Unsafe version of:MenuBackgroundstatic voidnbndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, long label)Unsafe version of:MenuItemstatic voidnbndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, long label)Unsafe version of:MenuLabelstatic voidnbndNodeArrowDown(long ctx, float x, float y, float s, long color)Unsafe version of:NodeArrowDownstatic voidnbndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, long label, long titleColor)Unsafe version of:NodeBackgroundstatic voidnbndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, long color, long shadowColor, int align, float fontsize, long label)Unsafe version of:NodeIconLabelstatic voidnbndNodePort(long ctx, float x, float y, int state, long color)Unsafe version of:NodePortstatic voidnbndNodeWire(long ctx, float x0, float y0, float x1, float y1, int state0, int state1)Unsafe version of:NodeWirestatic voidnbndNodeWireColor(long theme, int state, long __result)Unsafe version of:NodeWireColorstatic voidnbndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, long label, long value)Unsafe version of:NumberFieldstatic voidnbndOffsetColor(long color, int delta, long __result)Unsafe version of:OffsetColorstatic voidnbndOptionButton(long ctx, float x, float y, float w, float h, int state, long label)Unsafe version of:OptionButtonstatic voidnbndOutlineBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, long color)Unsafe version of:OutlineBoxstatic voidnbndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:RadioButtonstatic voidnbndRoundedBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3)Unsafe version of:RoundedBoxstatic voidnbndScrollBar(long ctx, float x, float y, float w, float h, int state, float offset, float size)Unsafe version of:ScrollBarstatic voidnbndScrollHandleRect(float[] x, float[] y, float[] w, float[] h, float offset, float size)Array version of:nbndScrollHandleRect(long, long, long, long, float, float)static voidnbndScrollHandleRect(long x, long y, long w, long h, float offset, float size)Unsafe version of:ScrollHandleRectstatic voidnbndSelectCorners(float[] radiuses, float r, int flags)Array version of:nbndSelectCorners(long, float, int)static voidnbndSelectCorners(long radiuses, float r, int flags)Unsafe version of:SelectCornersstatic voidnbndSetTheme(long theme)Unsafe version of:SetThemestatic voidnbndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, long label, long value)Unsafe version of:Sliderstatic voidnbndSplitterWidgets(long ctx, float x, float y, float w, float h)Unsafe version of:SplitterWidgetsstatic voidnbndTextColor(long theme, int state, long __result)Unsafe version of:TextColorstatic voidnbndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long text, int cbegin, int cend)Unsafe version of:TextFieldstatic intnbndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, long text, int px, int py)Unsafe version of:TextFieldTextPositionstatic voidnbndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:ToolButtonstatic voidnbndTooltipBackground(long ctx, float x, float y, float w, float h)Unsafe version of:TooltipBackgroundstatic voidnbndTransparent(long color, long __result)Unsafe version of:Transparentstatic voidnbndUpDownArrow(long ctx, float x, float y, float s, long color)Unsafe version of:UpDownArrow
-
-
-
Field Detail
-
BND_DISABLED_ALPHA
Alpha of disabled widget groups. Can be used in conjunction withGlobalAlpha.
-
BND_CORNER_NONE, BND_CORNER_TOP_LEFT, BND_CORNER_TOP_RIGHT, BND_CORNER_DOWN_RIGHT, BND_CORNER_DOWN_LEFT, BND_CORNER_ALL, BND_CORNER_TOP, BND_CORNER_DOWN, BND_CORNER_LEFT, BND_CORNER_RIGHT
Flags indicating which corners are sharp (for grouping widgets). (BNDcornerFlags)Enum values:
CORNER_NONE- all corners are roundCORNER_TOP_LEFT- sharp top left cornerCORNER_TOP_RIGHT- sharp top right cornerCORNER_DOWN_RIGHT- sharp bottom right cornerCORNER_DOWN_LEFT- sharp bottom left cornerCORNER_ALL- all corners are sharp; you can invert a set of flags using ^= BND_CORNER_ALLCORNER_TOP- top border is sharpCORNER_DOWN- bottom border is sharpCORNER_LEFT- left border is sharpCORNER_RIGHT- right border is sharp
-
BND_WIDGET_HEIGHT, BND_TOOL_WIDTH, BND_NODE_PORT_RADIUS, BND_NODE_MARGIN_TOP, BND_NODE_MARGIN_DOWN, BND_NODE_MARGIN_SIDE, BND_NODE_TITLE_HEIGHT, BND_NODE_ARROW_AREA_WIDTH, BND_SPLITTER_AREA_SIZE, BND_SCROLLBAR_WIDTH, BND_SCROLLBAR_HEIGHT, BND_VSPACING, BND_VSPACING_GROUP, BND_HSPACING
Enum values:
WIDGET_HEIGHT- default widget heightTOOL_WIDTH- default toolbutton width (if icon only)NODE_PORT_RADIUS- default radius of node portsNODE_MARGIN_TOP- top margin of node contentNODE_MARGIN_DOWN- bottom margin of node contentNODE_MARGIN_SIDE- left and right margin of node contentNODE_TITLE_HEIGHT- height of node title barNODE_ARROW_AREA_WIDTH- width of node title arrow click areaSPLITTER_AREA_SIZE- size of splitter corner click areaSCROLLBAR_WIDTH- width of vertical scrollbarSCROLLBAR_HEIGHT- height of horizontal scrollbarVSPACING- default vertical spacingVSPACING_GROUP- default vertical spacing between groupsHSPACING- default horizontal spacing
-
BND_ICON_NONE, BND_ICON_QUESTION, BND_ICON_ERROR, BND_ICON_CANCEL, BND_ICON_TRIA_RIGHT, BND_ICON_TRIA_DOWN, BND_ICON_TRIA_LEFT, BND_ICON_TRIA_UP, BND_ICON_ARROW_LEFTRIGHT, BND_ICON_PLUS, BND_ICON_DISCLOSURE_TRI_DOWN, BND_ICON_DISCLOSURE_TRI_RIGHT, BND_ICON_RADIOBUT_OFF, BND_ICON_RADIOBUT_ON, BND_ICON_MENU_PANEL, BND_ICON_BLENDER, BND_ICON_GRIP, BND_ICON_DOT, BND_ICON_COLLAPSEMENU, BND_ICON_X, BND_ICON_GO_LEFT, BND_ICON_PLUG, BND_ICON_UI, BND_ICON_NODE, BND_ICON_NODE_SEL, BND_ICON_FULLSCREEN, BND_ICON_SPLITSCREEN, BND_ICON_RIGHTARROW_THIN, BND_ICON_BORDERMOVE, BND_ICON_VIEWZOOM, BND_ICON_ZOOMIN, BND_ICON_ZOOMOUT, BND_ICON_PANEL_CLOSE, BND_ICON_COPY_ID, BND_ICON_EYEDROPPER, BND_ICON_LINK_AREA, BND_ICON_AUTO, BND_ICON_CHECKBOX_DEHLT, BND_ICON_CHECKBOX_HLT, BND_ICON_UNLOCKED, BND_ICON_LOCKED, BND_ICON_UNPINNED, BND_ICON_PINNED, BND_ICON_SCREEN_BACK, BND_ICON_RIGHTARROW, BND_ICON_DOWNARROW_HLT, BND_ICON_DOTSUP, BND_ICON_DOTSDOWN, BND_ICON_LINK, BND_ICON_INLINK, BND_ICON_PLUGIN, BND_ICON_HELP, BND_ICON_GHOST_ENABLED, BND_ICON_COLOR, BND_ICON_LINKED, BND_ICON_UNLINKED, BND_ICON_HAND, BND_ICON_ZOOM_ALL, BND_ICON_ZOOM_SELECTED, BND_ICON_ZOOM_PREVIOUS, BND_ICON_ZOOM_IN, BND_ICON_ZOOM_OUT, BND_ICON_RENDER_REGION, BND_ICON_BORDER_RECT, BND_ICON_BORDER_LASSO, BND_ICON_FREEZE, BND_ICON_STYLUS_PRESSURE, BND_ICON_GHOST_DISABLED, BND_ICON_NEW, BND_ICON_FILE_TICK, BND_ICON_QUIT, BND_ICON_URL, BND_ICON_RECOVER_LAST, BND_ICON_FULLSCREEN_ENTER, BND_ICON_FULLSCREEN_EXIT, BND_ICON_BLANK1, BND_ICON_LAMP, BND_ICON_MATERIAL, BND_ICON_TEXTURE, BND_ICON_ANIM, BND_ICON_WORLD, BND_ICON_SCENE, BND_ICON_EDIT, BND_ICON_GAME, BND_ICON_RADIO, BND_ICON_SCRIPT, BND_ICON_PARTICLES, BND_ICON_PHYSICS, BND_ICON_SPEAKER, BND_ICON_TEXTURE_SHADED, BND_ICON_VIEW3D, BND_ICON_IPO, BND_ICON_OOPS, BND_ICON_BUTS, BND_ICON_FILESEL, BND_ICON_IMAGE_COL, BND_ICON_INFO, BND_ICON_SEQUENCE, BND_ICON_TEXT, BND_ICON_IMASEL, BND_ICON_SOUND, BND_ICON_ACTION, BND_ICON_NLA, BND_ICON_SCRIPTWIN, BND_ICON_TIME, BND_ICON_NODETREE, BND_ICON_LOGIC, BND_ICON_CONSOLE, BND_ICON_PREFERENCES, BND_ICON_CLIP, BND_ICON_ASSET_MANAGER, BND_ICON_OBJECT_DATAMODE, BND_ICON_EDITMODE_HLT, BND_ICON_FACESEL_HLT, BND_ICON_VPAINT_HLT, BND_ICON_TPAINT_HLT, BND_ICON_WPAINT_HLT, BND_ICON_SCULPTMODE_HLT, BND_ICON_POSE_HLT, BND_ICON_PARTICLEMODE, BND_ICON_LIGHTPAINT, BND_ICON_SCENE_DATA, BND_ICON_RENDERLAYERS, BND_ICON_WORLD_DATA, BND_ICON_OBJECT_DATA, BND_ICON_MESH_DATA, BND_ICON_CURVE_DATA, BND_ICON_META_DATA, BND_ICON_LATTICE_DATA, BND_ICON_LAMP_DATA, BND_ICON_MATERIAL_DATA, BND_ICON_TEXTURE_DATA, BND_ICON_ANIM_DATA, BND_ICON_CAMERA_DATA, BND_ICON_PARTICLE_DATA, BND_ICON_LIBRARY_DATA_DIRECT, BND_ICON_GROUP, BND_ICON_ARMATURE_DATA, BND_ICON_POSE_DATA, BND_ICON_BONE_DATA, BND_ICON_CONSTRAINT, BND_ICON_SHAPEKEY_DATA, BND_ICON_CONSTRAINT_BONE, BND_ICON_CAMERA_STEREO, BND_ICON_PACKAGE, BND_ICON_UGLYPACKAGE, BND_ICON_BRUSH_DATA, BND_ICON_IMAGE_DATA, BND_ICON_FILE, BND_ICON_FCURVE, BND_ICON_FONT_DATA, BND_ICON_RENDER_RESULT, BND_ICON_SURFACE_DATA, BND_ICON_EMPTY_DATA, BND_ICON_SETTINGS, BND_ICON_RENDER_ANIMATION, BND_ICON_RENDER_STILL, BND_ICON_BOIDS, BND_ICON_STRANDS, BND_ICON_LIBRARY_DATA_INDIRECT, BND_ICON_GREASEPENCIL, BND_ICON_LINE_DATA, BND_ICON_GROUP_BONE, BND_ICON_GROUP_VERTEX, BND_ICON_GROUP_VCOL, BND_ICON_GROUP_UVS, BND_ICON_RNA, BND_ICON_RNA_ADD, BND_ICON_OUTLINER_OB_EMPTY, BND_ICON_OUTLINER_OB_MESH, BND_ICON_OUTLINER_OB_CURVE, BND_ICON_OUTLINER_OB_LATTICE, BND_ICON_OUTLINER_OB_META, BND_ICON_OUTLINER_OB_LAMP, BND_ICON_OUTLINER_OB_CAMERA, BND_ICON_OUTLINER_OB_ARMATURE, BND_ICON_OUTLINER_OB_FONT, BND_ICON_OUTLINER_OB_SURFACE, BND_ICON_OUTLINER_OB_SPEAKER, BND_ICON_RESTRICT_VIEW_OFF, BND_ICON_RESTRICT_VIEW_ON, BND_ICON_RESTRICT_SELECT_OFF, BND_ICON_RESTRICT_SELECT_ON, BND_ICON_RESTRICT_RENDER_OFF, BND_ICON_RESTRICT_RENDER_ON, BND_ICON_OUTLINER_DATA_EMPTY, BND_ICON_OUTLINER_DATA_MESH, BND_ICON_OUTLINER_DATA_CURVE, BND_ICON_OUTLINER_DATA_LATTICE, BND_ICON_OUTLINER_DATA_META, BND_ICON_OUTLINER_DATA_LAMP, BND_ICON_OUTLINER_DATA_CAMERA, BND_ICON_OUTLINER_DATA_ARMATURE, BND_ICON_OUTLINER_DATA_FONT, BND_ICON_OUTLINER_DATA_SURFACE, BND_ICON_OUTLINER_DATA_SPEAKER, BND_ICON_OUTLINER_DATA_POSE, BND_ICON_MESH_PLANE, BND_ICON_MESH_CUBE, BND_ICON_MESH_CIRCLE, BND_ICON_MESH_UVSPHERE, BND_ICON_MESH_ICOSPHERE, BND_ICON_MESH_GRID, BND_ICON_MESH_MONKEY, BND_ICON_MESH_CYLINDER, BND_ICON_MESH_TORUS, BND_ICON_MESH_CONE, BND_ICON_LAMP_POINT, BND_ICON_LAMP_SUN, BND_ICON_LAMP_SPOT, BND_ICON_LAMP_HEMI, BND_ICON_LAMP_AREA, BND_ICON_META_EMPTY, BND_ICON_META_PLANE, BND_ICON_META_CUBE, BND_ICON_META_BALL, BND_ICON_META_ELLIPSOID, BND_ICON_META_CAPSULE, BND_ICON_SURFACE_NCURVE, BND_ICON_SURFACE_NCIRCLE, BND_ICON_SURFACE_NSURFACE, BND_ICON_SURFACE_NCYLINDER, BND_ICON_SURFACE_NSPHERE, BND_ICON_SURFACE_NTORUS, BND_ICON_CURVE_BEZCURVE, BND_ICON_CURVE_BEZCIRCLE, BND_ICON_CURVE_NCURVE, BND_ICON_CURVE_NCIRCLE, BND_ICON_CURVE_PATH, BND_ICON_COLOR_RED, BND_ICON_COLOR_GREEN, BND_ICON_COLOR_BLUE, BND_ICON_FORCE_FORCE, BND_ICON_FORCE_WIND, BND_ICON_FORCE_VORTEX, BND_ICON_FORCE_MAGNETIC, BND_ICON_FORCE_HARMONIC, BND_ICON_FORCE_CHARGE, BND_ICON_FORCE_LENNARDJONES, BND_ICON_FORCE_TEXTURE, BND_ICON_FORCE_CURVE, BND_ICON_FORCE_BOID, BND_ICON_FORCE_TURBULENCE, BND_ICON_FORCE_DRAG, BND_ICON_FORCE_SMOKEFLOW, BND_ICON_MODIFIER, BND_ICON_MOD_WAVE, BND_ICON_MOD_BUILD, BND_ICON_MOD_DECIM, BND_ICON_MOD_MIRROR, BND_ICON_MOD_SOFT, BND_ICON_MOD_SUBSURF, BND_ICON_HOOK, BND_ICON_MOD_PHYSICS, BND_ICON_MOD_PARTICLES, BND_ICON_MOD_BOOLEAN, BND_ICON_MOD_EDGESPLIT, BND_ICON_MOD_ARRAY, BND_ICON_MOD_UVPROJECT, BND_ICON_MOD_DISPLACE, BND_ICON_MOD_CURVE, BND_ICON_MOD_LATTICE, BND_ICON_CONSTRAINT_DATA, BND_ICON_MOD_ARMATURE, BND_ICON_MOD_SHRINKWRAP, BND_ICON_MOD_CAST, BND_ICON_MOD_MESHDEFORM, BND_ICON_MOD_BEVEL, BND_ICON_MOD_SMOOTH, BND_ICON_MOD_SIMPLEDEFORM, BND_ICON_MOD_MASK, BND_ICON_MOD_CLOTH, BND_ICON_MOD_EXPLODE, BND_ICON_MOD_FLUIDSIM, BND_ICON_MOD_MULTIRES, BND_ICON_MOD_SMOKE, BND_ICON_MOD_SOLIDIFY, BND_ICON_MOD_SCREW, BND_ICON_MOD_VERTEX_WEIGHT, BND_ICON_MOD_DYNAMICPAINT, BND_ICON_MOD_REMESH, BND_ICON_MOD_OCEAN, BND_ICON_MOD_WARP, BND_ICON_MOD_SKIN, BND_ICON_MOD_TRIANGULATE, BND_ICON_MOD_WIREFRAME, BND_ICON_REC, BND_ICON_PLAY, BND_ICON_FF, BND_ICON_REW, BND_ICON_PAUSE, BND_ICON_PREV_KEYFRAME, BND_ICON_NEXT_KEYFRAME, BND_ICON_PLAY_AUDIO, BND_ICON_PLAY_REVERSE, BND_ICON_PREVIEW_RANGE, BND_ICON_ACTION_TWEAK, BND_ICON_PMARKER_ACT, BND_ICON_PMARKER_SEL, BND_ICON_PMARKER, BND_ICON_MARKER_HLT, BND_ICON_MARKER, BND_ICON_SPACE2, BND_ICON_SPACE3, BND_ICON_KEYINGSET, BND_ICON_KEY_DEHLT, BND_ICON_KEY_HLT, BND_ICON_MUTE_IPO_OFF, BND_ICON_MUTE_IPO_ON, BND_ICON_VISIBLE_IPO_OFF, BND_ICON_VISIBLE_IPO_ON, BND_ICON_DRIVER, BND_ICON_SOLO_OFF, BND_ICON_SOLO_ON, BND_ICON_FRAME_PREV, BND_ICON_FRAME_NEXT, BND_ICON_NLA_PUSHDOWN, BND_ICON_IPO_CONSTANT, BND_ICON_IPO_LINEAR, BND_ICON_IPO_BEZIER, BND_ICON_IPO_SINE, BND_ICON_IPO_QUAD, BND_ICON_IPO_CUBIC, BND_ICON_IPO_QUART, BND_ICON_IPO_QUINT, BND_ICON_IPO_EXPO, BND_ICON_IPO_CIRC, BND_ICON_IPO_BOUNCE, BND_ICON_IPO_ELASTIC, BND_ICON_IPO_BACK, BND_ICON_IPO_EASE_IN, BND_ICON_IPO_EASE_OUT, BND_ICON_IPO_EASE_IN_OUT, BND_ICON_VERTEXSEL, BND_ICON_EDGESEL, BND_ICON_FACESEL, BND_ICON_LOOPSEL, BND_ICON_ROTATE, BND_ICON_CURSOR, BND_ICON_ROTATECOLLECTION, BND_ICON_ROTATECENTER, BND_ICON_ROTACTIVE, BND_ICON_ALIGN, BND_ICON_SMOOTHCURVE, BND_ICON_SPHERECURVE, BND_ICON_ROOTCURVE, BND_ICON_SHARPCURVE, BND_ICON_LINCURVE, BND_ICON_NOCURVE, BND_ICON_RNDCURVE, BND_ICON_PROP_OFF, BND_ICON_PROP_ON, BND_ICON_PROP_CON, BND_ICON_SCULPT_DYNTOPO, BND_ICON_PARTICLE_POINT, BND_ICON_PARTICLE_TIP, BND_ICON_PARTICLE_PATH, BND_ICON_MAN_TRANS, BND_ICON_MAN_ROT, BND_ICON_MAN_SCALE, BND_ICON_MANIPUL, BND_ICON_SNAP_OFF, BND_ICON_SNAP_ON, BND_ICON_SNAP_NORMAL, BND_ICON_SNAP_INCREMENT, BND_ICON_SNAP_VERTEX, BND_ICON_SNAP_EDGE, BND_ICON_SNAP_FACE, BND_ICON_SNAP_VOLUME, BND_ICON_STICKY_UVS_LOC, BND_ICON_STICKY_UVS_DISABLE, BND_ICON_STICKY_UVS_VERT, BND_ICON_CLIPUV_DEHLT, BND_ICON_CLIPUV_HLT, BND_ICON_SNAP_PEEL_OBJECT, BND_ICON_GRID, BND_ICON_PASTEDOWN, BND_ICON_COPYDOWN, BND_ICON_PASTEFLIPUP, BND_ICON_PASTEFLIPDOWN, BND_ICON_SNAP_SURFACE, BND_ICON_AUTOMERGE_ON, BND_ICON_AUTOMERGE_OFF, BND_ICON_RETOPO, BND_ICON_UV_VERTEXSEL, BND_ICON_UV_EDGESEL, BND_ICON_UV_FACESEL, BND_ICON_UV_ISLANDSEL, BND_ICON_UV_SYNC_SELECT, BND_ICON_BBOX, BND_ICON_WIRE, BND_ICON_SOLID, BND_ICON_SMOOTH, BND_ICON_POTATO, BND_ICON_ORTHO, BND_ICON_LOCKVIEW_OFF, BND_ICON_LOCKVIEW_ON, BND_ICON_AXIS_SIDE, BND_ICON_AXIS_FRONT, BND_ICON_AXIS_TOP, BND_ICON_NDOF_DOM, BND_ICON_NDOF_TURN, BND_ICON_NDOF_FLY, BND_ICON_NDOF_TRANS, BND_ICON_LAYER_USED, BND_ICON_LAYER_ACTIVE, BND_ICON_SORTALPHA, BND_ICON_SORTBYEXT, BND_ICON_SORTTIME, BND_ICON_SORTSIZE, BND_ICON_LONGDISPLAY, BND_ICON_SHORTDISPLAY, BND_ICON_GHOST, BND_ICON_IMGDISPLAY, BND_ICON_SAVE_AS, BND_ICON_SAVE_COPY, BND_ICON_BOOKMARKS, BND_ICON_FONTPREVIEW, BND_ICON_FILTER, BND_ICON_NEWFOLDER, BND_ICON_OPEN_RECENT, BND_ICON_FILE_PARENT, BND_ICON_FILE_REFRESH, BND_ICON_FILE_FOLDER, BND_ICON_FILE_BLANK, BND_ICON_FILE_BLEND, BND_ICON_FILE_IMAGE, BND_ICON_FILE_MOVIE, BND_ICON_FILE_SCRIPT, BND_ICON_FILE_SOUND, BND_ICON_FILE_FONT, BND_ICON_FILE_TEXT, BND_ICON_RECOVER_AUTO, BND_ICON_SAVE_PREFS, BND_ICON_LINK_BLEND, BND_ICON_APPEND_BLEND, BND_ICON_IMPORT, BND_ICON_EXPORT, BND_ICON_EXTERNAL_DATA, BND_ICON_LOAD_FACTORY, BND_ICON_LOOP_BACK, BND_ICON_LOOP_FORWARDS, BND_ICON_BACK, BND_ICON_FORWARD, BND_ICON_FILE_BACKUP, BND_ICON_DISK_DRIVE, BND_ICON_MATPLANE, BND_ICON_MATSPHERE, BND_ICON_MATCUBE, BND_ICON_MONKEY, BND_ICON_HAIR, BND_ICON_ALIASED, BND_ICON_ANTIALIASED, BND_ICON_MAT_SPHERE_SKY, BND_ICON_WORDWRAP_OFF, BND_ICON_WORDWRAP_ON, BND_ICON_SYNTAX_OFF, BND_ICON_SYNTAX_ON, BND_ICON_LINENUMBERS_OFF, BND_ICON_LINENUMBERS_ON, BND_ICON_SCRIPTPLUGINS, BND_ICON_SEQ_SEQUENCER, BND_ICON_SEQ_PREVIEW, BND_ICON_SEQ_LUMA_WAVEFORM, BND_ICON_SEQ_CHROMA_SCOPE, BND_ICON_SEQ_HISTOGRAM, BND_ICON_SEQ_SPLITVIEW, BND_ICON_IMAGE_RGB, BND_ICON_IMAGE_RGB_ALPHA, BND_ICON_IMAGE_ALPHA, BND_ICON_IMAGE_ZDEPTH, BND_ICON_IMAGEFILE
BNDiconEnum values:
ICON_NONEICON_QUESTIONICON_ERRORICON_CANCELICON_TRIA_RIGHTICON_TRIA_DOWNICON_TRIA_LEFTICON_TRIA_UPICON_ARROW_LEFTRIGHTICON_PLUSICON_DISCLOSURE_TRI_DOWNICON_DISCLOSURE_TRI_RIGHTICON_RADIOBUT_OFFICON_RADIOBUT_ONICON_MENU_PANELICON_BLENDERICON_GRIPICON_DOTICON_COLLAPSEMENUICON_XICON_GO_LEFTICON_PLUGICON_UIICON_NODEICON_NODE_SELICON_FULLSCREENICON_SPLITSCREENICON_RIGHTARROW_THINICON_BORDERMOVEICON_VIEWZOOMICON_ZOOMINICON_ZOOMOUTICON_PANEL_CLOSEICON_COPY_IDICON_EYEDROPPERICON_LINK_AREAICON_AUTOICON_CHECKBOX_DEHLTICON_CHECKBOX_HLTICON_UNLOCKEDICON_LOCKEDICON_UNPINNEDICON_PINNEDICON_SCREEN_BACKICON_RIGHTARROWICON_DOWNARROW_HLTICON_DOTSUPICON_DOTSDOWNICON_LINKICON_INLINKICON_PLUGINICON_HELPICON_GHOST_ENABLEDICON_COLORICON_LINKEDICON_UNLINKEDICON_HANDICON_ZOOM_ALLICON_ZOOM_SELECTEDICON_ZOOM_PREVIOUSICON_ZOOM_INICON_ZOOM_OUTICON_RENDER_REGIONICON_BORDER_RECTICON_BORDER_LASSOICON_FREEZEICON_STYLUS_PRESSUREICON_GHOST_DISABLEDICON_NEWICON_FILE_TICKICON_QUITICON_URLICON_RECOVER_LASTICON_FULLSCREEN_ENTERICON_FULLSCREEN_EXITICON_BLANK1ICON_LAMPICON_MATERIALICON_TEXTUREICON_ANIMICON_WORLDICON_SCENEICON_EDITICON_GAMEICON_RADIOICON_SCRIPTICON_PARTICLESICON_PHYSICSICON_SPEAKERICON_TEXTURE_SHADEDICON_VIEW3DICON_IPOICON_OOPSICON_BUTSICON_FILESELICON_IMAGE_COLICON_INFOICON_SEQUENCEICON_TEXTICON_IMASELICON_SOUNDICON_ACTIONICON_NLAICON_SCRIPTWINICON_TIMEICON_NODETREEICON_LOGICICON_CONSOLEICON_PREFERENCESICON_CLIPICON_ASSET_MANAGERICON_OBJECT_DATAMODEICON_EDITMODE_HLTICON_FACESEL_HLTICON_VPAINT_HLTICON_TPAINT_HLTICON_WPAINT_HLTICON_SCULPTMODE_HLTICON_POSE_HLTICON_PARTICLEMODEICON_LIGHTPAINTICON_SCENE_DATAICON_RENDERLAYERSICON_WORLD_DATAICON_OBJECT_DATAICON_MESH_DATAICON_CURVE_DATAICON_META_DATAICON_LATTICE_DATAICON_LAMP_DATAICON_MATERIAL_DATAICON_TEXTURE_DATAICON_ANIM_DATAICON_CAMERA_DATAICON_PARTICLE_DATAICON_LIBRARY_DATA_DIRECTICON_GROUPICON_ARMATURE_DATAICON_POSE_DATAICON_BONE_DATAICON_CONSTRAINTICON_SHAPEKEY_DATAICON_CONSTRAINT_BONEICON_CAMERA_STEREOICON_PACKAGEICON_UGLYPACKAGEICON_BRUSH_DATAICON_IMAGE_DATAICON_FILEICON_FCURVEICON_FONT_DATAICON_RENDER_RESULTICON_SURFACE_DATAICON_EMPTY_DATAICON_SETTINGSICON_RENDER_ANIMATIONICON_RENDER_STILLICON_BOIDSICON_STRANDSICON_LIBRARY_DATA_INDIRECTICON_GREASEPENCILICON_LINE_DATAICON_GROUP_BONEICON_GROUP_VERTEXICON_GROUP_VCOLICON_GROUP_UVSICON_RNAICON_RNA_ADDICON_OUTLINER_OB_EMPTYICON_OUTLINER_OB_MESHICON_OUTLINER_OB_CURVEICON_OUTLINER_OB_LATTICEICON_OUTLINER_OB_METAICON_OUTLINER_OB_LAMPICON_OUTLINER_OB_CAMERAICON_OUTLINER_OB_ARMATUREICON_OUTLINER_OB_FONTICON_OUTLINER_OB_SURFACEICON_OUTLINER_OB_SPEAKERICON_RESTRICT_VIEW_OFFICON_RESTRICT_VIEW_ONICON_RESTRICT_SELECT_OFFICON_RESTRICT_SELECT_ONICON_RESTRICT_RENDER_OFFICON_RESTRICT_RENDER_ONICON_OUTLINER_DATA_EMPTYICON_OUTLINER_DATA_MESHICON_OUTLINER_DATA_CURVEICON_OUTLINER_DATA_LATTICEICON_OUTLINER_DATA_METAICON_OUTLINER_DATA_LAMPICON_OUTLINER_DATA_CAMERAICON_OUTLINER_DATA_ARMATUREICON_OUTLINER_DATA_FONTICON_OUTLINER_DATA_SURFACEICON_OUTLINER_DATA_SPEAKERICON_OUTLINER_DATA_POSEICON_MESH_PLANEICON_MESH_CUBEICON_MESH_CIRCLEICON_MESH_UVSPHEREICON_MESH_ICOSPHEREICON_MESH_GRIDICON_MESH_MONKEYICON_MESH_CYLINDERICON_MESH_TORUSICON_MESH_CONEICON_LAMP_POINTICON_LAMP_SUNICON_LAMP_SPOTICON_LAMP_HEMIICON_LAMP_AREAICON_META_EMPTYICON_META_PLANEICON_META_CUBEICON_META_BALLICON_META_ELLIPSOIDICON_META_CAPSULEICON_SURFACE_NCURVEICON_SURFACE_NCIRCLEICON_SURFACE_NSURFACEICON_SURFACE_NCYLINDERICON_SURFACE_NSPHEREICON_SURFACE_NTORUSICON_CURVE_BEZCURVEICON_CURVE_BEZCIRCLEICON_CURVE_NCURVEICON_CURVE_NCIRCLEICON_CURVE_PATHICON_COLOR_REDICON_COLOR_GREENICON_COLOR_BLUEICON_FORCE_FORCEICON_FORCE_WINDICON_FORCE_VORTEXICON_FORCE_MAGNETICICON_FORCE_HARMONICICON_FORCE_CHARGEICON_FORCE_LENNARDJONESICON_FORCE_TEXTUREICON_FORCE_CURVEICON_FORCE_BOIDICON_FORCE_TURBULENCEICON_FORCE_DRAGICON_FORCE_SMOKEFLOWICON_MODIFIERICON_MOD_WAVEICON_MOD_BUILDICON_MOD_DECIMICON_MOD_MIRRORICON_MOD_SOFTICON_MOD_SUBSURFICON_HOOKICON_MOD_PHYSICSICON_MOD_PARTICLESICON_MOD_BOOLEANICON_MOD_EDGESPLITICON_MOD_ARRAYICON_MOD_UVPROJECTICON_MOD_DISPLACEICON_MOD_CURVEICON_MOD_LATTICEICON_CONSTRAINT_DATAICON_MOD_ARMATUREICON_MOD_SHRINKWRAPICON_MOD_CASTICON_MOD_MESHDEFORMICON_MOD_BEVELICON_MOD_SMOOTHICON_MOD_SIMPLEDEFORMICON_MOD_MASKICON_MOD_CLOTHICON_MOD_EXPLODEICON_MOD_FLUIDSIMICON_MOD_MULTIRESICON_MOD_SMOKEICON_MOD_SOLIDIFYICON_MOD_SCREWICON_MOD_VERTEX_WEIGHTICON_MOD_DYNAMICPAINTICON_MOD_REMESHICON_MOD_OCEANICON_MOD_WARPICON_MOD_SKINICON_MOD_TRIANGULATEICON_MOD_WIREFRAMEICON_RECICON_PLAYICON_FFICON_REWICON_PAUSEICON_PREV_KEYFRAMEICON_NEXT_KEYFRAMEICON_PLAY_AUDIOICON_PLAY_REVERSEICON_PREVIEW_RANGEICON_ACTION_TWEAKICON_PMARKER_ACTICON_PMARKER_SELICON_PMARKERICON_MARKER_HLTICON_MARKERICON_SPACE2ICON_SPACE3ICON_KEYINGSETICON_KEY_DEHLTICON_KEY_HLTICON_MUTE_IPO_OFFICON_MUTE_IPO_ONICON_VISIBLE_IPO_OFFICON_VISIBLE_IPO_ONICON_DRIVERICON_SOLO_OFFICON_SOLO_ONICON_FRAME_PREVICON_FRAME_NEXTICON_NLA_PUSHDOWNICON_IPO_CONSTANTICON_IPO_LINEARICON_IPO_BEZIERICON_IPO_SINEICON_IPO_QUADICON_IPO_CUBICICON_IPO_QUARTICON_IPO_QUINTICON_IPO_EXPOICON_IPO_CIRCICON_IPO_BOUNCEICON_IPO_ELASTICICON_IPO_BACKICON_IPO_EASE_INICON_IPO_EASE_OUTICON_IPO_EASE_IN_OUTICON_VERTEXSELICON_EDGESELICON_FACESELICON_LOOPSELICON_ROTATEICON_CURSORICON_ROTATECOLLECTIONICON_ROTATECENTERICON_ROTACTIVEICON_ALIGNICON_SMOOTHCURVEICON_SPHERECURVEICON_ROOTCURVEICON_SHARPCURVEICON_LINCURVEICON_NOCURVEICON_RNDCURVEICON_PROP_OFFICON_PROP_ONICON_PROP_CONICON_SCULPT_DYNTOPOICON_PARTICLE_POINTICON_PARTICLE_TIPICON_PARTICLE_PATHICON_MAN_TRANSICON_MAN_ROTICON_MAN_SCALEICON_MANIPULICON_SNAP_OFFICON_SNAP_ONICON_SNAP_NORMALICON_SNAP_INCREMENTICON_SNAP_VERTEXICON_SNAP_EDGEICON_SNAP_FACEICON_SNAP_VOLUMEICON_STICKY_UVS_LOCICON_STICKY_UVS_DISABLEICON_STICKY_UVS_VERTICON_CLIPUV_DEHLTICON_CLIPUV_HLTICON_SNAP_PEEL_OBJECTICON_GRIDICON_PASTEDOWNICON_COPYDOWNICON_PASTEFLIPUPICON_PASTEFLIPDOWNICON_SNAP_SURFACEICON_AUTOMERGE_ONICON_AUTOMERGE_OFFICON_RETOPOICON_UV_VERTEXSELICON_UV_EDGESELICON_UV_FACESELICON_UV_ISLANDSELICON_UV_SYNC_SELECTICON_BBOXICON_WIREICON_SOLIDICON_SMOOTHICON_POTATOICON_ORTHOICON_LOCKVIEW_OFFICON_LOCKVIEW_ONICON_AXIS_SIDEICON_AXIS_FRONTICON_AXIS_TOPICON_NDOF_DOMICON_NDOF_TURNICON_NDOF_FLYICON_NDOF_TRANSICON_LAYER_USEDICON_LAYER_ACTIVEICON_SORTALPHAICON_SORTBYEXTICON_SORTTIMEICON_SORTSIZEICON_LONGDISPLAYICON_SHORTDISPLAYICON_GHOSTICON_IMGDISPLAYICON_SAVE_ASICON_SAVE_COPYICON_BOOKMARKSICON_FONTPREVIEWICON_FILTERICON_NEWFOLDERICON_OPEN_RECENTICON_FILE_PARENTICON_FILE_REFRESHICON_FILE_FOLDERICON_FILE_BLANKICON_FILE_BLENDICON_FILE_IMAGEICON_FILE_MOVIEICON_FILE_SCRIPTICON_FILE_SOUNDICON_FILE_FONTICON_FILE_TEXTICON_RECOVER_AUTOICON_SAVE_PREFSICON_LINK_BLENDICON_APPEND_BLENDICON_IMPORTICON_EXPORTICON_EXTERNAL_DATAICON_LOAD_FACTORYICON_LOOP_BACKICON_LOOP_FORWARDSICON_BACKICON_FORWARDICON_FILE_BACKUPICON_DISK_DRIVEICON_MATPLANEICON_MATSPHEREICON_MATCUBEICON_MONKEYICON_HAIRICON_ALIASEDICON_ANTIALIASEDICON_MAT_SPHERE_SKYICON_WORDWRAP_OFFICON_WORDWRAP_ONICON_SYNTAX_OFFICON_SYNTAX_ONICON_LINENUMBERS_OFFICON_LINENUMBERS_ONICON_SCRIPTPLUGINSICON_SEQ_SEQUENCERICON_SEQ_PREVIEWICON_SEQ_LUMA_WAVEFORMICON_SEQ_CHROMA_SCOPEICON_SEQ_HISTOGRAMICON_SEQ_SPLITVIEWICON_IMAGE_RGBICON_IMAGE_RGB_ALPHAICON_IMAGE_ALPHAICON_IMAGE_ZDEPTHICON_IMAGEFILE
-
-
Method Detail
-
nbndSetTheme
public static void nbndSetTheme(long theme)
Unsafe version of:SetTheme
-
bndSetTheme
public static void bndSetTheme(BNDtheme theme)
Sets the current theme all widgets will be drawn with. The default Blender 2.6 theme is set by default.
-
nbndGetTheme
public static long nbndGetTheme()
Unsafe version of:GetTheme
-
bndGetTheme
@Nullable public static BNDtheme bndGetTheme()
Returns the currently set theme.
-
bndSetIconImage
public static void bndSetIconImage(int image)
Designates an image handle as returned bynvgCreateImage*()as the themes' icon sheet.The icon sheet format must be compatible to Blender 2.6's icon sheet; the order of icons does not matter. A valid icon sheet is e.g. shown at how to add an icon.
-
bndSetFont
public static void bndSetFont(int font)
Designates an image handle as returned bynvgCreateFont*()as the themes' UI font.Blender's original UI font Droid Sans is perfectly suited and available here.
-
nbndLabel
public static void nbndLabel(long ctx, float x, float y, float w, float h, int iconid, long label)Unsafe version of:Label
-
bndLabel
public static void bndLabel(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndLabel(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.lang.CharSequence label)Draws a label with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndToolButton
public static void nbndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:ToolButton
-
bndToolButton
public static void bndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndToolButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.lang.CharSequence label)Draws a tool button with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndRadioButton
public static void nbndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:RadioButton
-
bndRadioButton
public static void bndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndRadioButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.lang.CharSequence label)Draws a radio button with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndTextFieldTextPosition
public static int nbndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, long text, int px, int py)Unsafe version of:TextFieldTextPosition
-
bndTextFieldTextPosition
public static int bndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.nio.ByteBuffer text, int px, int py) public static int bndTextFieldTextPosition(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.lang.CharSequence text, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin a text field. SeeTextFieldfor more info.- Parameters:
ctx- the NanoVG contexticonid- if ≥ 0, an icon will be added to the widgettext- if notNULL, text will be printed to the widget
-
nbndTextField
public static void nbndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long text, int cbegin, int cend)Unsafe version of:TextField
-
bndTextField
public static void bndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.nio.ByteBuffer text, int cbegin, int cend) public static void bndTextField(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.lang.CharSequence text, int cbegin, int cend)Draws a text field with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEiconid- if ≥ 0, an icon will be added to the widgettext- if notNULL, text will be printed to the widgetcbegin- must be ≥ 0 and ≤strlen(text)and denotes the beginning of the caretcend- must be ≥cbeginand ≤strlen(text)and denotes the end of the caret. Ifcend<cbegin, then no caret will be drawn.
-
nbndOptionButton
public static void nbndOptionButton(long ctx, float x, float y, float w, float h, int state, long label)Unsafe version of:OptionButton
-
bndOptionButton
public static void bndOptionButton(long ctx, float x, float y, float w, float h, int state, @Nullable java.nio.ByteBuffer label) public static void bndOptionButton(long ctx, float x, float y, float w, float h, int state, @Nullable java.lang.CharSequence label)Draws an option button with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVElabel- if notNULL, a label will be added to the widget
-
nbndChoiceButton
public static void nbndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, long label)Unsafe version of:ChoiceButton
-
bndChoiceButton
public static void bndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndChoiceButton(long ctx, float x, float y, float w, float h, int flags, int state, int iconid, @Nullable java.lang.CharSequence label)Draws a choice button with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndColorButton
public static void nbndColorButton(long ctx, float x, float y, float w, float h, int flags, long color)Unsafe version of:ColorButton
-
bndColorButton
public static void bndColorButton(long ctx, float x, float y, float w, float h, int flags, NVGColor color)Draws a color button with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHT
-
nbndNumberField
public static void nbndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, long label, long value)Unsafe version of:NumberField
-
bndNumberField
public static void bndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, @Nullable java.nio.ByteBuffer label, @Nullable java.nio.ByteBuffer value) public static void bndNumberField(long ctx, float x, float y, float w, float h, int flags, int state, @Nullable java.lang.CharSequence label, @Nullable java.lang.CharSequence value)Draws a number field with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVElabel- if notNULL, a label will be added to the widgetvalue- if notNULL, a value will be added to the widget along with a ":" separator
-
nbndSlider
public static void nbndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, long label, long value)Unsafe version of:Slider
-
bndSlider
public static void bndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, @Nullable java.nio.ByteBuffer label, @Nullable java.nio.ByteBuffer value) public static void bndSlider(long ctx, float x, float y, float w, float h, int flags, int state, float progress, @Nullable java.lang.CharSequence label, @Nullable java.lang.CharSequence value)Draws slider control with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEprogress- must be in the range0..1and controls the size of the slider barlabel- if notNULL, a label will be added to the widgetvalue- if notNULL, a value will be added to the widget along with a ":" separator
-
nbndScrollBar
public static void nbndScrollBar(long ctx, float x, float y, float w, float h, int state, float offset, float size)Unsafe version of:ScrollBar
-
bndScrollBar
public static void bndScrollBar(long ctx, float x, float y, float w, float h, int state, float offset, float size)Draws scrollbar with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contextw- vertical widget looks best when width isSCROLLBAR_WIDTHh- horizontal widget looks best when height isSCROLLBAR_HEIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEoffset- is in the range0..1and controls the position of the scroll handlesize- is in the range0..1and controls the size of the scroll handle
-
nbndMenuBackground
public static void nbndMenuBackground(long ctx, float x, float y, float w, float h, int flags)Unsafe version of:MenuBackground
-
bndMenuBackground
public static void bndMenuBackground(long ctx, float x, float y, float w, float h, int flags)Draws a menu background with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contextflags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHT
-
nbndMenuLabel
public static void nbndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, long label)Unsafe version of:MenuLabel
-
bndMenuLabel
public static void bndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndMenuLabel(long ctx, float x, float y, float w, float h, int iconid, @Nullable java.lang.CharSequence label)Draws a menu label with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndMenuItem
public static void nbndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, long label)Unsafe version of:MenuItem
-
bndMenuItem
public static void bndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, @Nullable java.nio.ByteBuffer label) public static void bndMenuItem(long ctx, float x, float y, float w, float h, int state, int iconid, @Nullable java.lang.CharSequence label)Draws a menu item with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG contexth- widget looks best when height isWIDGET_HEIGHTstate- the current UI state. One of:DEFAULTHOVERACTIVEiconid- if ≥ 0, an icon will be added to the widgetlabel- if notNULL, a label will be added to the widget
-
nbndTooltipBackground
public static void nbndTooltipBackground(long ctx, float x, float y, float w, float h)Unsafe version of:TooltipBackground
-
bndTooltipBackground
public static void bndTooltipBackground(long ctx, float x, float y, float w, float h)Draws a tooltip background with its lower left origin at(x,y)and size of(w,h).- Parameters:
ctx- the NanoVG context
-
nbndNodePort
public static void nbndNodePort(long ctx, float x, float y, int state, long color)Unsafe version of:NodePort
-
bndNodePort
public static void bndNodePort(long ctx, float x, float y, int state, NVGColor color)Draws a node port at the given position filled with the given color.
-
nbndNodeWire
public static void nbndNodeWire(long ctx, float x0, float y0, float x1, float y1, int state0, int state1)Unsafe version of:NodeWire
-
bndNodeWire
public static void bndNodeWire(long ctx, float x0, float y0, float x1, float y1, int state0, int state1)Draws a node wire originating at(x0,y0)and floating to(x1,y1), with a colored gradient based on the statesstate0andstate1:
-
nbndColoredNodeWire
public static void nbndColoredNodeWire(long ctx, float x0, float y0, float x1, float y1, long color0, long color1)Unsafe version of:ColoredNodeWire
-
bndColoredNodeWire
public static void bndColoredNodeWire(long ctx, float x0, float y0, float x1, float y1, NVGColor color0, NVGColor color1)Draws a node wire originating at(x0,y0)and floating to(x1,y1), with a colored gradient based on the two colorscolor0andcolor1.- Parameters:
ctx- the NanoVG context
-
nbndNodeBackground
public static void nbndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, long label, long titleColor)Unsafe version of:NodeBackground
-
bndNodeBackground
public static void bndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, @Nullable java.nio.ByteBuffer label, NVGColor titleColor) public static void bndNodeBackground(long ctx, float x, float y, float w, float h, int state, int iconid, @Nullable java.lang.CharSequence label, NVGColor titleColor)Draws a node background with its upper left origin at(x,y)and size of(w,h).
-
nbndSplitterWidgets
public static void nbndSplitterWidgets(long ctx, float x, float y, float w, float h)Unsafe version of:SplitterWidgets
-
bndSplitterWidgets
public static void bndSplitterWidgets(long ctx, float x, float y, float w, float h)Draws a window with the upper right and lower left splitter widgets into the rectangle at origin(x,y)and size(w, h).- Parameters:
ctx- the NanoVG context
-
nbndJoinAreaOverlay
public static void nbndJoinAreaOverlay(long ctx, float x, float y, float w, float h, int vertical, int mirror)Unsafe version of:JoinAreaOverlay
-
bndJoinAreaOverlay
public static void bndJoinAreaOverlay(long ctx, float x, float y, float w, float h, boolean vertical, boolean mirror)Draws the join area overlay stencil into the rectangle at origin(x,y)and size(w,h).- Parameters:
ctx- the NanoVG contextvertical- is 0 or 1 and designates the arrow orientationmirror- is 0 or 1 and flips the arrow side
-
nbndLabelWidth
public static float nbndLabelWidth(long ctx, int iconid, long label)Unsafe version of:LabelWidth
-
bndLabelWidth
public static float bndLabelWidth(long ctx, int iconid, @Nullable java.nio.ByteBuffer label) public static float bndLabelWidth(long ctx, int iconid, @Nullable java.lang.CharSequence label)Returns the ideal width for a label with given icon and text- Parameters:
ctx- the NanoVG context
-
nbndLabelHeight
public static float nbndLabelHeight(long ctx, int iconid, long label, float width)Unsafe version of:LabelHeight
-
bndLabelHeight
public static float bndLabelHeight(long ctx, int iconid, @Nullable java.nio.ByteBuffer label, float width) public static float bndLabelHeight(long ctx, int iconid, @Nullable java.lang.CharSequence label, float width)Returns the height for a label with given icon, text and width; this function is primarily useful in conjunction with multiline labels and textboxes.- Parameters:
ctx- the NanoVG context
-
nbndTransparent
public static void nbndTransparent(long color, long __result)Unsafe version of:Transparent
-
bndTransparent
public static NVGColor bndTransparent(NVGColor color, NVGColor __result)
Makes color transparent using the default alpha value.
-
nbndOffsetColor
public static void nbndOffsetColor(long color, int delta, long __result)Unsafe version of:OffsetColor
-
bndOffsetColor
public static NVGColor bndOffsetColor(NVGColor color, int delta, NVGColor __result)
Offsets a color by a given integer delta.- Parameters:
delta- in the range -100 to 100
-
nbndSelectCorners
public static void nbndSelectCorners(long radiuses, float r, int flags)Unsafe version of:SelectCorners
-
bndSelectCorners
public static void bndSelectCorners(java.nio.FloatBuffer radiuses, float r, int flags)Assigns radiusrto the four entries of arrayradiusesdepending on whether the corner is marked as sharp or not.- Parameters:
flags- the corner flags. One of:CORNER_NONECORNER_TOP_LEFTCORNER_TOP_RIGHTCORNER_DOWN_RIGHTCORNER_DOWN_LEFTCORNER_ALLCORNER_TOPCORNER_DOWNCORNER_LEFTCORNER_RIGHT
-
nbndInnerColors
public static void nbndInnerColors(long shade_top, long shade_down, long theme, int state, int flipActive)Unsafe version of:InnerColors
-
bndInnerColors
public static void bndInnerColors(NVGColor shade_top, NVGColor shade_down, BNDwidgetTheme theme, int state, boolean flipActive)
Computes the upper and lower gradient colors for the inner box from a widget theme and the widgets state.
-
nbndTextColor
public static void nbndTextColor(long theme, int state, long __result)Unsafe version of:TextColor
-
bndTextColor
public static NVGColor bndTextColor(BNDwidgetTheme theme, int state, NVGColor __result)
Computes the text color for a widget label from a widget theme and the widgets state.
-
nbndScrollHandleRect
public static void nbndScrollHandleRect(long x, long y, long w, long h, float offset, float size)Unsafe version of:ScrollHandleRect
-
bndScrollHandleRect
public static void bndScrollHandleRect(java.nio.FloatBuffer x, java.nio.FloatBuffer y, java.nio.FloatBuffer w, java.nio.FloatBuffer h, float offset, float size)Computes the bounds of the scrollbar handle from the scrollbar size and the handle's offset and size.- Parameters:
offset- is in the range0..1and defines the position of the scroll handlesize- is in the range0..1and defines the size of the scroll handle
-
nbndRoundedBox
public static void nbndRoundedBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3)Unsafe version of:RoundedBox
-
bndRoundedBox
public static void bndRoundedBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3)Adds a rounded box path at position(x,y)with size(w,h)and a separate radius for each corner listed in clockwise order, so thatcr0= top left,cr1= top right,cr2= bottom right,cr3= bottom left; this is a low level drawing function: the path must be stroked or filled to become visible.- Parameters:
ctx- the NanoVG context
-
nbndBackground
public static void nbndBackground(long ctx, float x, float y, float w, float h)Unsafe version of:Background
-
bndBackground
public static void bndBackground(long ctx, float x, float y, float w, float h)Draws a flat panel without any decorations at position(x,y)with size(w,h)and fills it withbackgroundColor.- Parameters:
ctx- the NanoVG context
-
nbndBevel
public static void nbndBevel(long ctx, float x, float y, float w, float h)Unsafe version of:Bevel
-
bndBevel
public static void bndBevel(long ctx, float x, float y, float w, float h)Draws a beveled border at position(x,y)with size(w,h)shaded with lighter and darker versions ofbackgroundColor.- Parameters:
ctx- the NanoVG context
-
nbndBevelInset
public static void nbndBevelInset(long ctx, float x, float y, float w, float h, float cr2, float cr3)Unsafe version of:BevelInset
-
bndBevelInset
public static void bndBevelInset(long ctx, float x, float y, float w, float h, float cr2, float cr3)Draws a lower inset for a rounded box at position(x,y)with size(w,h)that gives the impression the surface has been pushed in.cr2andcr3contain the radiuses of the bottom right and bottom left corners of the rounded box.- Parameters:
ctx- the NanoVG context
-
nbndIcon
public static void nbndIcon(long ctx, float x, float y, int iconid)Unsafe version of:Icon
-
bndIcon
public static void bndIcon(long ctx, float x, float y, int iconid)Draws an icon with(x,y)as its upper left coordinate.- Parameters:
ctx- the NanoVG contexticonid- selects the icon from the sheet. One of:
-
nbndDropShadow
public static void nbndDropShadow(long ctx, float x, float y, float w, float h, float r, float feather, float alpha)Unsafe version of:DropShadow
-
bndDropShadow
public static void bndDropShadow(long ctx, float x, float y, float w, float h, float r, float feather, float alpha)Draws a drop shadow around the rounded box at(x,y)with size(w,h)and radiusr, withfeatheras its maximum range in pixels. No shadow will be painted inside the rounded box.- Parameters:
ctx- the NanoVG context
-
nbndInnerBox
public static void nbndInnerBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, long shade_top, long shade_down)Unsafe version of:InnerBox
-
bndInnerBox
public static void bndInnerBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, NVGColor shade_top, NVGColor shade_down)Draws the inner part of a widget box, with a gradient fromshade_toptoshade_down. Ifh>w, the gradient will be horizontal instead of vertical.- Parameters:
ctx- the NanoVG context
-
nbndOutlineBox
public static void nbndOutlineBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, long color)Unsafe version of:OutlineBox
-
bndOutlineBox
public static void bndOutlineBox(long ctx, float x, float y, float w, float h, float cr0, float cr1, float cr2, float cr3, NVGColor color)Draws the outline part of a widget box with the given color.- Parameters:
ctx- the NanoVG context
-
nbndIconLabelValue
public static void nbndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, long color, int align, float fontsize, long label, long value)Unsafe version of:IconLabelValue
-
bndIconLabelValue
public static void bndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, int align, float fontsize, @Nullable java.nio.ByteBuffer label, @Nullable java.nio.ByteBuffer value) public static void bndIconLabelValue(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, int align, float fontsize, @Nullable java.lang.CharSequence label, @Nullable java.lang.CharSequence value)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a widget box.- Parameters:
ctx- the NanoVG contexticonid- if ≥ 0, an icon will be drawn and the labels remaining space will be adjustedalign- one of:LEFTCENTERlabel- if notNULL, it will be drawn with the specifiedalignment,fontsizeandcolorvalue- if notNULL,labelandvaluewill be drawn with a ":" separator inbetween
-
nbndNodeIconLabel
public static void nbndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, long color, long shadowColor, int align, float fontsize, long label)Unsafe version of:NodeIconLabel
-
bndNodeIconLabel
public static void bndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, NVGColor shadowColor, int align, float fontsize, @Nullable java.nio.ByteBuffer label) public static void bndNodeIconLabel(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, NVGColor shadowColor, int align, float fontsize, @Nullable java.lang.CharSequence label)Draws an optional icon specified byiconidand an optional label with givenalignment,fontsizeandcolorwithin a node title bar.- Parameters:
ctx- the NanoVG contexticonid- if ≥ 0, an icon will be drawnlabel- if notNULL, it will be drawn with the specifiedalignment,fontsizeandcolor
-
nbndIconLabelTextPosition
public static int nbndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, long label, int px, int py)Unsafe version of:IconLabelTextPosition
-
bndIconLabelTextPosition
public static int bndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, @Nullable java.nio.ByteBuffer label, int px, int py) public static int bndIconLabelTextPosition(long ctx, float x, float y, float w, float h, int iconid, float fontsize, @Nullable java.lang.CharSequence label, int px, int py)Calculates the corresponding text position for given coordinatespx/pyin aniconLabel. SeeIconLabelCaretfor more info.- Parameters:
ctx- the NanoVG context
-
nbndIconLabelCaret
public static void nbndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, long color, float fontsize, long label, long caretcolor, int cbegin, int cend)Unsafe version of:IconLabelCaret
-
bndIconLabelCaret
public static void bndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, float fontsize, @Nullable java.nio.ByteBuffer label, NVGColor caretcolor, int cbegin, int cend) public static void bndIconLabelCaret(long ctx, float x, float y, float w, float h, int iconid, NVGColor color, float fontsize, @Nullable java.lang.CharSequence label, NVGColor caretcolor, int cbegin, int cend)Draws an optional icon specified byiconid, an optional label and a caret with givenfontsizeandcolorwithin a widget box.- Parameters:
ctx- the NanoVG contexticonid- if ≥ 0, an icon will be drawn and the labels remaining space will be adjustedlabel- if notNULL, it will be drawn with the specifiedalignment,fontsizeandcolorcbegin- must be ≥ 0 and ≤strlen(text)and denotes the beginning of the caretcend- must be ≥cbeginand ≤strlen(text)and denotes the end of the caret. Ifcend<cbegin, then no caret will be drawn.
-
nbndCheck
public static void nbndCheck(long ctx, float ox, float oy, long color)Unsafe version of:Check
-
bndCheck
public static void bndCheck(long ctx, float ox, float oy, NVGColor color)Draws a checkmark for an option box with the given upper left coordinates(ox,oy)with the specifiedcolor.- Parameters:
ctx- the NanoVG context
-
nbndArrow
public static void nbndArrow(long ctx, float x, float y, float s, long color)Unsafe version of:Arrow
-
bndArrow
public static void bndArrow(long ctx, float x, float y, float s, NVGColor color)Draws a horizontal arrow for a number field with its center at(x,y)and sizes.- Parameters:
ctx- the NanoVG contexts- if negative, the arrow points to the left
-
nbndUpDownArrow
public static void nbndUpDownArrow(long ctx, float x, float y, float s, long color)Unsafe version of:UpDownArrow
-
bndUpDownArrow
public static void bndUpDownArrow(long ctx, float x, float y, float s, NVGColor color)Draws an up/down arrow for a choice box with its center at(x,y)and sizes.- Parameters:
ctx- the NanoVG context
-
nbndNodeArrowDown
public static void nbndNodeArrowDown(long ctx, float x, float y, float s, long color)Unsafe version of:NodeArrowDown
-
bndNodeArrowDown
public static void bndNodeArrowDown(long ctx, float x, float y, float s, NVGColor color)Draws a node down-arrow with its tip at(x,y)and sizes- Parameters:
ctx- the NanoVG context
-
nbndNodeWireColor
public static void nbndNodeWireColor(long theme, int state, long __result)Unsafe version of:NodeWireColor
-
bndNodeWireColor
public static NVGColor bndNodeWireColor(BNDnodeTheme theme, int state, NVGColor __result)
Returns the color of a node wire based on state.
-
nbndSelectCorners
public static void nbndSelectCorners(float[] radiuses, float r, int flags)Array version of:nbndSelectCorners(long, float, int)
-
bndSelectCorners
public static void bndSelectCorners(float[] radiuses, float r, int flags)Array version of:SelectCorners
-
nbndScrollHandleRect
public static void nbndScrollHandleRect(float[] x, float[] y, float[] w, float[] h, float offset, float size)Array version of:nbndScrollHandleRect(long, long, long, long, float, float)
-
bndScrollHandleRect
public static void bndScrollHandleRect(float[] x, float[] y, float[] w, float[] h, float offset, float size)Array version of:ScrollHandleRect
-
BND_ICONID
public static int BND_ICONID(int x, int y)
-
-