Files
imgui-java/imgui-binding/src/generated/java/imgui/extension/implot/flag/ImPlotFlags.java
T
SpaiR 8a8cd22ed6 feat: introduce binding generator
A squash of hundreds of commits with a binding API generator.

The API generator works with a hybrid model:
1. We define methods and fields in the code.
2. Mark them with API annotations.
3. For specific use cases, we use the old approach with JNI generation comments.

There is also an API to generate an AST tree, which is saved to JSON.
This JSON can be used for full API generation by declaring only field/method names.
Currently, it is used to generate constants.

By eyeballing, 95% of the API has been converted to the new approach.
This is sufficient for the current moment. Only edge cases with specific API calls are left.

fix: ambiguous call for ImGui::GetColorU32

build: disable checkstyle for imgui-binding module

Since the module is heavily generated, checkstyle for it doesn't make sense.

build: make buildSrc to use JDK 11

build: make generateApi optional when compiling project

Initially generated module was not included to the project VCS.
Since it's now in the separate src folder, we don't need to call generator every time.
Only when a new generation result is required.
2024-08-08 14:46:23 +03:00

111 lines
2.8 KiB
Java

package imgui.extension.implot.flag;
public final class ImPlotFlags {
private ImPlotFlags() {
}
/**
* default
*
* <p>Definition: {@code 0}
*/
public static final int None = 0;
/**
* the plot title will not be displayed (titles are also hidden if preceeded by double hashes, e.g. "##MyPlot")
*
* <p>Definition: {@code 1 << 0}
*/
public static final int NoTitle = 1;
/**
* the legend will not be displayed
*
* <p>Definition: {@code 1 << 1}
*/
public static final int NoLegend = 2;
/**
* the user will not be able to open context menus with right-click
*
* <p>Definition: {@code 1 << 2}
*/
public static final int NoMenus = 4;
/**
* the user will not be able to box-select with right-click drag
*
* <p>Definition: {@code 1 << 3}
*/
public static final int NoBoxSelect = 8;
/**
* the mouse position, in plot coordinates, will not be displayed inside of the plot
*
* <p>Definition: {@code 1 << 4}
*/
public static final int NoMousePos = 16;
/**
* plot items will not be highlighted when their legend entry is hovered
*
* <p>Definition: {@code 1 << 5}
*/
public static final int NoHighlight = 32;
/**
* a child window region will not be used to capture mouse scroll (can boost performance for single ImGui window applications)
*
* <p>Definition: {@code 1 << 6}
*/
public static final int NoChild = 64;
/**
* primary x and y axes will be constrained to have the same units/pixel (does not apply to auxiliary y-axes)
*
* <p>Definition: {@code 1 << 7}
*/
public static final int Equal = 128;
/**
* enable a 2nd y-axis on the right side
*
* <p>Definition: {@code 1 << 8}
*/
public static final int YAxis2 = 256;
/**
* enable a 3rd y-axis on the right side
*
* <p>Definition: {@code 1 << 9}
*/
public static final int YAxis3 = 512;
/**
* the user will be able to draw query rects with middle-mouse or CTRL + right-click drag
*
* <p>Definition: {@code 1 << 10}
*/
public static final int Query = 1024;
/**
* the default mouse cursor will be replaced with a crosshair when hovered
*
* <p>Definition: {@code 1 << 11}
*/
public static final int Crosshairs = 2048;
/**
* plot lines will be software anti-aliased (not recommended for high density plots, prefer MSAA)
*
* <p>Definition: {@code 1 << 12}
*/
public static final int AntiAliased = 4096;
/**
* Definition: {@code ImPlotFlags_NoTitle | ImPlotFlags_NoLegend | ImPlotFlags_NoMenus | ImPlotFlags_NoBoxSelect | ImPlotFlags_NoMousePos}
*/
public static final int CanvasOnly = 31;
}