Skip to content

Commit 81f3af8

Browse files
committed
docs: fix javadoc
1 parent 7042274 commit 81f3af8

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

imgui-binding/src/generated/java/imgui/ImGui.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11175,7 +11175,7 @@ public static void tableSetColumnEnabled(final int columnN, final boolean value)
1117511175
*/
1117611176

1117711177
/**
11178-
* Return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead.
11178+
* Return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use ({@code TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered}) instead.
1117911179
*/
1118011180
public static int tableGetHoveredColumn() {
1118111181
return nTableGetHoveredColumn();
@@ -13273,14 +13273,14 @@ public static void getMousePosOnOpeningCurrentPopup(final ImVec2 dst) {
1327313273
*/
1327413274

1327513275
/**
13276-
* Is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13276+
* Is mouse dragging? (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1327713277
*/
1327813278
public static boolean isMouseDragging(final int button) {
1327913279
return nIsMouseDragging(button);
1328013280
}
1328113281

1328213282
/**
13283-
* Is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13283+
* Is mouse dragging? (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1328413284
*/
1328513285
public static boolean isMouseDragging(final int button, final float lockThreshold) {
1328613286
return nIsMouseDragging(button, lockThreshold);
@@ -13296,7 +13296,7 @@ public static boolean isMouseDragging(final int button, final float lockThreshol
1329613296

1329713297
/**
1329813298
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13299-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13299+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1330013300
*/
1330113301
public static ImVec2 getMouseDragDelta() {
1330213302
final ImVec2 dst = new ImVec2();
@@ -13306,31 +13306,31 @@ public static ImVec2 getMouseDragDelta() {
1330613306

1330713307
/**
1330813308
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13309-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13309+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1331013310
*/
1331113311
public static float getMouseDragDeltaX() {
1331213312
return nGetMouseDragDeltaX();
1331313313
}
1331413314

1331513315
/**
1331613316
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13317-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13317+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1331813318
*/
1331913319
public static float getMouseDragDeltaY() {
1332013320
return nGetMouseDragDeltaY();
1332113321
}
1332213322

1332313323
/**
1332413324
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13325-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13325+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1332613326
*/
1332713327
public static void getMouseDragDelta(final ImVec2 dst) {
1332813328
nGetMouseDragDelta(dst);
1332913329
}
1333013330

1333113331
/**
1333213332
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13333-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13333+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1333413334
*/
1333513335
public static ImVec2 getMouseDragDelta(final int button) {
1333613336
final ImVec2 dst = new ImVec2();
@@ -13340,31 +13340,31 @@ public static ImVec2 getMouseDragDelta(final int button) {
1334013340

1334113341
/**
1334213342
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13343-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13343+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1334413344
*/
1334513345
public static float getMouseDragDeltaX(final int button) {
1334613346
return nGetMouseDragDeltaX(button);
1334713347
}
1334813348

1334913349
/**
1335013350
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13351-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13351+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1335213352
*/
1335313353
public static float getMouseDragDeltaY(final int button) {
1335413354
return nGetMouseDragDeltaY(button);
1335513355
}
1335613356

1335713357
/**
1335813358
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13359-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13359+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1336013360
*/
1336113361
public static void getMouseDragDelta(final ImVec2 dst, final int button) {
1336213362
nGetMouseDragDelta(dst, button);
1336313363
}
1336413364

1336513365
/**
1336613366
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13367-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13367+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1336813368
*/
1336913369
public static ImVec2 getMouseDragDelta(final int button, final float lockThreshold) {
1337013370
final ImVec2 dst = new ImVec2();
@@ -13374,23 +13374,23 @@ public static ImVec2 getMouseDragDelta(final int button, final float lockThresho
1337413374

1337513375
/**
1337613376
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13377-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13377+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1337813378
*/
1337913379
public static float getMouseDragDeltaX(final int button, final float lockThreshold) {
1338013380
return nGetMouseDragDeltaX(button, lockThreshold);
1338113381
}
1338213382

1338313383
/**
1338413384
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13385-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13385+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1338613386
*/
1338713387
public static float getMouseDragDeltaY(final int button, final float lockThreshold) {
1338813388
return nGetMouseDragDeltaY(button, lockThreshold);
1338913389
}
1339013390

1339113391
/**
1339213392
* Return the delta from the initial clicking position while the mouse button is pressed or was just released.
13393-
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f)
13393+
* This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses {@code io.MouseDraggingThreshold if lock_threshold < 0.0f})
1339413394
*/
1339513395
public static void getMouseDragDelta(final ImVec2 dst, final int button, final float lockThreshold) {
1339613396
nGetMouseDragDelta(dst, button, lockThreshold);

imgui-binding/src/generated/java/imgui/flag/ImGuiChildFlags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Flags for ImGui::BeginChild()
66
* (Legacy: bit 0 must always correspond to ImGuiChildFlags_Border to be backward compatible with old API using 'bool border = false'.
77
* About using AutoResizeX/AutoResizeY flags:
8-
* - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo->Child->Auto-resize with Constraints").
8+
* - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see {@code Demo->Child->Auto-resize with Constraints}).
99
* - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
1010
* - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
1111
* While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.

0 commit comments

Comments
 (0)