Class BNDwidgetTheme

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<BNDwidgetTheme>
org.lwjgl.nanovg.BNDwidgetTheme
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class BNDwidgetTheme extends org.lwjgl.system.Struct<BNDwidgetTheme> implements org.lwjgl.system.NativeResource
Describes the theme used to draw a single widget or widget box; these values correspond to the same values that can be retrieved from the Theme panel in the Blender preferences.

Layout


 struct BNDwidgetTheme {
     NVGcolor outlineColor();
     NVGcolor itemColor();
     NVGcolor innerColor();
     NVGcolor innerSelectedColor();
     NVGcolor textColor();
     NVGcolor textSelectedColor();
     int shadeTop();
     int shadeDown();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • OUTLINECOLOR

      public static final int OUTLINECOLOR
      The struct member offsets.
    • ITEMCOLOR

      public static final int ITEMCOLOR
      The struct member offsets.
    • INNERCOLOR

      public static final int INNERCOLOR
      The struct member offsets.
    • INNERSELECTEDCOLOR

      public static final int INNERSELECTEDCOLOR
      The struct member offsets.
    • TEXTCOLOR

      public static final int TEXTCOLOR
      The struct member offsets.
    • TEXTSELECTEDCOLOR

      public static final int TEXTSELECTEDCOLOR
      The struct member offsets.
    • SHADETOP

      public static final int SHADETOP
      The struct member offsets.
    • SHADEDOWN

      public static final int SHADEDOWN
      The struct member offsets.
  • Constructor Details

    • BNDwidgetTheme

      public BNDwidgetTheme(ByteBuffer container)
      Creates a BNDwidgetTheme instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details