|
Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
|
#include "imgui.h"#include "imgui_internal.h"#include <ctype.h>#include <stdlib.h>#include <stdio.h>#include <limits.h>#include <stdint.h>#include "stb_textedit.h"Go to the source code of this file.
Classes | |
| struct | ImGuiStyleVarInfo |
| struct | ImGuiPlotArrayGetterData |
Namespaces | |
| ImGuiStb | |
Macros | |
| #define | IMGUI_DEFINE_MATH_OPERATORS |
| #define | IMGUI_DEFINE_PLACEMENT_NEW |
| #define | IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) |
| #define | IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) |
| #define | IM_NEWLINE "\n" |
| #define | va_copy(dest, src) (dest = src) |
| #define | STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL |
| #define | STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL |
| #define | STB_TEXTEDIT_K_LEFT 0x10000 |
| #define | STB_TEXTEDIT_K_RIGHT 0x10001 |
| #define | STB_TEXTEDIT_K_UP 0x10002 |
| #define | STB_TEXTEDIT_K_DOWN 0x10003 |
| #define | STB_TEXTEDIT_K_LINESTART 0x10004 |
| #define | STB_TEXTEDIT_K_LINEEND 0x10005 |
| #define | STB_TEXTEDIT_K_TEXTSTART 0x10006 |
| #define | STB_TEXTEDIT_K_TEXTEND 0x10007 |
| #define | STB_TEXTEDIT_K_DELETE 0x10008 |
| #define | STB_TEXTEDIT_K_BACKSPACE 0x10009 |
| #define | STB_TEXTEDIT_K_UNDO 0x1000A |
| #define | STB_TEXTEDIT_K_REDO 0x1000B |
| #define | STB_TEXTEDIT_K_WORDLEFT 0x1000C |
| #define | STB_TEXTEDIT_K_WORDRIGHT 0x1000D |
| #define | STB_TEXTEDIT_K_SHIFT 0x20000 |
| #define | STB_TEXTEDIT_IMPLEMENTATION |
Functions | |
| 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, int count) |
| void | ImStrncpy (char *dst, const char *src, int count) |
| char * | ImStrdup (const char *str) |
| int | ImStrlenW (const ImWchar *str) |
| const ImWchar * | ImStrbolW (const ImWchar *buf_mid_line, const ImWchar *buf_begin) |
| const char * | ImStristr (const char *haystack, const char *haystack_end, const char *needle, const char *needle_end) |
| int | ImFormatString (char *buf, int buf_size, const char *fmt,...) |
| int | ImFormatStringV (char *buf, int buf_size, const char *fmt, va_list args) |
| ImU32 | ImHash (const void *data, int data_size, ImU32 seed) |
| 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) |
| int | ImTextStrToUtf8 (char *buf, int buf_size, const ImWchar *in_text, const ImWchar *in_text_end) |
| int | ImTextCountUtf8BytesFromStr (const ImWchar *in_text, const ImWchar *in_text_end) |
| FILE * | ImFileOpen (const char *filename, const char *mode) |
| void * | ImFileLoadToMemory (const char *filename, const char *file_open_mode, int *out_file_size, int padding_bytes) |
Variables | |
| ImGuiContext * | GImGui = &GImDefaultContext |
| #define IM_F32_TO_INT8_SAT | ( | _VAL | ) | ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) |
| #define IM_F32_TO_INT8_UNBOUND | ( | _VAL | ) | ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) |
| #define STB_TEXTEDIT_MOVEWORDLEFT STB_TEXTEDIT_MOVEWORDLEFT_IMPL |
| #define STB_TEXTEDIT_MOVEWORDRIGHT STB_TEXTEDIT_MOVEWORDRIGHT_IMPL |
| void* ImFileLoadToMemory | ( | const char * | filename, |
| const char * | file_open_mode, | ||
| int * | out_file_size, | ||
| int | padding_bytes | ||
| ) |
| FILE* ImFileOpen | ( | const char * | filename, |
| const char * | mode | ||
| ) |
| int ImFormatString | ( | char * | buf, |
| int | buf_size, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
| int ImFormatStringV | ( | char * | buf, |
| int | buf_size, | ||
| const char * | fmt, | ||
| va_list | args | ||
| ) |
| const char* ImStristr | ( | const char * | haystack, |
| const char * | haystack_end, | ||
| const char * | needle, | ||
| const char * | needle_end | ||
| ) |
| void ImStrncpy | ( | char * | dst, |
| const char * | src, | ||
| int | count | ||
| ) |
| int ImStrnicmp | ( | const char * | str1, |
| const char * | str2, | ||
| int | count | ||
| ) |
| int ImTextCharFromUtf8 | ( | unsigned int * | out_char, |
| const char * | in_text, | ||
| const char * | in_text_end | ||
| ) |
| int ImTextCountCharsFromUtf8 | ( | 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 | ||
| ) |
| ImGuiContext* GImGui = &GImDefaultContext |
1.8.11