<commit_before>package imgui

import glm_.i
import imgui.api.*
import imgui.api.dragAndDrop
import imgui.api.loggingCapture
import imgui.classes.Context
import imgui.internal.sections.ItemStatusFlags
import imgui.internal.api.*
import imgui.internal.classes.Rect
import kool.Stack


// Version
const val IMGUI_BUILD = 0

/** get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) */
const val IMGUI_VERSION = "1.80 WIP"
const val IMGUI_VERSION_BUILD = "$IMGUI_VERSION.$IMGUI_BUILD"
/** Integer encoded as XYYZZ for use in #if preprocessor conditionals.
Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens) */
const val IMGUI_VERSION_NUM = 17909


// Helpers macros to generate 32-bits encoded colors
@JvmField
var USE_BGRA_PACKED_COLOR = false

@JvmField
val COL32_R_SHIFT = lazy { if (USE_BGRA_PACKED_COLOR) 16 else 0 }.value
val COL32_G_SHIFT = 8

@JvmField
val COL32_B_SHIFT = lazy { if (USE_BGRA_PACKED_COLOR) 0 else 16 }.value
val COL32_A_SHIFT = 24

@JvmField
val COL32_A_MASK = 0xFF000000.i

fun COL32(i: Int) = COL32(i, i, i, i)
fun COL32(r: Int, g: Int, b: Int, a: Int) = (a shl COL32_A_SHIFT) or (b shl COL32_B_SHIFT) or (g shl COL32_G_SHIFT) or (r shl COL32_R_SHIFT)

@JvmField
val COL32_WHITE = COL32(255) // Opaque white = 0xFFFFFFFF

@JvmField
val COL32_BLACK = COL32(0, 0, 0, 255)       // Opaque black

@JvmField<commit_msg>:construction: Backends: DX12: Fix warning (#3706). Disable obsolete Tables enums, leave them commented out. Using _MSVC_LANG to enable offsetof() and static_assert() on VS2015.3+<commit_after>package imgui

import glm_.i
import imgui.api.*
import imgui.api.dragAndDrop
import imgui.api.loggingCapture
import imgui.classes.Context
import imgui.internal.sections.ItemStatusFlags
import imgui.internal.api.*
import imgui.internal.classes.Rect
import kool.Stack


// Version
const val IMGUI_BUILD = 0

/** get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) */
const val IMGUI_VERSION = "1.80 WIP"
const val IMGUI_VERSION_BUILD = "$IMGUI_VERSION.$IMGUI_BUILD"
/** Integer encoded as XYYZZ for use in #if preprocessor conditionals.
Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens) */
const val IMGUI_VERSION_NUM = 17910


// Helpers macros to generate 32-bits encoded colors
@JvmField
var USE_BGRA_PACKED_COLOR = false

@JvmField
val COL32_R_SHIFT = lazy { if (USE_BGRA_PACKED_COLOR) 16 else 0 }.value
val COL32_G_SHIFT = 8

@JvmField
val COL32_B_SHIFT = lazy { if (USE_BGRA_PACKED_COLOR) 0 else 16 }.value
val COL32_A_SHIFT = 24

@JvmField
val COL32_A_MASK = 0xFF000000.i

fun COL32(i: Int) = COL32(i, i, i, i)
fun COL32(r: Int, g: Int, b: Int, a: Int) = (a shl COL32_A_SHIFT) or (b shl COL32_B_SHIFT) or (g shl COL32_G_SHIFT) or (r shl COL32_R_SHIFT)

@JvmField
val COL32_WHITE = COL32(255) // Opaque white = 0xFFFFFFFF

@JvmField
val COL32_BLACK = COL32(0, 0, 0, 255)       // Opaque black

@JvmField
{'fraction_non_alphanumeric': 0.08770806658130602, 'fraction_numerical': 0.05345710627400768, 'mean_word_length': 4.702554744525547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6420158', 'n_tokens_mistral': 1243, 'n_tokens_neox': 1117, 'n_words': 371}