openMSX
|
#include "imgui.h"
#include "imgui_internal.h"
#include <stdio.h>
#include <stdint.h>
#include <sys/wait.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | ImGuiResizeGripDef |
struct | ImGuiResizeBorderDef |
struct | ImGuiDockRequest |
struct | ImGuiDockPreviewData |
struct | ImGuiDockNodeSettings |
struct | ImGuiDockContextPruneNodeData |
struct | ImGuiDockNodeTreeInfo |
Namespaces | |
namespace | ImGui |
Macros | |
#define | IMGUI_DEFINE_MATH_OPERATORS |
#define | IMGUI_DEBUG_NAV_SCORING 0 |
#define | IMGUI_DEBUG_NAV_RECTS 0 |
#define | va_copy(dest, src) (dest = src) |
Enumerations | |
enum | ImGuiDockRequestType { ImGuiDockRequestType_None = 0 , ImGuiDockRequestType_Dock , ImGuiDockRequestType_Undock , ImGuiDockRequestType_Split } |
Functions | |
ImVec2 | ImBezierCubicClosestPoint (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, const ImVec2 &p, int num_segments) |
ImVec2 | ImBezierCubicClosestPointCasteljau (const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, const ImVec2 &p, float tess_tol) |
ImVec2 | ImLineClosestPoint (const ImVec2 &a, const ImVec2 &b, const ImVec2 &p) |
bool | ImTriangleContainsPoint (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p) |
void | ImTriangleBarycentricCoords (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p, float &out_u, float &out_v, float &out_w) |
ImVec2 | ImTriangleClosestPoint (const ImVec2 &a, const ImVec2 &b, const ImVec2 &c, const ImVec2 &p) |
int | ImStricmp (const char *str1, const char *str2) |
int | ImStrnicmp (const char *str1, const char *str2, size_t count) |
void | ImStrncpy (char *dst, const char *src, size_t count) |
char * | ImStrdup (const char *str) |
char * | ImStrdupcpy (char *dst, size_t *p_dst_size, const char *src) |
const char * | ImStrchrRange (const char *str, const char *str_end, char c) |
int | ImStrlenW (const ImWchar *str) |
const char * | ImStreolRange (const char *str, const char *str_end) |
const char * | ImStrbol (const char *buf_mid_line, const char *buf_begin) |
const char * | ImStristr (const char *haystack, const char *haystack_end, const char *needle, const char *needle_end) |
void | ImStrTrimBlanks (char *buf) |
const char * | ImStrSkipBlank (const char *str) |
int | ImFormatString (char *buf, size_t buf_size, const char *fmt,...) |
int | ImFormatStringV (char *buf, size_t buf_size, const char *fmt, va_list args) |
void | ImFormatStringToTempBuffer (const char **out_buf, const char **out_buf_end, const char *fmt,...) |
void | ImFormatStringToTempBufferV (const char **out_buf, const char **out_buf_end, const char *fmt, va_list args) |
ImGuiID | ImHashData (const void *data_p, size_t data_size, ImGuiID seed) |
ImGuiID | ImHashStr (const char *data_p, size_t data_size, ImGuiID seed) |
ImFileHandle | ImFileOpen (const char *filename, const char *mode) |
bool | ImFileClose (ImFileHandle f) |
ImU64 | ImFileGetSize (ImFileHandle f) |
ImU64 | ImFileRead (void *data, ImU64 sz, ImU64 count, ImFileHandle f) |
ImU64 | ImFileWrite (const void *data, ImU64 sz, ImU64 count, ImFileHandle f) |
void * | ImFileLoadToMemory (const char *filename, const char *mode, size_t *out_file_size, int padding_bytes) |
IM_MSVC_RUNTIME_CHECKS_OFF int | ImTextCharFromUtf8 (unsigned int *out_char, const char *in_text, const char *in_text_end) |
int | ImTextStrFromUtf8 (ImWchar *buf, int buf_size, const char *in_text, const char *in_text_end, const char **in_text_remaining) |
int | ImTextCountCharsFromUtf8 (const char *in_text, const char *in_text_end) |
const char * | ImTextCharToUtf8 (char out_buf[5], unsigned int c) |
int | ImTextCountUtf8BytesFromChar (const char *in_text, const char *in_text_end) |
int | ImTextStrToUtf8 (char *out_buf, int out_buf_size, const ImWchar *in_text, const ImWchar *in_text_end) |
int | ImTextCountUtf8BytesFromStr (const ImWchar *in_text, const ImWchar *in_text_end) |
const char * | ImTextFindPreviousUtf8Codepoint (const char *in_text_start, const char *in_text_curr) |
int | ImTextCountLines (const char *in_text, const char *in_text_end) |
IM_MSVC_RUNTIME_CHECKS_RESTORE IMGUI_API ImU32 | ImAlphaBlendColors (ImU32 col_a, ImU32 col_b) |
ImGuiStoragePair * | ImLowerBound (ImGuiStoragePair *in_begin, ImGuiStoragePair *in_end, ImGuiID key) |
IM_STATIC_ASSERT (ImGuiKey_NamedKey_COUNT==IM_ARRAYSIZE(GKeyNames)) | |
Variables | |
const ImGuiID | ImGui::IMGUI_VIEWPORT_DEFAULT_ID = 0x11111111 |
ImGuiContext * | GImGui = NULL |
enum ImGuiDockRequestType |
IM_STATIC_ASSERT | ( | ImGuiKey_NamedKey_COUNT | = =IM_ARRAYSIZE(GKeyNames) | ) |
IM_MSVC_RUNTIME_CHECKS_RESTORE IMGUI_API ImU32 ImAlphaBlendColors | ( | ImU32 | col_a, |
ImU32 | col_b | ||
) |
ImVec2 ImBezierCubicClosestPoint | ( | const ImVec2 & | p1, |
const ImVec2 & | p2, | ||
const ImVec2 & | p3, | ||
const ImVec2 & | p4, | ||
const ImVec2 & | p, | ||
int | num_segments | ||
) |
Definition at line 1865 of file imgui.cc.
References ImBezierCubicCalc(), ImLineClosestPoint(), p3, and p4.
ImVec2 ImBezierCubicClosestPointCasteljau | ( | const ImVec2 & | p1, |
const ImVec2 & | p2, | ||
const ImVec2 & | p3, | ||
const ImVec2 & | p4, | ||
const ImVec2 & | p, | ||
float | tess_tol | ||
) |
bool ImFileClose | ( | ImFileHandle | f | ) |
Definition at line 2306 of file imgui.cc.
Referenced by ImFileLoadToMemory().
ImU64 ImFileGetSize | ( | ImFileHandle | f | ) |
Definition at line 2307 of file imgui.cc.
Referenced by ImFileLoadToMemory().
void * ImFileLoadToMemory | ( | const char * | filename, |
const char * | mode, | ||
size_t * | out_file_size, | ||
int | padding_bytes | ||
) |
Definition at line 2315 of file imgui.cc.
References ImFileClose(), ImFileGetSize(), ImFileOpen(), and ImFileRead().
ImFileHandle ImFileOpen | ( | const char * | filename, |
const char * | mode | ||
) |
Definition at line 2281 of file imgui.cc.
Referenced by ImFileLoadToMemory().
ImU64 ImFileRead | ( | void * | data, |
ImU64 | sz, | ||
ImU64 | count, | ||
ImFileHandle | f | ||
) |
Definition at line 2308 of file imgui.cc.
Referenced by ImFileLoadToMemory().
ImU64 ImFileWrite | ( | const void * | data, |
ImU64 | sz, | ||
ImU64 | count, | ||
ImFileHandle | f | ||
) |
int ImFormatString | ( | char * | buf, |
size_t | buf_size, | ||
const char * | fmt, | ||
... | |||
) |
void ImFormatStringToTempBuffer | ( | const char ** | out_buf, |
const char ** | out_buf_end, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 2161 of file imgui.cc.
References ImFormatStringToTempBufferV().
void ImFormatStringToTempBufferV | ( | const char ** | out_buf, |
const char ** | out_buf_end, | ||
const char * | fmt, | ||
va_list | args | ||
) |
Definition at line 2173 of file imgui.cc.
References g, GImGui, and ImFormatStringV().
Referenced by ImFormatStringToTempBuffer().
int ImFormatStringV | ( | char * | buf, |
size_t | buf_size, | ||
const char * | fmt, | ||
va_list | args | ||
) |
Definition at line 2145 of file imgui.cc.
Referenced by ImFormatStringToTempBufferV().
ImGuiID ImHashData | ( | const void * | data_p, |
size_t | data_size, | ||
ImGuiID | seed | ||
) |
ImGuiID ImHashStr | ( | const char * | data_p, |
size_t | data_size, | ||
ImGuiID | seed | ||
) |
Definition at line 2246 of file imgui.cc.
Referenced by openmsx::ImGuiManager::ImGuiManager().
ImVec2 ImLineClosestPoint | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | p | ||
) |
Definition at line 1933 of file imgui.cc.
Referenced by ImBezierCubicClosestPoint(), and ImTriangleClosestPoint().
ImGuiStoragePair * ImLowerBound | ( | ImGuiStoragePair * | in_begin, |
ImGuiStoragePair * | in_end, | ||
ImGuiID | key | ||
) |
const char * ImStrbol | ( | const char * | buf_mid_line, |
const char * | buf_begin | ||
) |
const char * ImStrchrRange | ( | const char * | str, |
const char * | str_end, | ||
char | c | ||
) |
char * ImStrdupcpy | ( | char * | dst, |
size_t * | p_dst_size, | ||
const char * | src | ||
) |
const char * ImStreolRange | ( | const char * | str, |
const char * | str_end | ||
) |
const char * ImStristr | ( | const char * | haystack, |
const char * | haystack_end, | ||
const char * | needle, | ||
const char * | needle_end | ||
) |
void ImStrncpy | ( | char * | dst, |
const char * | src, | ||
size_t | count | ||
) |
Definition at line 2000 of file imgui.cc.
Referenced by ImParseFormatTrimDecorations().
int ImStrnicmp | ( | const char * | str1, |
const char * | str2, | ||
size_t | count | ||
) |
IM_MSVC_RUNTIME_CHECKS_OFF int ImTextCharFromUtf8 | ( | unsigned int * | out_char, |
const char * | in_text, | ||
const char * | in_text_end | ||
) |
Definition at line 2363 of file imgui.cc.
Referenced by ImTextCountCharsFromUtf8(), ImTextCountUtf8BytesFromChar(), and ImTextStrFromUtf8().
const char * ImTextCharToUtf8 | ( | char | out_buf[5], |
unsigned int | c | ||
) |
int ImTextCountCharsFromUtf8 | ( | const char * | in_text, |
const char * | in_text_end | ||
) |
Definition at line 2431 of file imgui.cc.
References ImTextCharFromUtf8().
int ImTextCountLines | ( | const char * | in_text, |
const char * | in_text_end | ||
) |
int ImTextCountUtf8BytesFromChar | ( | const char * | in_text, |
const char * | in_text_end | ||
) |
Definition at line 2487 of file imgui.cc.
References ImTextCharFromUtf8().
Referenced by ImTextCountUtf8BytesFromStr().
int ImTextCountUtf8BytesFromStr | ( | const ImWchar * | in_text, |
const ImWchar * | in_text_end | ||
) |
Definition at line 2518 of file imgui.cc.
References ImTextCountUtf8BytesFromChar().
const char * ImTextFindPreviousUtf8Codepoint | ( | const char * | in_text_start, |
const char * | in_text_curr | ||
) |
int ImTextStrFromUtf8 | ( | ImWchar * | buf, |
int | buf_size, | ||
const char * | in_text, | ||
const char * | in_text_end, | ||
const char ** | in_text_remaining | ||
) |
Definition at line 2415 of file imgui.cc.
References ImTextCharFromUtf8().
int ImTextStrToUtf8 | ( | char * | out_buf, |
int | out_buf_size, | ||
const ImWchar * | in_text, | ||
const ImWchar * | in_text_end | ||
) |
void ImTriangleBarycentricCoords | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
const ImVec2 & | p, | ||
float & | out_u, | ||
float & | out_v, | ||
float & | out_w | ||
) |
ImVec2 ImTriangleClosestPoint | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
const ImVec2 & | p | ||
) |
Definition at line 1965 of file imgui.cc.
References ImLineClosestPoint().
bool ImTriangleContainsPoint | ( | const ImVec2 & | a, |
const ImVec2 & | b, | ||
const ImVec2 & | c, | ||
const ImVec2 & | p | ||
) |
Definition at line 1946 of file imgui.cc.
Referenced by ImTriangulator::IsEar().
ImGuiContext* GImGui = NULL |
Definition at line 1276 of file imgui.cc.
Referenced by ImFormatStringToTempBufferV(), and ImGui::ShowFontAtlas().