![]() |
Prusa Slicer 2.6.0
|
#include "imgui.h"#include "imgui_internal.h"#include <locale.h>#include <ctype.h>#include <stdint.h>#include "imstb_textedit.h"
Include dependency graph for imgui_widgets.cpp:Go to the source code of this file.
Classes | |
| struct | ImGuiPlotArrayGetterData |
| struct | ImGuiTabBarSection |
Namespaces | |
| namespace | ImStb |
| namespace | ImGui |
Macros | |
| #define | IMGUI_DEFINE_MATH_OPERATORS |
| #define | STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL |
| #define | STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL |
| #define | STB_TEXTEDIT_K_LEFT 0x200000 |
| #define | STB_TEXTEDIT_K_RIGHT 0x200001 |
| #define | STB_TEXTEDIT_K_UP 0x200002 |
| #define | STB_TEXTEDIT_K_DOWN 0x200003 |
| #define | STB_TEXTEDIT_K_LINESTART 0x200004 |
| #define | STB_TEXTEDIT_K_LINEEND 0x200005 |
| #define | STB_TEXTEDIT_K_TEXTSTART 0x200006 |
| #define | STB_TEXTEDIT_K_TEXTEND 0x200007 |
| #define | STB_TEXTEDIT_K_DELETE 0x200008 |
| #define | STB_TEXTEDIT_K_BACKSPACE 0x200009 |
| #define | STB_TEXTEDIT_K_UNDO 0x20000A |
| #define | STB_TEXTEDIT_K_REDO 0x20000B |
| #define | STB_TEXTEDIT_K_WORDLEFT 0x20000C |
| #define | STB_TEXTEDIT_K_WORDRIGHT 0x20000D |
| #define | STB_TEXTEDIT_K_PGUP 0x20000E |
| #define | STB_TEXTEDIT_K_PGDOWN 0x20000F |
| #define | STB_TEXTEDIT_K_SHIFT 0x400000 |
| #define | STB_TEXTEDIT_IMPLEMENTATION |
Variables | |
| static const float | DRAGDROP_HOLD_TO_OPEN_TIMER = 0.70f |
| static const float | DRAG_MOUSE_THRESHOLD_FACTOR = 0.50f |
| static const signed char | IM_S8_MIN = -128 |
| static const signed char | IM_S8_MAX = 127 |
| static const unsigned char | IM_U8_MIN = 0 |
| static const unsigned char | IM_U8_MAX = 0xFF |
| static const signed short | IM_S16_MIN = -32768 |
| static const signed short | IM_S16_MAX = 32767 |
| static const unsigned short | IM_U16_MIN = 0 |
| static const unsigned short | IM_U16_MAX = 0xFFFF |
| static const ImS32 | IM_S32_MIN = INT_MIN |
| static const ImS32 | IM_S32_MAX = INT_MAX |
| static const ImU32 | IM_U32_MIN = 0 |
| static const ImU32 | IM_U32_MAX = UINT_MAX |
| static const ImS64 | IM_S64_MIN = -9223372036854775807LL - 1 |
| static const ImS64 | IM_S64_MAX = 9223372036854775807LL |
| static const ImU64 | IM_U64_MIN = 0 |
| static const ImU64 | IM_U64_MAX = (2ULL * 9223372036854775807LL + 1) |
| static const ImGuiDataTypeInfo | GDataTypeInfo [] |
| static ImWchar | ImStb::STB_TEXTEDIT_NEWLINE = '\n' |
| #define IMGUI_DEFINE_MATH_OPERATORS |
| #define STB_TEXTEDIT_IMPLEMENTATION |
| #define STB_TEXTEDIT_K_BACKSPACE 0x200009 |
| #define STB_TEXTEDIT_K_DELETE 0x200008 |
| #define STB_TEXTEDIT_K_DOWN 0x200003 |
| #define STB_TEXTEDIT_K_LEFT 0x200000 |
| #define STB_TEXTEDIT_K_LINEEND 0x200005 |
| #define STB_TEXTEDIT_K_LINESTART 0x200004 |
| #define STB_TEXTEDIT_K_PGDOWN 0x20000F |
| #define STB_TEXTEDIT_K_PGUP 0x20000E |
| #define STB_TEXTEDIT_K_REDO 0x20000B |
| #define STB_TEXTEDIT_K_RIGHT 0x200001 |
| #define STB_TEXTEDIT_K_SHIFT 0x400000 |
| #define STB_TEXTEDIT_K_TEXTEND 0x200007 |
| #define STB_TEXTEDIT_K_TEXTSTART 0x200006 |
| #define STB_TEXTEDIT_K_UNDO 0x20000A |
| #define STB_TEXTEDIT_K_UP 0x200002 |
| #define STB_TEXTEDIT_K_WORDLEFT 0x20000C |
| #define STB_TEXTEDIT_K_WORDRIGHT 0x20000D |
| #define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL |
| #define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL |
|
static |
References ImGuiContext::FontSize, GImGui, ImGuiStyle::ItemSpacing, ImGuiContext::Style, ImGuiStyle::WindowPadding, and ImVec2::y.
Referenced by ImGui::BeginCombo().
Here is the caller graph for this function:
|
static |
References IM_ARRAYSIZE, and ImPow().
Here is the call graph for this function:
|
static |
References ImPool< T >::GetByIndex(), GImGui, ImGuiPtrOrIndex::Index, ImGuiPtrOrIndex::Ptr, and ImGuiContext::TabBars.
Referenced by ImGui::EndTabBar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References ImPool< T >::Contains(), ImPool< T >::GetIndex(), GImGui, and ImGuiContext::TabBars.
Referenced by ImGui::BeginTabBarEx().
Here is the call graph for this function:
Here is the caller graph for this function:| IM_STATIC_ASSERT | ( | IM_ARRAYSIZE(GDataTypeInfo) | = =ImGuiDataType_COUNT | ) |
Referenced by ImParseFormatTrimDecorations(), PatchFormatStringFloatToInt(), and SanitizeFormatString().
Here is the caller graph for this function:Referenced by ImParseFormatPrecision(), ImParseFormatTrimDecorations(), and PatchFormatStringFloatToInt().
Here is the caller graph for this function:| int ImParseFormatPrecision | ( | const char * | fmt, |
| int | default_precision | ||
| ) |
References ImParseFormatFindStart().
Here is the call graph for this function:References ImMin(), ImParseFormatFindEnd(), ImParseFormatFindStart(), and ImStrncpy().
Referenced by ImGui::TempInputScalar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Referenced by ImGui::InputTextEx().
Here is the caller graph for this function:
|
static |
References ImGuiContext::Font, ImFont::FontSize, ImGuiContext::FontSize, ImFont::GetCharAdvance(), GImGui, ImMax(), scale(), ImVec2::x, and ImVec2::y.
Referenced by ImGui::InputTextEx(), and ImStb::STB_TEXTEDIT_LAYOUTROW().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References ImGuiInputTextCallbackData::EventChar, ImGuiInputTextCallbackData::EventFlag, ImGuiInputTextCallbackData::Flags, ImGui::GetCurrentContext(), GImGui, IM_ASSERT, IM_UNICODE_CODEPOINT_MAX, ImCharIsBlankW(), ImGuiInputSource_Clipboard, ImGuiInputSource_Keyboard, ImGuiInputTextFlags_AllowTabInput, ImGuiInputTextFlags_CallbackCharFilter, ImGuiInputTextFlags_CharsDecimal, ImGuiInputTextFlags_CharsHexadecimal, ImGuiInputTextFlags_CharsNoBlank, ImGuiInputTextFlags_CharsScientific, ImGuiInputTextFlags_CharsUppercase, ImGuiInputTextFlags_Multiline, ImGuiContext::PlatformLocaleDecimalPoint, and ImGuiInputTextCallbackData::UserData.
Referenced by ImGui::InputTextEx().
Here is the call graph for this function:
Here is the caller graph for this function:Referenced by ImGui::Combo(), and ImGui::ListBox().
Here is the caller graph for this function:Referenced by ImGui::Combo().
Here is the caller graph for this function:References GImGui, IM_ARRAYSIZE, IM_ASSERT, ImFormatString(), ImParseFormatFindEnd(), ImParseFormatFindStart(), and ImGuiContext::TempBuffer.
Referenced by ImGui::DragScalar(), ImGui::SliderScalar(), and ImGui::VSliderScalar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
References ImGuiPlotArrayGetterData::Stride, and ImGuiPlotArrayGetterData::Values.
Referenced by ImGui::PlotHistogram(), and ImGui::PlotLines().
Here is the caller graph for this function:
|
static |
References IM_COL32, IM_F32_TO_INT8_SAT, ImGuiDir_Left, ImGuiDir_Right, ImGui::RenderArrowPointingAt(), ImVec2::x, and ImVec2::y.
Referenced by ImGui::ColorPicker4().
Here is the call graph for this function:
Here is the caller graph for this function:References IM_ASSERT, IM_UNUSED, and ImParseFormatFindEnd().
Here is the call graph for this function:
|
static |
Referenced by ImGui::ShrinkWidths().
Here is the caller graph for this function:
|
static |
Referenced by ImGui::BeginTabBarEx().
Here is the caller graph for this function:
|
static |
References TabItemGetSectionIdx().
Referenced by ImGui::TabBarLayout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
References ImGuiTabItem::Flags, ImGuiTabItemFlags_Leading, and ImGuiTabItemFlags_Trailing.
Referenced by ImGui::TabBarLayout(), and TabItemComparerBySection().
Here is the caller graph for this function:
|
static |
Referenced by ImGui::DragScalar().
|
static |
Referenced by ImGui::ButtonBehavior().
|
static |
Referenced by ImGui::DataTypeGetInfo(), ImGui::DragScalarN(), ImGui::InputScalarN(), and ImGui::SliderScalarN().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
Referenced by ImGui::DataTypeApplyOp(), and ImGui::DragBehavior().
Referenced by ImGui::DataTypeApplyOp(), ImGui::DragBehavior(), and ImGui::SliderBehavior().
Referenced by ImGui::DataTypeApplyOp(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().
|
static |
Referenced by ImGui::DataTypeApplyOp(), ImGui::DataTypeApplyOpFromText(), and ImGui::DragBehavior().