public final class ImGuiStyle extends ImGuiStructDestroyable
ptr
Constructor and Description |
---|
ImGuiStyle() |
ImGuiStyle(long ptr) |
Modifier and Type | Method and Description |
---|---|
protected long |
create() |
float |
getAlpha()
Global alpha applies to everything in Dear ImGui.
|
boolean |
getAntiAliasedFill()
Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.).
|
boolean |
getAntiAliasedLines()
Enable anti-aliased lines/borders.
|
boolean |
getAntiAliasedLinesUseTex()
Enable anti-aliased lines/borders using textures where possible.
|
ImVec2 |
getButtonTextAlign()
Alignment of button text when button is larger than text.
|
void |
getButtonTextAlign(ImVec2 dstImVec2)
Alignment of button text when button is larger than text.
|
float |
getButtonTextAlignX()
Alignment of button text when button is larger than text.
|
float |
getButtonTextAlignY()
Alignment of button text when button is larger than text.
|
ImVec2 |
getCellPadding()
Padding within a table cell.
|
void |
getCellPadding(ImVec2 dstImVec2)
Padding within a table cell.
|
float |
getCellPaddingX()
Padding within a table cell.
|
float |
getCellPaddingY()
Padding within a table cell.
|
float |
getChildBorderSize()
Thickness of border around child windows.
|
float |
getChildRounding()
Radius of child window corners rounding.
|
float |
getCircleSegmentMaxError()
Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified.
|
ImVec4 |
getColor(int imGuiCol) |
void |
getColor(int imGuiCol,
ImVec4 dstImVec4) |
int |
getColorButtonPosition()
Side of the color button in the ColorEdit4 widget (left/right).
|
float[][] |
getColors() |
void |
getColors(float[][] buff)
BINDING NOTICE: colors is a 2d array with sizes: [ImGuiCol_COUNT][4]
|
float |
getColumnsMinSpacing()
Minimum horizontal spacing between two columns.
|
float |
getCurveTessellationTol()
Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments.
|
ImVec2 |
getDisplaySafeAreaPadding()
If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding.
|
void |
getDisplaySafeAreaPadding(ImVec2 dstImVec2)
If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding.
|
float |
getDisplaySafeAreaPaddingX()
If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding.
|
float |
getDisplaySafeAreaPaddingY()
If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding.
|
ImVec2 |
getDisplayWindowPadding()
Window position are clamped to be visible within the display area by at least this amount.
|
void |
getDisplayWindowPadding(ImVec2 dstImVec2)
Window position are clamped to be visible within the display area by at least this amount.
|
float |
getDisplayWindowPaddingX()
Window position are clamped to be visible within the display area by at least this amount.
|
float |
getDisplayWindowPaddingY()
Window position are clamped to be visible within the display area by at least this amount.
|
float |
getFrameBorderSize()
Thickness of border around frames.
|
ImVec2 |
getFramePadding()
Padding within a framed rectangle (used by most widgets).
|
void |
getFramePadding(ImVec2 dstImVec2)
Padding within a framed rectangle (used by most widgets).
|
float |
getFramePaddingX()
Padding within a framed rectangle (used by most widgets).
|
float |
getFramePaddingY()
Padding within a framed rectangle (used by most widgets).
|
float |
getFrameRounding()
Radius of frame corners rounding.
|
float |
getGrabMinSize()
Minimum width/height of a grab box for slider/scrollbar.
|
float |
getGrabRounding()
Radius of grabs corners rounding.
|
float |
getIndentSpacing()
Horizontal indentation when e.g. entering a tree node.
|
ImVec2 |
getItemInnerSpacing()
Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
|
void |
getItemInnerSpacing(ImVec2 dstImVec2)
Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
|
float |
getItemInnerSpacingX()
Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
|
float |
getItemInnerSpacingY()
Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
|
ImVec2 |
getItemSpacing()
Horizontal and vertical spacing between widgets/lines.
|
void |
getItemSpacing(ImVec2 dstImVec2)
Horizontal and vertical spacing between widgets/lines.
|
float |
getItemSpacingX()
Horizontal and vertical spacing between widgets/lines.
|
float |
getItemSpacingY()
Horizontal and vertical spacing between widgets/lines.
|
float |
getLogSliderDeadzone()
The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.
|
float |
getMouseCursorScale()
Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled).
|
float |
getPopupBorderSize()
Thickness of border around popup/tooltip windows.
|
float |
getPopupRounding()
Radius of popup window corners rounding.
|
float |
getScrollbarRounding()
Radius of grab corners for scrollbar.
|
float |
getScrollbarSize()
Width of the vertical scrollbar, Height of the horizontal scrollbar.
|
ImVec2 |
getSelectableTextAlign()
Alignment of selectable text.
|
void |
getSelectableTextAlign(ImVec2 dstImVec2)
Alignment of selectable text.
|
float |
getSelectableTextAlignX()
Alignment of selectable text.
|
float |
getSelectableTextAlignY()
Alignment of selectable text.
|
float |
getTabBorderSize()
Thickness of border around tabs.
|
float |
getTabMinWidthForCloseButton()
Minimum width for close button to appears on an unselected tab when hovered.
|
float |
getTabRounding()
Radius of upper corners of a tab.
|
ImVec2 |
getTouchExtraPadding()
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
void |
getTouchExtraPadding(ImVec2 dstImVec2)
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
float |
getTouchExtraPaddingX()
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
float |
getTouchExtraPaddingY()
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
float |
getWindowBorderSize()
Thickness of border around windows.
|
int |
getWindowMenuButtonPosition()
Side of the collapsing/docking button in the title bar (None/Left/Right).
|
ImVec2 |
getWindowMinSize()
Minimum window size.
|
void |
getWindowMinSize(ImVec2 dstImVec2)
Minimum window size.
|
float |
getWindowMinSizeX()
Minimum window size.
|
float |
getWindowMinSizeY()
Minimum window size.
|
ImVec2 |
getWindowPadding()
Padding within a window.
|
void |
getWindowPadding(ImVec2 dstImVec2)
Padding within a window.
|
float |
getWindowPaddingX()
Padding within a window.
|
float |
getWindowPaddingY()
Padding within a window.
|
float |
getWindowRounding()
Radius of window corners rounding.
|
ImVec2 |
getWindowTitleAlign()
Alignment for title bar text.
|
void |
getWindowTitleAlign(ImVec2 dstImVec2)
Alignment for title bar text.
|
float |
getWindowTitleAlignX()
Alignment for title bar text.
|
float |
getWindowTitleAlignY()
Alignment for title bar text.
|
void |
scaleAllSizes(float scaleFactor) |
void |
setAlpha(float alpha)
Global alpha applies to everything in Dear ImGui.
|
void |
setAntiAliasedFill(boolean antiAliasedFill)
Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.).
|
void |
setAntiAliasedLines(boolean antiAliasedLines)
Enable anti-aliased lines/borders.
|
void |
setAntiAliasedLinesUseTex(boolean antiAliasedLinesUseTex)
Enable anti-aliased lines/borders using textures where possible.
|
void |
setButtonTextAlign(float x,
float y)
Alignment of button text when button is larger than text.
|
void |
setCellPadding(float x,
float y)
Padding within a table cell.
|
void |
setChildBorderSize(float childBorderSize)
Thickness of border around child windows.
|
void |
setChildRounding(float childRounding)
Radius of child window corners rounding.
|
void |
setCircleSegmentMaxError(float circleSegmentMaxError)
Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified.
|
void |
setColor(int imGuiCol,
float r,
float g,
float b,
float a) |
void |
setColor(int imGuiCol,
int col) |
void |
setColor(int imGuiCol,
int r,
int g,
int b,
int a) |
void |
setColorButtonPosition(int colorButtonPosition)
Side of the color button in the ColorEdit4 widget (left/right).
|
void |
setColors(float[][] colors)
BINDING NOTICE: colors is a 2d array with sizes: [ImGuiCol_COUNT][4]
|
void |
setColumnsMinSpacing(float columnsMinSpacing)
Minimum horizontal spacing between two columns.
|
void |
setCurveTessellationTol(float curveTessellationTol)
Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments.
|
void |
setDisplaySafeAreaPadding(float x,
float y)
If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding.
|
void |
setDisplayWindowPadding(float x,
float y)
Window position are clamped to be visible within the display area by at least this amount.
|
void |
setFrameBorderSize(float frameBorderSize)
Thickness of border around frames.
|
void |
setFramePadding(float x,
float y)
Padding within a framed rectangle (used by most widgets).
|
void |
setFrameRounding(float frameRounding)
Radius of frame corners rounding.
|
void |
setGrabMinSize(float grabMinSize)
Minimum width/height of a grab box for slider/scrollbar.
|
void |
setGrabRounding(float grabRounding)
Radius of grabs corners rounding.
|
void |
setIndentSpacing(float indentSpacing)
Horizontal indentation when e.g. entering a tree node.
|
void |
setItemInnerSpacing(float x,
float y)
Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
|
void |
setItemSpacing(float x,
float y)
Horizontal and vertical spacing between widgets/lines.
|
void |
setLogSliderDeadzone(float logSliderDeadzone)
The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.
|
void |
setMouseCursorScale(float mouseCursorScale)
Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled).
|
void |
setPopupBorderSize(float popupBorderSize)
Thickness of border around popup/tooltip windows.
|
void |
setPopupRounding(float popupRounding)
Radius of popup window corners rounding.
|
void |
setScrollbarRounding(float scrollbarRounding)
Radius of grab corners for scrollbar.
|
void |
setScrollbarSize(float scrollbarSize)
Width of the vertical scrollbar, Height of the horizontal scrollbar.
|
void |
setSelectableTextAlign(float x,
float y)
Alignment of selectable text.
|
void |
setTabBorderSize(float tabBorderSize)
Thickness of border around tabs.
|
void |
setTabMinWidthForCloseButton(float tabMinWidthForCloseButton)
Minimum width for close button to appears on an unselected tab when hovered.
|
void |
setTabRounding(float tabRounding)
Radius of upper corners of a tab.
|
void |
setTouchExtraPadding(float x,
float y)
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
void |
setWindowBorderSize(float windowBorderSize)
Thickness of border around windows.
|
void |
setWindowMenuButtonPosition(int windowMenuButtonPosition)
Side of the collapsing/docking button in the title bar (None/Left/Right).
|
void |
setWindowMinSize(float x,
float y)
Minimum window size.
|
void |
setWindowPadding(float x,
float y)
Padding within a window.
|
void |
setWindowRounding(float windowRounding)
Radius of window corners rounding.
|
void |
setWindowTitleAlign(float x,
float y)
Alignment for title bar text.
|
destroy
isNotValidPtr, isValidPtr
protected long create()
create
in class ImGuiStructDestroyable
public float getAlpha()
public void setAlpha(float alpha)
public ImVec2 getWindowPadding()
public void getWindowPadding(ImVec2 dstImVec2)
public float getWindowPaddingX()
public float getWindowPaddingY()
public void setWindowPadding(float x, float y)
public float getWindowRounding()
public void setWindowRounding(float windowRounding)
public float getWindowBorderSize()
public void setWindowBorderSize(float windowBorderSize)
public ImVec2 getWindowMinSize()
public void getWindowMinSize(ImVec2 dstImVec2)
public float getWindowMinSizeX()
public float getWindowMinSizeY()
public void setWindowMinSize(float x, float y)
public ImVec2 getWindowTitleAlign()
public void getWindowTitleAlign(ImVec2 dstImVec2)
public float getWindowTitleAlignX()
public float getWindowTitleAlignY()
public void setWindowTitleAlign(float x, float y)
public int getWindowMenuButtonPosition()
public void setWindowMenuButtonPosition(int windowMenuButtonPosition)
public float getChildRounding()
public void setChildRounding(float childRounding)
public float getChildBorderSize()
public void setChildBorderSize(float childBorderSize)
public float getPopupRounding()
public void setPopupRounding(float popupRounding)
public float getPopupBorderSize()
public void setPopupBorderSize(float popupBorderSize)
public ImVec2 getFramePadding()
public void getFramePadding(ImVec2 dstImVec2)
public float getFramePaddingX()
public float getFramePaddingY()
public void setFramePadding(float x, float y)
public float getFrameRounding()
public void setFrameRounding(float frameRounding)
public float getFrameBorderSize()
public void setFrameBorderSize(float frameBorderSize)
public ImVec2 getItemSpacing()
public void getItemSpacing(ImVec2 dstImVec2)
public float getItemSpacingX()
public float getItemSpacingY()
public void setItemSpacing(float x, float y)
public ImVec2 getItemInnerSpacing()
public void getItemInnerSpacing(ImVec2 dstImVec2)
public float getItemInnerSpacingX()
public float getItemInnerSpacingY()
public void setItemInnerSpacing(float x, float y)
public ImVec2 getCellPadding()
public void getCellPadding(ImVec2 dstImVec2)
public float getCellPaddingX()
public float getCellPaddingY()
public void setCellPadding(float x, float y)
public ImVec2 getTouchExtraPadding()
public void getTouchExtraPadding(ImVec2 dstImVec2)
public float getTouchExtraPaddingX()
public float getTouchExtraPaddingY()
public void setTouchExtraPadding(float x, float y)
public float getIndentSpacing()
public void setIndentSpacing(float indentSpacing)
public float getColumnsMinSpacing()
>
(FramePadding.x + 1).public void setColumnsMinSpacing(float columnsMinSpacing)
>
(FramePadding.x + 1).public float getScrollbarSize()
public void setScrollbarSize(float scrollbarSize)
public float getScrollbarRounding()
public void setScrollbarRounding(float scrollbarRounding)
public float getGrabMinSize()
public void setGrabMinSize(float grabMinSize)
public float getGrabRounding()
public void setGrabRounding(float grabRounding)
public float getLogSliderDeadzone()
public void setLogSliderDeadzone(float logSliderDeadzone)
public float getTabRounding()
public void setTabRounding(float tabRounding)
public float getTabBorderSize()
public void setTabBorderSize(float tabBorderSize)
public float getTabMinWidthForCloseButton()
public void setTabMinWidthForCloseButton(float tabMinWidthForCloseButton)
public int getColorButtonPosition()
public void setColorButtonPosition(int colorButtonPosition)
public ImVec2 getButtonTextAlign()
public void getButtonTextAlign(ImVec2 dstImVec2)
public float getButtonTextAlignX()
public float getButtonTextAlignY()
public void setButtonTextAlign(float x, float y)
public ImVec2 getSelectableTextAlign()
public void getSelectableTextAlign(ImVec2 dstImVec2)
public float getSelectableTextAlignX()
public float getSelectableTextAlignY()
public void setSelectableTextAlign(float x, float y)
public ImVec2 getDisplayWindowPadding()
public void getDisplayWindowPadding(ImVec2 dstImVec2)
public float getDisplayWindowPaddingX()
public float getDisplayWindowPaddingY()
public void setDisplayWindowPadding(float x, float y)
public ImVec2 getDisplaySafeAreaPadding()
public void getDisplaySafeAreaPadding(ImVec2 dstImVec2)
public float getDisplaySafeAreaPaddingX()
public float getDisplaySafeAreaPaddingY()
public void setDisplaySafeAreaPadding(float x, float y)
public float getMouseCursorScale()
public void setMouseCursorScale(float mouseCursorScale)
public boolean getAntiAliasedLines()
public void setAntiAliasedLines(boolean antiAliasedLines)
public boolean getAntiAliasedLinesUseTex()
public void setAntiAliasedLinesUseTex(boolean antiAliasedLinesUseTex)
public boolean getAntiAliasedFill()
public void setAntiAliasedFill(boolean antiAliasedFill)
public float getCurveTessellationTol()
public void setCurveTessellationTol(float curveTessellationTol)
public float getCircleSegmentMaxError()
public void setCircleSegmentMaxError(float circleSegmentMaxError)
public float[][] getColors()
public void getColors(float[][] buff)
public void setColors(float[][] colors)
public ImVec4 getColor(int imGuiCol)
public void getColor(int imGuiCol, ImVec4 dstImVec4)
public void setColor(int imGuiCol, float r, float g, float b, float a)
public void setColor(int imGuiCol, int r, int g, int b, int a)
public void setColor(int imGuiCol, int col)
public void scaleAllSizes(float scaleFactor)