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 dst)
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 dst)
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 |
getCircleTessellationMaxError()
Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified.
|
ImVec4 |
getColor(int col) |
void |
getColor(int col,
ImVec4 dst) |
int |
getColorButtonPosition()
Side of the color button in the ColorEdit4 widget (left/right).
|
ImVec4[] |
getColors() |
float |
getColumnsMinSpacing()
Minimum horizontal spacing between two columns.
|
float |
getCurveTessellationTol()
Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments.
|
float |
getDisabledAlpha()
Additional alpha multiplier applied by BeginDisabled().
|
ImVec2 |
getDisplaySafeAreaPadding()
If you cannot see the edges of your screen (e.g.
|
void |
getDisplaySafeAreaPadding(ImVec2 dst)
If you cannot see the edges of your screen (e.g.
|
float |
getDisplaySafeAreaPaddingX()
If you cannot see the edges of your screen (e.g.
|
float |
getDisplaySafeAreaPaddingY()
If you cannot see the edges of your screen (e.g.
|
ImVec2 |
getDisplayWindowPadding()
Window position are clamped to be visible within the display area by at least this amount.
|
void |
getDisplayWindowPadding(ImVec2 dst)
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 dst)
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.
|
ImVec2 |
getItemInnerSpacing()
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
void |
getItemInnerSpacing(ImVec2 dst)
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
float |
getItemInnerSpacingX()
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
float |
getItemInnerSpacingY()
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
ImVec2 |
getItemSpacing()
Horizontal and vertical spacing between widgets/lines.
|
void |
getItemSpacing(ImVec2 dst)
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 dst)
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 dst)
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 dst)
Minimum window size.
|
float |
getWindowMinSizeX()
Minimum window size.
|
float |
getWindowMinSizeY()
Minimum window size.
|
ImVec2 |
getWindowPadding()
Padding within a window.
|
void |
getWindowPadding(ImVec2 dst)
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 dst)
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 value)
Global alpha applies to everything in Dear ImGui.
|
void |
setAntiAliasedFill(boolean value)
Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.).
|
void |
setAntiAliasedLines(boolean value)
Enable anti-aliased lines/borders.
|
void |
setAntiAliasedLinesUseTex(boolean value)
Enable anti-aliased lines/borders using textures where possible.
|
void |
setButtonTextAlign(float valueX,
float valueY)
Alignment of button text when button is larger than text.
|
void |
setButtonTextAlign(ImVec2 value)
Alignment of button text when button is larger than text.
|
void |
setCellPadding(float valueX,
float valueY)
Padding within a table cell.
|
void |
setCellPadding(ImVec2 value)
Padding within a table cell.
|
void |
setChildBorderSize(float value)
Thickness of border around child windows.
|
void |
setChildRounding(float value)
Radius of child window corners rounding.
|
void |
setCircleTessellationMaxError(float value)
Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified.
|
void |
setColor(int col,
float r,
float g,
float b,
float a) |
void |
setColor(int col,
int value) |
void |
setColor(int col,
int r,
int g,
int b,
int a) |
void |
setColorButtonPosition(int value)
Side of the color button in the ColorEdit4 widget (left/right).
|
void |
setColors(ImVec4[] value) |
void |
setColumnsMinSpacing(float value)
Minimum horizontal spacing between two columns.
|
void |
setCurveTessellationTol(float value)
Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments.
|
void |
setDisabledAlpha(float value)
Additional alpha multiplier applied by BeginDisabled().
|
void |
setDisplaySafeAreaPadding(float valueX,
float valueY)
If you cannot see the edges of your screen (e.g.
|
void |
setDisplaySafeAreaPadding(ImVec2 value)
If you cannot see the edges of your screen (e.g.
|
void |
setDisplayWindowPadding(float valueX,
float valueY)
Window position are clamped to be visible within the display area by at least this amount.
|
void |
setDisplayWindowPadding(ImVec2 value)
Window position are clamped to be visible within the display area by at least this amount.
|
void |
setFrameBorderSize(float value)
Thickness of border around frames.
|
void |
setFramePadding(float valueX,
float valueY)
Padding within a framed rectangle (used by most widgets).
|
void |
setFramePadding(ImVec2 value)
Padding within a framed rectangle (used by most widgets).
|
void |
setFrameRounding(float value)
Radius of frame corners rounding.
|
void |
setGrabMinSize(float value)
Minimum width/height of a grab box for slider/scrollbar.
|
void |
setGrabRounding(float value)
Radius of grabs corners rounding.
|
void |
setIndentSpacing(float value)
Horizontal indentation when e.g.
|
void |
setItemInnerSpacing(float valueX,
float valueY)
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
void |
setItemInnerSpacing(ImVec2 value)
Horizontal and vertical spacing between within elements of a composed widget (e.g.
|
void |
setItemSpacing(float valueX,
float valueY)
Horizontal and vertical spacing between widgets/lines.
|
void |
setItemSpacing(ImVec2 value)
Horizontal and vertical spacing between widgets/lines.
|
void |
setLogSliderDeadzone(float value)
The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.
|
void |
setMouseCursorScale(float value)
Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled).
|
void |
setPopupBorderSize(float value)
Thickness of border around popup/tooltip windows.
|
void |
setPopupRounding(float value)
Radius of popup window corners rounding.
|
void |
setScrollbarRounding(float value)
Radius of grab corners for scrollbar.
|
void |
setScrollbarSize(float value)
Width of the vertical scrollbar, Height of the horizontal scrollbar.
|
void |
setSelectableTextAlign(float valueX,
float valueY)
Alignment of selectable text.
|
void |
setSelectableTextAlign(ImVec2 value)
Alignment of selectable text.
|
void |
setTabBorderSize(float value)
Thickness of border around tabs.
|
void |
setTabMinWidthForCloseButton(float value)
Minimum width for close button to appears on an unselected tab when hovered.
|
void |
setTabRounding(float value)
Radius of upper corners of a tab.
|
void |
setTouchExtraPadding(float valueX,
float valueY)
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
void |
setTouchExtraPadding(ImVec2 value)
Expand reactive bounding box for touch-based system where touch position is not accurate enough.
|
void |
setWindowBorderSize(float value)
Thickness of border around windows.
|
void |
setWindowMenuButtonPosition(int value)
Side of the collapsing/docking button in the title bar (None/Left/Right).
|
void |
setWindowMinSize(float valueX,
float valueY)
Minimum window size.
|
void |
setWindowMinSize(ImVec2 value)
Minimum window size.
|
void |
setWindowPadding(float valueX,
float valueY)
Padding within a window.
|
void |
setWindowPadding(ImVec2 value)
Padding within a window.
|
void |
setWindowRounding(float value)
Radius of window corners rounding.
|
void |
setWindowTitleAlign(float valueX,
float valueY)
Alignment for title bar text.
|
void |
setWindowTitleAlign(ImVec2 value)
Alignment for title bar text.
|
destroy
isNotValidPtr, isValidPtr
protected long create()
create
in class ImGuiStructDestroyable
public float getAlpha()
public void setAlpha(float value)
public float getDisabledAlpha()
public void setDisabledAlpha(float value)
public ImVec2 getWindowPadding()
public float getWindowPaddingX()
public float getWindowPaddingY()
public void getWindowPadding(ImVec2 dst)
public void setWindowPadding(ImVec2 value)
public void setWindowPadding(float valueX, float valueY)
public float getWindowRounding()
public void setWindowRounding(float value)
public float getWindowBorderSize()
public void setWindowBorderSize(float value)
public ImVec2 getWindowMinSize()
public float getWindowMinSizeX()
public float getWindowMinSizeY()
public void getWindowMinSize(ImVec2 dst)
public void setWindowMinSize(ImVec2 value)
public void setWindowMinSize(float valueX, float valueY)
public ImVec2 getWindowTitleAlign()
public float getWindowTitleAlignX()
public float getWindowTitleAlignY()
public void getWindowTitleAlign(ImVec2 dst)
public void setWindowTitleAlign(ImVec2 value)
public void setWindowTitleAlign(float valueX, float valueY)
public int getWindowMenuButtonPosition()
public void setWindowMenuButtonPosition(int value)
public float getChildRounding()
public void setChildRounding(float value)
public float getChildBorderSize()
public void setChildBorderSize(float value)
public float getPopupRounding()
public void setPopupRounding(float value)
public float getPopupBorderSize()
public void setPopupBorderSize(float value)
public ImVec2 getFramePadding()
public float getFramePaddingX()
public float getFramePaddingY()
public void getFramePadding(ImVec2 dst)
public void setFramePadding(ImVec2 value)
public void setFramePadding(float valueX, float valueY)
public float getFrameRounding()
public void setFrameRounding(float value)
public float getFrameBorderSize()
public void setFrameBorderSize(float value)
public ImVec2 getItemSpacing()
public float getItemSpacingX()
public float getItemSpacingY()
public void getItemSpacing(ImVec2 dst)
public void setItemSpacing(ImVec2 value)
public void setItemSpacing(float valueX, float valueY)
public ImVec2 getItemInnerSpacing()
public float getItemInnerSpacingX()
public float getItemInnerSpacingY()
public void getItemInnerSpacing(ImVec2 dst)
public void setItemInnerSpacing(ImVec2 value)
public void setItemInnerSpacing(float valueX, float valueY)
public ImVec2 getCellPadding()
public float getCellPaddingX()
public float getCellPaddingY()
public void getCellPadding(ImVec2 dst)
public void setCellPadding(ImVec2 value)
public void setCellPadding(float valueX, float valueY)
public ImVec2 getTouchExtraPadding()
public float getTouchExtraPaddingX()
public float getTouchExtraPaddingY()
public void getTouchExtraPadding(ImVec2 dst)
public void setTouchExtraPadding(ImVec2 value)
public void setTouchExtraPadding(float valueX, float valueY)
public float getIndentSpacing()
public void setIndentSpacing(float value)
public float getColumnsMinSpacing()
>
(FramePadding.x + 1).public void setColumnsMinSpacing(float value)
>
(FramePadding.x + 1).public float getScrollbarSize()
public void setScrollbarSize(float value)
public float getScrollbarRounding()
public void setScrollbarRounding(float value)
public float getGrabMinSize()
public void setGrabMinSize(float value)
public float getGrabRounding()
public void setGrabRounding(float value)
public float getLogSliderDeadzone()
public void setLogSliderDeadzone(float value)
public float getTabRounding()
public void setTabRounding(float value)
public float getTabBorderSize()
public void setTabBorderSize(float value)
public float getTabMinWidthForCloseButton()
public void setTabMinWidthForCloseButton(float value)
public int getColorButtonPosition()
public void setColorButtonPosition(int value)
public ImVec2 getButtonTextAlign()
public float getButtonTextAlignX()
public float getButtonTextAlignY()
public void getButtonTextAlign(ImVec2 dst)
public void setButtonTextAlign(ImVec2 value)
public void setButtonTextAlign(float valueX, float valueY)
public ImVec2 getSelectableTextAlign()
public float getSelectableTextAlignX()
public float getSelectableTextAlignY()
public void getSelectableTextAlign(ImVec2 dst)
public void setSelectableTextAlign(ImVec2 value)
public void setSelectableTextAlign(float valueX, float valueY)
public ImVec2 getDisplayWindowPadding()
public float getDisplayWindowPaddingX()
public float getDisplayWindowPaddingY()
public void getDisplayWindowPadding(ImVec2 dst)
public void setDisplayWindowPadding(ImVec2 value)
public void setDisplayWindowPadding(float valueX, float valueY)
public ImVec2 getDisplaySafeAreaPadding()
public float getDisplaySafeAreaPaddingX()
public float getDisplaySafeAreaPaddingY()
public void getDisplaySafeAreaPadding(ImVec2 dst)
public void setDisplaySafeAreaPadding(ImVec2 value)
public void setDisplaySafeAreaPadding(float valueX, float valueY)
public float getMouseCursorScale()
public void setMouseCursorScale(float value)
public boolean getAntiAliasedLines()
public void setAntiAliasedLines(boolean value)
public boolean getAntiAliasedLinesUseTex()
public void setAntiAliasedLinesUseTex(boolean value)
public boolean getAntiAliasedFill()
public void setAntiAliasedFill(boolean value)
public float getCurveTessellationTol()
public void setCurveTessellationTol(float value)
public float getCircleTessellationMaxError()
public void setCircleTessellationMaxError(float value)
public ImVec4[] getColors()
public void setColors(ImVec4[] value)
public ImVec4 getColor(int col)
public void getColor(int col, ImVec4 dst)
public void setColor(int col, float r, float g, float b, float a)
public void setColor(int col, int r, int g, int b, int a)
public void setColor(int col, int value)
public void scaleAllSizes(float scaleFactor)