diff --git a/docs/book/_sources/doc_params.md b/docs/book/_sources/doc_params.md index 72c9d845..b5ce07c2 100644 --- a/docs/book/_sources/doc_params.md +++ b/docs/book/_sources/doc_params.md @@ -327,6 +327,10 @@ struct RunnerCallbacks // `RegisterTests`: A function that is called once ImGuiTestEngine is ready // to be filled with tests and automations definitions. VoidFunction RegisterTests = EmptyVoidFunction(); + // `registerTestsCalled`: will be set to true when RegisterTests was called + // (you can set this to false if you want to RegisterTests to be called again + // during the app execution) + bool registerTestsCalled = false; // --------------- Exit sequence callbacks ------------------- diff --git a/docs/book/doc_params.html b/docs/book/doc_params.html index 6a14223e..088368fb 100644 --- a/docs/book/doc_params.html +++ b/docs/book/doc_params.html @@ -759,6 +759,10 @@

RunnerCallbacks // `RegisterTests`: A function that is called once ImGuiTestEngine is ready // to be filled with tests and automations definitions. VoidFunction RegisterTests = EmptyVoidFunction(); + // `registerTestsCalled`: will be set to true when RegisterTests was called + // (you can set this to false if you want to RegisterTests to be called again + // during the app execution) + bool registerTestsCalled = false; // --------------- Exit sequence callbacks ------------------- diff --git a/docs/book/searchindex.js b/docs/book/searchindex.js index 56866066..b26f21a6 100644 --- a/docs/book/searchindex.js +++ b/docs/book/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["build", "doc_api", "doc_params", "get_started", "intro"], "filenames": ["build.md", "doc_api.md", "doc_params.md", "get_started.md", "intro.md"], "titles": ["Build instructions", "API", "Application parameters", "Get started", "Hello ImGui"], "terms": {"On": [0, 1, 2], "almost": [0, 1], "all": [0, 1, 2, 3, 4], "platform": [0, 1, 2, 3, 4], "helloimgui": [0, 1, 2, 3, 4], "can": [0, 1, 2, 3, 4], "compil": [0, 2], "simpl": [0, 1, 3, 4], "command": [0, 2], "bash": 0, "git": [0, 3], "clone": [0, 3], "http": [0, 1, 2, 3], "github": [0, 1, 2, 3], "com": [0, 1, 2, 3], "pthom": [0, 1, 2, 3], "hello_imgui": [0, 1, 2, 3, 4], "cd": 0, "mkdir": 0, "make": [0, 1, 2, 4], "j": 0, "thi": [0, 1, 2, 3, 4], "librari": [0, 1, 2, 3, 4], "which": [0, 1, 2, 3, 4], "locat": [0, 2, 3], "bin": 0, "folder": [0, 1, 2, 3], "To": [0, 2], "an": [0, 1, 2, 3, 4], "you": [0, 1, 2, 3, 4], "either": [0, 2], "place": [0, 2, 3], "insid": [0, 1, 2], "project": [0, 3], "exampl": [0, 1, 3], "submodul": 0, "download": [0, 3], "built": [0, 3, 4], "automat": [0, 1, 2, 3, 4], "In": [0, 1, 2], "ani": [0, 2, 3, 4], "case": [0, 1, 2], "follow": [0, 1, 2], "given": [0, 1, 2], "starter": 0, "templat": 0, "see": [0, 1, 2, 3, 4], "document": [0, 1, 2], "below": [0, 1, 2], "extract": [0, 3], "from": [0, 2, 3], "cmakelist": [0, 1, 3], "txt": [0, 1, 2, 3], "combin": 0, "need": [0, 1, 2, 3], "least": [0, 3], "one": [0, 1, 2, 3], "them": [0, 1, 2, 3], "If": [0, 1, 2, 4], "specifi": [0, 1, 2], "helloimgui_use_glfw_opengl3": 0, "linux": [0, 1, 2, 4], "helloimgui_use_sdl_opengl3": 0, "note": [0, 1, 2], "onli": [0, 1, 2], "render": [0, 4], "time": [0, 2, 3], "opengl3": [0, 4], "metal": [0, 2, 4], "vulkan": [0, 2, 4], "mai": [0, 1, 2], "select": [0, 1, 2], "multipl": [0, 1, 2, 4], "both": [0, 2], "sdl": [0, 1, 2, 4], "glfw3": [0, 4], "ar": [0, 1, 2, 4], "easier": 0, "recommend": [0, 1, 3], "especi": [0, 4], "beginn": 0, "standard": [0, 1, 2], "off": 0, "sdl2": [0, 4], "advanc": [0, 1, 2], "experienc": 0, "user": [0, 2, 4], "directx11": 0, "do": [0, 1, 2, 3], "work": [0, 1, 2, 4], "custom": [0, 2], "code": [0, 2, 3, 4], "src": [0, 1, 2], "intern": [0, 1, 2], "backend_impl": [0, 2], "rendering_xxxx": 0, "h": [0, 1, 2, 3, 4], "cpp": [0, 1, 2, 3, 4], "those": [0, 2], "probabl": 0, "impli": 0, "want": [0, 1, 2], "heavili": 0, "appl": [0, 3], "helloimgui_use_glfw_met": 0, "helloimgui_use_sdl_met": 0, "helloimgui_use_glfw_vulkan": 0, "helloimgui_use_sdl_vulkan": 0, "directx": [0, 2, 4], "11": 0, "known": 0, "issu": 0, "rendering_dx11": [0, 2], "helloimgui_use_sdl_directx11": 0, "helloimgui_use_glfw_directx11": 0, "experiment": 0, "directx12": 0, "wa": [0, 1, 2], "test": [0, 1, 2, 4], "although": [0, 1], "doe": 0, "helloimgui_use_sdl_directx12": 0, "order": [0, 1, 2], "own": [0, 2, 3], "afor": 0, "mention": [0, 2], "ON": [0, 2], "freetyp": [0, 1, 4], "font": [0, 2, 3, 4], "helloimgui_use_freetyp": 0, "default": [0, 1, 3], "provid": [0, 1, 2, 3, 4], "version": [0, 1], "conveni": [0, 1], "disabl": [0, 2], "prefer": [0, 1, 2], "system": [0, 1], "enabl": [0, 1, 2], "other": [0, 1, 2], "helloimgui_download_glfw_if_need": 0, "helloimgui_download_sdl_if_need": 0, "helloimgui_use_sdl_xxxx": 0, "helloimgui_use_glfw_xxxx": 0, "were": [0, 2], "ad": [0, 2, 3], "target": [0, 2, 3], "add_subdirectori": [0, 3], "extern": [0, 3], "glfw": [0, 1, 2, 4], "find_packag": 0, "fail": 0, "found": [0, 2, 3], "path": [0, 2, 3], "cmake_prefix_path": 0, "instead": [0, 1], "helloimgui_download_freetyp": 0, "also": [0, 2], "forcibl": 0, "helloimgui_freetype_stat": 0, "becaus": [0, 1], "ubuntu": 0, "instal": [0, 1], "sudo": 0, "apt": 0, "libglfw3": 0, "dev": 0, "libsdl2": 0, "libfreetyp": 0, "cmake_system_nam": 0, "match": [0, 4], "set": [0, 2, 3, 4], "autodownload_default": 0, "els": 0, "endif": [0, 2, 3], "helloimgui_download_freetype_if_need": 0, "forc": 0, "static": [0, 1, 3], "link": [0, 3], "python": [0, 4], "bind": [0, 4], "The": [0, 1, 2, 3, 4], "file": [0, 3], "most": [0, 1, 2], "import": [0, 2], "except": [0, 1, 2, 3], "mingw": 0, "text": [0, 1, 2, 3, 4], "freetype_default": 0, "engin": [0, 1, 2, 4], "helloimgui_with_test_engin": 0, "under": [0, 1, 2, 4], "winmain": 0, "function": [0, 2, 3], "call": [0, 1, 2], "main": [0, 1, 2, 3, 4], "expect": 0, "signatur": [0, 1], "int": [0, 1, 2, 3, 4], "char": [0, 1, 3, 4], "get": [0, 4], "linker": 0, "error": [0, 1], "via": [0, 2], "pass": 0, "dhelloimgui_win32_auto_winmain": 0, "line": [0, 1, 3, 4], "write": [0, 4], "warn": [0, 2], "defin": [0, 2, 4], "sdl_main_handl": 0, "befor": [0, 1, 2], "inclus": [0, 1], "refrain": 0, "sdl_main": 0, "opengl": [0, 2, 3], "es3": 0, "current": [0, 1, 2], "toolchain": 0, "hello_imgui_cmak": 0, "asm": 0, "js": [0, 3], "webassembl": 0, "llvm": 0, "let": [0, 1, 2], "run": [0, 2, 3, 4], "c": [0, 1, 4], "web": 0, "nativ": [0, 1, 2], "speed": [0, 2], "without": 0, "plugin": 0, "server": 0, "basic": 0, "easi": [0, 1, 2, 4], "usen": 0, "launch": [0, 1], "like": [0, 2], "build_emscripten": 0, "python3": 0, "m": 0, "open": [0, 2, 4], "browser": [0, 2], "navig": 0, "localhost": 0, "8000": 0, "regular": 0, "termin": [0, 2], "execut": [0, 1, 2], "app": [0, 1, 2], "bundl": [0, 1, 3], "dhelloimgui_macos_no_bundl": 0, "opengles3": 0, "extrem": 1, "us": [1, 2, 3, 4], "three": [1, 2], "overload": 1, "singl": 1, "runnerparam": 1, "full": [1, 4], "customiz": 1, "whose": [1, 2], "param": 1, "gui": [1, 2, 4], "const": [1, 2], "simplerunnerparam": [1, 2], "simpler": [1, 2], "guifunct": [1, 2, 3], "windowtitl": [1, 2], "windows": [1, 2], "windowsizeauto": [1, 2], "fals": [1, 2], "restorelastwindowgeometri": 1, "fpsidl": [1, 2], "10": 1, "window": [1, 4], "titl": [1, 2, 4], "etc": [1, 2, 3, 4], "highli": 1, "mani": 1, "option": [1, 3], "fill": [1, 2], "element": 1, "struct": [1, 2], "getrunnerparam": [1, 2, 3], "return": [1, 2, 3], "special": 1, "care": 1, "must": [1, 2], "taken": [1, 2], "correctli": 1, "recent": 1, "laptop": 1, "imvec2": [1, 2], "fix": 1, "valu": [1, 2], "alwai": [1, 2], "bad": 1, "idea": 1, "intend": [1, 2], "your": [1, 2, 3, 4], "otherwis": 1, "might": [1, 2], "misplac": 1, "too": 1, "small": [1, 2], "should": [1, 2, 3, 4], "rel": [1, 2, 3], "size": [1, 2, 4], "done": [1, 2], "em": [1, 2], "css": 1, "unit": [1, 2], "__helloimgui": 1, "emtovec2": [1, 2], "__": 1, "independ": [1, 2], "i": [1, 2], "e": [1, 2], "float": [1, 2], "x": 1, "y": 1, "v": 1, "emsiz": 1, "visibl": [1, 2], "nbline": 1, "correspond": [1, 2], "hello_imgui_font": 1, "when": [1, 2, 4], "loadfont": 1, "fontfilenam": 1, "fontsiz": 1, "fontloadingparam": 1, "paramet": 1, "avail": [1, 2, 4], "color": [1, 2, 4], "merg": 1, "rang": [1, 2], "true": [1, 2, 3, 4], "adjust": 1, "account": [1, 2], "highdpi": 1, "bool": [1, 2], "adjustsizetodpi": 1, "glyph": 1, "usefullglyphrang": 1, "fontconfig": 1, "glyphrang": 1, "oversampleh": 1, "oversamplev": 1, "1": [1, 2, 3, 4], "save": [1, 2, 4], "memori": [1, 2], "reducememoryusageiffullglyphrang": 1, "last": [1, 2], "mergetolastfont": 1, "requir": [1, 2, 3, 4], "imgui_enable_freetyp": 1, "loadcolor": 1, "filesystem": 1, "insideasset": 1, "empti": [1, 2], "interv": 1, "bound": 1, "translat": 1, "imwchar": 1, "std": [1, 2], "vector": [1, 2], "imwcharpair": 1, "config": [1, 2], "imfontconfig": 1, "fontawesom": [1, 3], "icon": [1, 3, 4], "deprec": 1, "two": [1, 2], "step": 1, "mergefontawesom": 1, "fontconfigfontawesom": 1, "getio": 1, "addfontfromfilettf": 1, "spare": 1, "headach": 1, "try": [1, 2], "consist": 1, "across": [1, 4], "imfont": 1, "string": [1, 2], "hello_imgui_asset": 1, "assetfiledata": 1, "void": [1, 2], "nullptr": [1, 2], "size_t": 1, "datas": 1, "0": [1, 2, 3], "loadassetfiledata": 1, "assetpath": 1, "Will": [1, 2], "entir": 1, "includ": [1, 2, 3, 4], "android": [1, 2, 3, 4], "have": [1, 2], "freeassetfiledata": 1, "free": [1, 2, 4], "addfontfrommemoryttf": 1, "take": 1, "ownership": 1, "assetfilefullpath": 1, "assetrelativefilenam": 1, "For": [1, 2], "compat": 1, "whenev": 1, "possibl": [1, 2], "io": [1, 2, 3, 4], "give": [1, 2], "privat": 1, "xxx": 1, "emscripten": [1, 2, 3, 4], "virtual": 1, "implement": [1, 2], "throw": 1, "compress": 1, "t": 1, "oper": 1, "assertifnotfound": 1, "exist": 1, "assetexist": 1, "mobil": [1, 2, 3, 4], "setassetsfold": 1, "image_from_asset": 1, "first": [1, 2], "cach": [1, 2], "thei": [1, 2], "freed": 1, "just": [1, 2], "exit": [1, 2], "structur": 1, "my_imag": 1, "jpg": [1, 3], "my_app": 1, "imagefromasset": [1, 3], "uv0": 1, "uv1": 1, "imvec4": [1, 2], "tint_col": 1, "border_col": 1, "imagebuttonfromasset": 1, "button": [1, 2, 3], "frame_pad": 1, "bg_col": 1, "imtextureid": 1, "imtextureidfromasset": 1, "textur": 1, "id": [1, 2], "imagesizefromasset": 1, "imageproportionals": 1, "askeds": 1, "images": 1, "dimens": 1, "comput": [1, 2], "keep": [1, 2], "aspect": [1, 4], "ratio": [1, 2], "fit": 1, "exactli": 1, "thu": 1, "potenti": 1, "chang": [1, 2], "so": [1, 2], "don": 1, "directli": 1, "framer": 1, "durationformean": 1, "5": [1, 2, 3, 4], "sinc": [1, 2], "choos": [1, 2], "durat": 1, "calcul": 1, "mean": [1, 3], "fp": [1, 4], "lead": 1, "accur": 1, "each": [1, 2, 3], "frame": [1, 2], "5f": [1, 2], "imguitestengin": [1, 2], "getimguitestengin": 1, "pointer": 1, "global": 1, "instanc": 1, "initi": [1, 2], "iif": 1, "activ": 1, "demo": [1, 2], "tree": 1, "master": [1, 2, 3], "hello_imgui_demo": [1, 2], "hello_imgui_demodock": 1, "switchlayout": 1, "layoutnam": [1, 2], "alternativedockinglayout": [1, 2], "currentlayoutnam": 1, "name": [1, 2, 3, 4], "inifoldertyp": [1, 2], "enum": [1, 2], "describl": 1, "where": [1, 2], "base": [1, 2, 3, 4], "inifolderloc": 1, "contain": [1, 2], "member": [1, 2], "currentfold": [1, 2], "inifilenam": [1, 2], "inifilename_useappwindowtitl": [1, 2], "deriv": [1, 2], "appwindowparam": 1, "subfold": [1, 2, 3], "creat": [1, 2], "class": [1, 2], "develop": [1, 4], "product": 1, "appuserconfigfold": [1, 2], "appdata": [1, 2], "usernam": 1, "roam": [1, 2], "support": [1, 2], "maco": [1, 2, 3, 4], "easili": [1, 4], "access": 1, "appexecutablefold": [1, 2], "shortcut": 1, "homefold": [1, 2], "home": [1, 2], "documentsfold": [1, 2], "tempfold": [1, 2], "temp": 1, "inisettingsloc": 1, "hasiniset": 1, "deleteiniset": 1, "delet": 1, "addit": [1, 2, 3, 4], "larg": 1, "quantiti": 1, "sparingli": 1, "saveuserpref": 1, "userprefnam": 1, "userprefcont": 1, "shall": [1, 2], "callback": 1, "beforeexit": [1, 2], "loaduserpref": 1, "postinit": [1, 2], "statu": [1, 2, 3], "bar": [1, 2], "imguiwindowparam": 1, "showmenubar": [1, 2], "showmenu_app": [1, 2], "showmenu_view": [1, 2], "fulli": [1, 2], "showmenu": [1, 2], "showviewmenu": [1, 2], "showappmenu": [1, 2], "show": [1, 2, 3, 4], "view": [1, 2], "dock": [1, 4], "quit": [1, 2], "item": [1, 2], "part": [1, 2], "relev": 1, "more": [1, 2, 4], "usag": [1, 3, 4], "worri": 1, "about": [1, 2, 3], "s": [1, 2, 3], "consid": [1, 4], "physic": [1, 2], "pixel": [1, 2], "resolut": [1, 2, 3], "3600x2000": 1, "factor": 1, "200": 1, "look": 1, "depend": [1, 2], "seen": 1, "1800x1000": 1, "resiz": [1, 2, 4], "itself": 1, "By": [1, 2, 3], "backend": [1, 4], "normal": 1, "howev": 1, "correct": 1, "thing": 1, "know": [1, 2], "fontglobalscal": 1, "rescal": 1, "bet": 1, "retina": 1, "imguidefaultfontglobalscal": 1, "dpifontloadingfactor": 1, "multipli": 1, "dpiwindowsizefactor": 1, "f": [1, 2], "equal": 1, "currentscreenpixelperinch": 1, "96": [1, 2], "diagram": 2, "summar": 2, "explain": 2, "detail": 2, "later": 2, "runner_param": 2, "adapt": 2, "suffici": 2, "mygui": 2, "hello": [2, 3], "world": [2, 3], "appshallexit": [2, 3], "auto": [2, 3, 4], "_voidfunction_": 2, "voidfunct": 2, "emptyvoidfunct": 2, "_string": 2, "_": 2, "_bool": 2, "false_": 2, "its": [2, 3, 4], "widget": [2, 3, 4], "windowrestorepreviousgeometri": 2, "true_": 2, "restor": [2, 4], "posit": [2, 4], "between": 2, "_screensiz": 2, "800": 2, "600": 2, "screensiz": 2, "defaultwindows": 2, "_float": 2, "9_": 2, "9": 2, "enableidl": 2, "startup": 2, "torunnerparam": 2, "_see": 2, "runner_callback": 2, "h_": 2, "showgui": 2, "menu": 2, "app_window_param": 2, "imgui_window_param": 2, "providefullscreenwindow": 2, "dockingparam": 2, "docking_param": 2, "content": 2, "layout": 2, "_vector": 2, "empty_": 2, "list": [2, 4], "sever": 2, "rememberselectedalternativelayout": 2, "rememb": 2, "backendpoint": 2, "backend_point": 2, "A": [2, 3], "These": 2, "start": [2, 4], "backendtyp": 2, "_enum": 2, "firstavailable_": 2, "firstavail": 2, "rendererbackendopt": 2, "renderer_backend_opt": 2, "_inifoldertyp": 2, "currentfolder_": 2, "ini": 2, "filenam": 2, "Its": [2, 4], "dure": [2, 3], "_note": 2, "ha": 2, "effect": 2, "devic": 2, "_fpsidling_": 2, "misc": 2, "useimguitestengin": 2, "dear": [2, 3], "autom": [2, 4], "ocornut": 2, "imgui_test_engin": 2, "dhelloimgui_with_test_engin": 2, "hello_imgui_demo_test_engin": 2, "licens": 2, "subject": 2, "specif": [2, 3, 4], "blob": 2, "tl": 2, "dr": 2, "individu": 2, "educ": 2, "sourc": [2, 4], "busi": 2, "paid": 2, "larger": 2, "emscripten_fp": 2, "_int": 2, "0_": 2, "refresh": 2, "rate": 2, "stand": 2, "decid": 2, "consum": 2, "lot": [2, 4], "cpu": [2, 4], "updat": 2, "screen": [2, 4], "veri": 2, "frequent": 2, "reduc": [2, 4], "interact": [2, 3, 4], "detect": 2, "ok": 2, "displai": [2, 3], "anim": 2, "live": 2, "video": [2, 4], "ask": 2, "faster": 2, "increas": 2, "maximum": 2, "dynam": 2, "isidl": 2, "rememberenableidl": 2, "voidfunctionpoint": 2, "hold": 2, "inlin": 2, "sequencefunct": 2, "f1": 2, "f2": 2, "sequenc": 2, "anyeventcallback": 2, "backendev": 2, "emptyeventcallback": 2, "add": [2, 3, 4], "beginmenu": 2, "menuitem": 2, "endmenu": 2, "beginmenubar": 2, "endmenubar": 2, "some": 2, "_showmenubar": 2, "showmenu_app_quitabout": 2, "showmenu_view_": 2, "showappmenuitem": 2, "showstatu": 2, "height": 2, "30": 2, "samelin": 2, "edgestoolbar": 2, "dict": 2, "map": 2, "edgetoolbartyp": 2, "edgetoolbar": 2, "addedgetoolbar": 2, "edgetoolbaropt": 2, "postinit_addplatformbackendcallback": 2, "here": [2, 3, 4], "onc": 2, "after": 2, "init": 2, "everyth": 2, "enqueuepostinit": 2, "modifi": 2, "append": 2, "new": [2, 3], "loadadditionalfont": 2, "_loaddefaultfont_withfontawesom": 2, "readi": 2, "load": [2, 4], "_loaddefaultfont_withfontawesome_": 2, "copi": 2, "loaddefaultfont_withfontawesom": 2, "asset": [2, 4], "revert": 2, "embed": [2, 4], "imguidefaultset": 2, "loaddefaultfont_withfontawesomeicon": 2, "setupimguiconfig": 2, "_imguidefaultset": 2, "setupdefaultimguiconfig": 2, "gamepad": 2, "setupimguistyl": 2, "style": 2, "setupdefaultimguistyl": 2, "registertest": 2, "definit": 2, "still": 2, "enqueuebeforeexit": 2, "beforeexit_postcleanup": 2, "been": 2, "stop": 2, "loop": 2, "prenewfram": 2, "newfram": 2, "It": [2, 3], "good": 2, "beforeimguirend": 2, "endfram": 2, "afterswap": 2, "swap": 2, "custombackground": 2, "background": 2, "clear": 2, "backgroundcolor": 2, "control": 2, "over": 2, "drawn": 2, "behind": 2, "3d": 2, "mesh": 2, "editor": [2, 4], "game": 2, "top": [2, 4], "anybackendeventcallback": 2, "event": [2, 3], "_onli": 2, "sdl_event": 2, "handl": [2, 3, 4], "process": 2, "further": 2, "regist": 2, "ifdef": 2, "helloimgui_mobiledevic": 2, "winrt": 2, "present": 2, "dictionari": 2, "per": 2, "bottom": 2, "left": 2, "right": [2, 3], "width": 2, "dpi": [2, 4], "awar": 2, "sizeem": 2, "2": [2, 3], "pad": 2, "windowpaddingem": 2, "3f": 2, "windowbg": 2, "w": 2, "non": 2, "showtoolbar": 2, "alledgetoolbartyp": 2, "edgetoolbartypenam": 2, "differ": [2, 3], "usual": 2, "desktop": [2, 3], "quickli": 2, "often": 2, "os": 2, "immedi": 2, "respons": 2, "shortli": 2, "send": 2, "appropri": 2, "put": 2, "paus": 2, "ondestroi": 2, "being": 2, "onlowmemori": 2, "_voidfunct": 2, "low": 2, "onpaus": 2, "enter": 2, "onresum": 2, "came": 2, "foreground": 2, "now": 2, "twice": 2, "consecut": 2, "raw": 2, "githubusercont": 2, "doc_src": 2, "hello_imgui_diagram": 2, "png": [2, 3], "_windowgeometry_": 2, "precis": 2, "geometri": [2, 4], "monitor": 2, "fake": 2, "restorepreviousgeometri": 2, "written": 2, "imgui_app_window": 2, "creation": 2, "hidden": 2, "hide": 2, "cannot": 2, "borderless": [2, 4], "border": 2, "borderlessmov": 2, "movabl": [2, 4], "drag": 2, "zone": 2, "mous": 2, "borderlessresiz": 2, "borderlessclos": 2, "close": 2, "borderlesshighlightcolor": 2, "highlight": 2, "move": 2, "highlightcolor": 2, "getcoloru32": 2, "imguicol_titlebgact": 2, "6f": 2, "2f": 2, "4f": 2, "notch": 2, "edgeinset": 2, "_edgeinsets_": 2, "out": 2, "iphon": 2, "inset": 2, "handleedgeinset": 2, "defaultimguiwindowtyp": 2, "nodefaultwindow": 2, "few": 2, "typic": 2, "4": 2, "fullscreenmod": 2, "nofullscreen": 2, "sizeauto": 2, "measur": 2, "As": 2, "consequ": 2, "1st": 2, "2nd": 2, "windowsizest": 2, "_windowsizest": 2, "standard_": 2, "state": 2, "minim": [2, 4], "maxim": 2, "windowsizemeasuremod": 2, "_windowsizemeasuremode_": 2, "relativeto96ppi": 2, "how": [2, 3, 4], "result": 2, "millimet": 2, "densiti": 2, "express": 2, "800x600": 2, "coord": 2, "1600x120": 2, "192": 2, "With": [2, 3], "screencoord": 2, "coordin": 2, "real": 2, "high": [2, 4], "positionmod": 2, "mode": [2, 4], "osdefault": 2, "monitorcent": 2, "fromcoord": 2, "windowpositionmod": 2, "40": 2, "screenposit": 2, "defaultscreenposit": 2, "monitoridx": 2, "index": 2, "fullscreen": 2, "fullscreendesktopresolut": 2, "fullmonitorworkarea": 2, "resizeappwindowatnextfram": 2, "_bool_": 2, "flag": 2, "point": [2, 3], "next": 2, "subsequ": 2, "inner": 2, "affect": 2, "appwindowsparam": 2, "z": 2, "providefullscreendockspac": 2, "dockspac": 2, "enableviewport": 2, "viewport": 2, "outsid": 2, "configwindowsmovefromtitlebaronli": 2, "menuapptitl": 2, "Then": 2, "shown": 2, "confirm": 2, "showmenu_app_quit": 2, "_view_": 2, "theme": 2, "showmenu_view_them": 2, "rememberthem": 2, "showstatusbar": 2, "showstatus_fp": 2, "store": [2, 4], "rememberstatusbarset": 2, "fullscreenwindow_margintopleft": 2, "fullscreenwindow_marginbottomright": 2, "margin": 2, "corner": 2, "tweakedthem": 2, "imguithem": 2, "imguitweakedthem": 2, "queri": 2, "availablethem": 2, "clearcolor": 2, "altern": 2, "what": 2, "whether": 2, "No": 2, "debug": 2, "branch": 2, "switch": 2, "modif": 2, "explan": 2, "youtub": 2, "minut": [2, 3, 4], "And": 2, "space": 2, "dockingsplit": 2, "dockablewindow": 2, "along": 2, "lambda": 2, "instanti": 2, "createdefaultdockingsplit": 2, "we": 2, "maindockspac": 2, "___________________________________________": 2, "miscspac": 2, "25": 2, "preexist": 2, "splitmainmisc": 2, "initialdock": 2, "newdock": 2, "direct": 2, "imguidir_down": 2, "25f": 2, "occupi": 2, "column": 2, "splitmaincommand": 2, "commandspac": 2, "imguidir_left": 2, "createdockablewindow": 2, "appstat": 2, "panel": 2, "commandgui": 2, "commandswindow": 2, "label": [2, 3], "dockspacenam": 2, "log": 2, "logger": 2, "logswindow": 2, "loggui": 2, "final": 2, "wai": 2, "appli": 2, "partit": 2, "_dockspacenam": 2, "aka": 2, "At": 2, "imguidir_": 2, "imguidir_right": 2, "25f_": 2, "nodeflag": 2, "imguidocknodeflags_": 2, "tab": 2, "imguidocknodeflag": 2, "imguidocknodeflags_non": 2, "constructor": 2, "initialdock_": 2, "newdock_": 2, "direction_": 2, "ratio_": 2, "nodeflags_": 2, "repres": 2, "_string_": 2, "isvis": 2, "indic": 2, "rememberisvis": 2, "canbeclos": 2, "callbeginend": 2, "begin": 2, "end": 2, "yourself": 2, "includeinviewmenu": 2, "imguiwindowflag": 2, "_imguiwindowflag": 2, "imguiwindowflags_": 2, "focu": [2, 4], "focuswindowatnextfram": 2, "focus": 2, "_imvec2": 2, "unus": 2, "windowsizecondit": 2, "_imguicond": 2, "imguicond_firstuseever_": 2, "imguicond": 2, "imguicond_firstuseev": 2, "windowpo": 2, "windowposit": 2, "windowposcondit": 2, "windowpositioncondit": 2, "label_": 2, "dockspacename_": 2, "guifunction_": 2, "isvisible_": 2, "canbeclosed_": 2, "concern": 2, "togeth": [2, 3], "maindockspacenodeflag": 2, "_imguidocknodeflag": 2, "imguidocknodeflags_passthrucentralnode_": 2, "inherit": 2, "children": 2, "imguidocknodeflags_passthrucentralnod": 2, "layoutcondit": 2, "dockinglayoutcondit": 2, "firstuseever_": 2, "firstuseev": 2, "applicationstart": 2, "reappli": 2, "never": 2, "layoutreset": 2, "reset": 2, "drop": 2, "manual": [2, 3], "helper": [2, 3], "method": 2, "dockablewindowofnam": 2, "focusdockablewindow": 2, "windownam": 2, "imguiid": 2, "dockspaceidfromnam": 2, "reliabl": 2, "himself": 2, "behavior": 2, "find": [2, 4], "interest": 2, "rendering_met": 2, "rendering_vulkan": 2, "rendering_dx12": 2, "glfwwindow": 2, "sdlwindow": 2, "sdl_window": 2, "sdlglcontext": 2, "glcontext": 2, "sdl_glcontext": 2, "hasedrsupport": 2, "check": 2, "extend": [2, 4], "edr": 2, "abil": 2, "reproduc": 2, "intens": 2, "exceed": 2, "leverag": 2, "floatbuff": 2, "requestfloatbuff": 2, "request": 2, "framebuff": 2, "emb": [3, 4], "configur": 3, "build": 3, "is_directori": 3, "cmake_current_source_dir": 3, "simpli": 3, "fetch": 3, "NOT": 3, "messag": 3, "fetchcont": 3, "fetchcontent_declar": 3, "git_repositori": 3, "git_tag": 3, "fetchcontent_makeavail": 3, "hello_world": [3, 4], "similar": 3, "add_execut": 3, "app_nam": 3, "file1": 3, "file2": 3, "Or": 3, "assets_loc": 3, "search": 3, "featur": 3, "glad": 3, "perform": [3, 4], "anyth": 3, "besid": 3, "app_set": 3, "gener": 3, "deploi": 3, "droidsan": 3, "ttf": 3, "webfont": 3, "imgui": 3, "applic": [3, 4], "squar": 3, "256x256": 3, "convert": 3, "format": 3, "info": 3, "plist": 3, "resourc": 3, "storyboard": 3, "launchscreen": 3, "androidmanifest": 3, "xml": 3, "manifest": 3, "miss": 3, "re": 3, "mipmap": 3, "xxxhdpi": 3, "studio": 3, "click": 3, "imag": 3, "shell": 3, "html": 3, "favicon": 3, "program": [3, 4], "bye": 3, "action": 3, "globe": 3, "great": 3, "learn": 3, "design": 4, "multiplatform": 4, "flexibl": 4, "suit": 4, "complex": 4, "well": 4, "prototyp": 4, "allow": 4, "creativ": 4, "util": 4, "seamlessli": 4, "setup": 4, "cmake": 4, "effortless": 4, "univers": 4, "power": 4, "optim": 4, "idl": 4, "scale": 4, "ui": 4, "enhanc": 4, "dockabl": 4, "autos": 4, "extens": 4, "emoji": 4, "integr": 4, "minimum": 4, "7": 4, "6": 4, "hello_imgui_add_app": 4, "much": 4, "onlin": 4, "tutori": 4, "demonstr": 4, "fledg": 4, "implot": 4, "node": 4, "imfiledialog": 4, "imguicolortextedit": 4, "imgui_md": 4, "complet": 4, "mit": 4, "omar": 4, "cornut": 4, "portion": 4, "govern": 4, "softwar": 4, "lunasvg": 4, "zlib": 4, "libpng": 4, "qualiti": 4, "welcom": 4, "mainten": 4, "consider": 4, "effort": 4, "valuabl": 4, "commerci": 4, "enterpris": 4, "research": 4, "pleas": 4, "donat": 4, "thank": 4}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"build": 0, "instruct": 0, "hello": [0, 1, 4], "imgui": [0, 1, 2, 4], "its": 0, "demo": [0, 4], "your": 0, "applic": [0, 1, 2], "us": 0, "avail": 0, "backend": [0, 2], "depend": 0, "cmake": [0, 3], "option": [0, 2], "os": [0, 1], "specif": 0, "window": [0, 2], "io": 0, "emscripten": 0, "maco": 0, "android": 0, "api": 1, "run": 1, "place": 1, "widget": 1, "dpi": 1, "awar": 1, "wai": 1, "load": 1, "font": 1, "asset": [1, 3], "data": 1, "buffer": 1, "get": [1, 3], "path": 1, "displai": 1, "imag": 1, "from": 1, "util": [1, 3], "function": 1, "switch": 1, "between": 1, "sever": 1, "layout": [1, 4], "ini": 1, "set": 1, "locat": 1, "store": 1, "user": 1, "file": 1, "custom": [1, 3, 4], "menu": 1, "handl": 1, "screen": 1, "high": 1, "detail": 1, "differ": 1, "scale": 1, "paramet": 2, "runnerparam": 2, "simpl": 2, "runner": 2, "param": 2, "full": 2, "fp": 2, "idl": 2, "callback": 2, "type": 2, "runnercallback": 2, "edg": 2, "toolbar": 2, "mobilecallback": 2, "appwindowparam": 2, "windowgeometri": 2, "imguiwindowparam": 2, "default": 2, "dock": 2, "exampl": 2, "usag": 2, "split": 2, "dockabl": 2, "pointer": 2, "render": 2, "start": 3, "starter": [3, 4], "templat": [3, 4], "hello_imgui_add_app": 3, "app": [3, 4], "immedi": 3, "gui": 3, "mode": 3, "featur": 4, "real": 4, "world": 4, "motto": 4, "advanc": 4, "3d": 4, "background": 4, "manual": 4, "rpn": 4, "calcul": 4, "dear": 4, "bundl": 4, "theme": 4, "tweak": 4, "about": 4, "credit": 4, "licens": 4, "contribut": 4, "support": 4, "project": 4}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file +Search.setIndex({"docnames": ["build", "doc_api", "doc_params", "get_started", "intro"], "filenames": ["build.md", "doc_api.md", "doc_params.md", "get_started.md", "intro.md"], "titles": ["Build instructions", "API", "Application parameters", "Get started", "Hello ImGui"], "terms": {"On": [0, 1, 2], "almost": [0, 1], "all": [0, 1, 2, 3, 4], "platform": [0, 1, 2, 3, 4], "helloimgui": [0, 1, 2, 3, 4], "can": [0, 1, 2, 3, 4], "compil": [0, 2], "simpl": [0, 1, 3, 4], "command": [0, 2], "bash": 0, "git": [0, 3], "clone": [0, 3], "http": [0, 1, 2, 3], "github": [0, 1, 2, 3], "com": [0, 1, 2, 3], "pthom": [0, 1, 2, 3], "hello_imgui": [0, 1, 2, 3, 4], "cd": 0, "mkdir": 0, "make": [0, 1, 2, 4], "j": 0, "thi": [0, 1, 2, 3, 4], "librari": [0, 1, 2, 3, 4], "which": [0, 1, 2, 3, 4], "locat": [0, 2, 3], "bin": 0, "folder": [0, 1, 2, 3], "To": [0, 2], "an": [0, 1, 2, 3, 4], "you": [0, 1, 2, 3, 4], "either": [0, 2], "place": [0, 2, 3], "insid": [0, 1, 2], "project": [0, 3], "exampl": [0, 1, 3], "submodul": 0, "download": [0, 3], "built": [0, 3, 4], "automat": [0, 1, 2, 3, 4], "In": [0, 1, 2], "ani": [0, 2, 3, 4], "case": [0, 1, 2], "follow": [0, 1, 2], "given": [0, 1, 2], "starter": 0, "templat": 0, "see": [0, 1, 2, 3, 4], "document": [0, 1, 2], "below": [0, 1, 2], "extract": [0, 3], "from": [0, 2, 3], "cmakelist": [0, 1, 3], "txt": [0, 1, 2, 3], "combin": 0, "need": [0, 1, 2, 3], "least": [0, 3], "one": [0, 1, 2, 3], "them": [0, 1, 2, 3], "If": [0, 1, 2, 4], "specifi": [0, 1, 2], "helloimgui_use_glfw_opengl3": 0, "linux": [0, 1, 2, 4], "helloimgui_use_sdl_opengl3": 0, "note": [0, 1, 2], "onli": [0, 1, 2], "render": [0, 4], "time": [0, 2, 3], "opengl3": [0, 4], "metal": [0, 2, 4], "vulkan": [0, 2, 4], "mai": [0, 1, 2], "select": [0, 1, 2], "multipl": [0, 1, 2, 4], "both": [0, 2], "sdl": [0, 1, 2, 4], "glfw3": [0, 4], "ar": [0, 1, 2, 4], "easier": 0, "recommend": [0, 1, 3], "especi": [0, 4], "beginn": 0, "standard": [0, 1, 2], "off": 0, "sdl2": [0, 4], "advanc": [0, 1, 2], "experienc": 0, "user": [0, 2, 4], "directx11": 0, "do": [0, 1, 2, 3], "work": [0, 1, 2, 4], "custom": [0, 2], "code": [0, 2, 3, 4], "src": [0, 1, 2], "intern": [0, 1, 2], "backend_impl": [0, 2], "rendering_xxxx": 0, "h": [0, 1, 2, 3, 4], "cpp": [0, 1, 2, 3, 4], "those": [0, 2], "probabl": 0, "impli": 0, "want": [0, 1, 2], "heavili": 0, "appl": [0, 3], "helloimgui_use_glfw_met": 0, "helloimgui_use_sdl_met": 0, "helloimgui_use_glfw_vulkan": 0, "helloimgui_use_sdl_vulkan": 0, "directx": [0, 2, 4], "11": 0, "known": 0, "issu": 0, "rendering_dx11": [0, 2], "helloimgui_use_sdl_directx11": 0, "helloimgui_use_glfw_directx11": 0, "experiment": 0, "directx12": 0, "wa": [0, 1, 2], "test": [0, 1, 2, 4], "although": [0, 1], "doe": 0, "helloimgui_use_sdl_directx12": 0, "order": [0, 1, 2], "own": [0, 2, 3], "afor": 0, "mention": [0, 2], "ON": [0, 2], "freetyp": [0, 1, 4], "font": [0, 2, 3, 4], "helloimgui_use_freetyp": 0, "default": [0, 1, 3], "provid": [0, 1, 2, 3, 4], "version": [0, 1], "conveni": [0, 1], "disabl": [0, 2], "prefer": [0, 1, 2], "system": [0, 1], "enabl": [0, 1, 2], "other": [0, 1, 2], "helloimgui_download_glfw_if_need": 0, "helloimgui_download_sdl_if_need": 0, "helloimgui_use_sdl_xxxx": 0, "helloimgui_use_glfw_xxxx": 0, "were": [0, 2], "ad": [0, 2, 3], "target": [0, 2, 3], "add_subdirectori": [0, 3], "extern": [0, 3], "glfw": [0, 1, 2, 4], "find_packag": 0, "fail": 0, "found": [0, 2, 3], "path": [0, 2, 3], "cmake_prefix_path": 0, "instead": [0, 1], "helloimgui_download_freetyp": 0, "also": [0, 2], "forcibl": 0, "helloimgui_freetype_stat": 0, "becaus": [0, 1], "ubuntu": 0, "instal": [0, 1], "sudo": 0, "apt": 0, "libglfw3": 0, "dev": 0, "libsdl2": 0, "libfreetyp": 0, "cmake_system_nam": 0, "match": [0, 4], "set": [0, 2, 3, 4], "autodownload_default": 0, "els": 0, "endif": [0, 2, 3], "helloimgui_download_freetype_if_need": 0, "forc": 0, "static": [0, 1, 3], "link": [0, 3], "python": [0, 4], "bind": [0, 4], "The": [0, 1, 2, 3, 4], "file": [0, 3], "most": [0, 1, 2], "import": [0, 2], "except": [0, 1, 2, 3], "mingw": 0, "text": [0, 1, 2, 3, 4], "freetype_default": 0, "engin": [0, 1, 2, 4], "helloimgui_with_test_engin": 0, "under": [0, 1, 2, 4], "winmain": 0, "function": [0, 2, 3], "call": [0, 1, 2], "main": [0, 1, 2, 3, 4], "expect": 0, "signatur": [0, 1], "int": [0, 1, 2, 3, 4], "char": [0, 1, 3, 4], "get": [0, 4], "linker": 0, "error": [0, 1], "via": [0, 2], "pass": 0, "dhelloimgui_win32_auto_winmain": 0, "line": [0, 1, 3, 4], "write": [0, 4], "warn": [0, 2], "defin": [0, 2, 4], "sdl_main_handl": 0, "befor": [0, 1, 2], "inclus": [0, 1], "refrain": 0, "sdl_main": 0, "opengl": [0, 2, 3], "es3": 0, "current": [0, 1, 2], "toolchain": 0, "hello_imgui_cmak": 0, "asm": 0, "js": [0, 3], "webassembl": 0, "llvm": 0, "let": [0, 1, 2], "run": [0, 2, 3, 4], "c": [0, 1, 4], "web": 0, "nativ": [0, 1, 2], "speed": [0, 2], "without": 0, "plugin": 0, "server": 0, "basic": 0, "easi": [0, 1, 2, 4], "usen": 0, "launch": [0, 1], "like": [0, 2], "build_emscripten": 0, "python3": 0, "m": 0, "open": [0, 2, 4], "browser": [0, 2], "navig": 0, "localhost": 0, "8000": 0, "regular": 0, "termin": [0, 2], "execut": [0, 1, 2], "app": [0, 1, 2], "bundl": [0, 1, 3], "dhelloimgui_macos_no_bundl": 0, "opengles3": 0, "extrem": 1, "us": [1, 2, 3, 4], "three": [1, 2], "overload": 1, "singl": 1, "runnerparam": 1, "full": [1, 4], "customiz": 1, "whose": [1, 2], "param": 1, "gui": [1, 2, 4], "const": [1, 2], "simplerunnerparam": [1, 2], "simpler": [1, 2], "guifunct": [1, 2, 3], "windowtitl": [1, 2], "windows": [1, 2], "windowsizeauto": [1, 2], "fals": [1, 2], "restorelastwindowgeometri": 1, "fpsidl": [1, 2], "10": 1, "window": [1, 4], "titl": [1, 2, 4], "etc": [1, 2, 3, 4], "highli": 1, "mani": 1, "option": [1, 3], "fill": [1, 2], "element": 1, "struct": [1, 2], "getrunnerparam": [1, 2, 3], "return": [1, 2, 3], "special": 1, "care": 1, "must": [1, 2], "taken": [1, 2], "correctli": 1, "recent": 1, "laptop": 1, "imvec2": [1, 2], "fix": 1, "valu": [1, 2], "alwai": [1, 2], "bad": 1, "idea": 1, "intend": [1, 2], "your": [1, 2, 3, 4], "otherwis": 1, "might": [1, 2], "misplac": 1, "too": 1, "small": [1, 2], "should": [1, 2, 3, 4], "rel": [1, 2, 3], "size": [1, 2, 4], "done": [1, 2], "em": [1, 2], "css": 1, "unit": [1, 2], "__helloimgui": 1, "emtovec2": [1, 2], "__": 1, "independ": [1, 2], "i": [1, 2], "e": [1, 2], "float": [1, 2], "x": 1, "y": 1, "v": 1, "emsiz": 1, "visibl": [1, 2], "nbline": 1, "correspond": [1, 2], "hello_imgui_font": 1, "when": [1, 2, 4], "loadfont": 1, "fontfilenam": 1, "fontsiz": 1, "fontloadingparam": 1, "paramet": 1, "avail": [1, 2, 4], "color": [1, 2, 4], "merg": 1, "rang": [1, 2], "true": [1, 2, 3, 4], "adjust": 1, "account": [1, 2], "highdpi": 1, "bool": [1, 2], "adjustsizetodpi": 1, "glyph": 1, "usefullglyphrang": 1, "fontconfig": 1, "glyphrang": 1, "oversampleh": 1, "oversamplev": 1, "1": [1, 2, 3, 4], "save": [1, 2, 4], "memori": [1, 2], "reducememoryusageiffullglyphrang": 1, "last": [1, 2], "mergetolastfont": 1, "requir": [1, 2, 3, 4], "imgui_enable_freetyp": 1, "loadcolor": 1, "filesystem": 1, "insideasset": 1, "empti": [1, 2], "interv": 1, "bound": 1, "translat": 1, "imwchar": 1, "std": [1, 2], "vector": [1, 2], "imwcharpair": 1, "config": [1, 2], "imfontconfig": 1, "fontawesom": [1, 3], "icon": [1, 3, 4], "deprec": 1, "two": [1, 2], "step": 1, "mergefontawesom": 1, "fontconfigfontawesom": 1, "getio": 1, "addfontfromfilettf": 1, "spare": 1, "headach": 1, "try": [1, 2], "consist": 1, "across": [1, 4], "imfont": 1, "string": [1, 2], "hello_imgui_asset": 1, "assetfiledata": 1, "void": [1, 2], "nullptr": [1, 2], "size_t": 1, "datas": 1, "0": [1, 2, 3], "loadassetfiledata": 1, "assetpath": 1, "Will": [1, 2], "entir": 1, "includ": [1, 2, 3, 4], "android": [1, 2, 3, 4], "have": [1, 2], "freeassetfiledata": 1, "free": [1, 2, 4], "addfontfrommemoryttf": 1, "take": 1, "ownership": 1, "assetfilefullpath": 1, "assetrelativefilenam": 1, "For": [1, 2], "compat": 1, "whenev": 1, "possibl": [1, 2], "io": [1, 2, 3, 4], "give": [1, 2], "privat": 1, "xxx": 1, "emscripten": [1, 2, 3, 4], "virtual": 1, "implement": [1, 2], "throw": 1, "compress": 1, "t": 1, "oper": 1, "assertifnotfound": 1, "exist": 1, "assetexist": 1, "mobil": [1, 2, 3, 4], "setassetsfold": 1, "image_from_asset": 1, "first": [1, 2], "cach": [1, 2], "thei": [1, 2], "freed": 1, "just": [1, 2], "exit": [1, 2], "structur": 1, "my_imag": 1, "jpg": [1, 3], "my_app": 1, "imagefromasset": [1, 3], "uv0": 1, "uv1": 1, "imvec4": [1, 2], "tint_col": 1, "border_col": 1, "imagebuttonfromasset": 1, "button": [1, 2, 3], "frame_pad": 1, "bg_col": 1, "imtextureid": 1, "imtextureidfromasset": 1, "textur": 1, "id": [1, 2], "imagesizefromasset": 1, "imageproportionals": 1, "askeds": 1, "images": 1, "dimens": 1, "comput": [1, 2], "keep": [1, 2], "aspect": [1, 4], "ratio": [1, 2], "fit": 1, "exactli": 1, "thu": 1, "potenti": 1, "chang": [1, 2], "so": [1, 2], "don": 1, "directli": 1, "framer": 1, "durationformean": 1, "5": [1, 2, 3, 4], "sinc": [1, 2], "choos": [1, 2], "durat": 1, "calcul": 1, "mean": [1, 3], "fp": [1, 4], "lead": 1, "accur": 1, "each": [1, 2, 3], "frame": [1, 2], "5f": [1, 2], "imguitestengin": [1, 2], "getimguitestengin": 1, "pointer": 1, "global": 1, "instanc": 1, "initi": [1, 2], "iif": 1, "activ": 1, "demo": [1, 2], "tree": 1, "master": [1, 2, 3], "hello_imgui_demo": [1, 2], "hello_imgui_demodock": 1, "switchlayout": 1, "layoutnam": [1, 2], "alternativedockinglayout": [1, 2], "currentlayoutnam": 1, "name": [1, 2, 3, 4], "inifoldertyp": [1, 2], "enum": [1, 2], "describl": 1, "where": [1, 2], "base": [1, 2, 3, 4], "inifolderloc": 1, "contain": [1, 2], "member": [1, 2], "currentfold": [1, 2], "inifilenam": [1, 2], "inifilename_useappwindowtitl": [1, 2], "deriv": [1, 2], "appwindowparam": 1, "subfold": [1, 2, 3], "creat": [1, 2], "class": [1, 2], "develop": [1, 4], "product": 1, "appuserconfigfold": [1, 2], "appdata": [1, 2], "usernam": 1, "roam": [1, 2], "support": [1, 2], "maco": [1, 2, 3, 4], "easili": [1, 4], "access": 1, "appexecutablefold": [1, 2], "shortcut": 1, "homefold": [1, 2], "home": [1, 2], "documentsfold": [1, 2], "tempfold": [1, 2], "temp": 1, "inisettingsloc": 1, "hasiniset": 1, "deleteiniset": 1, "delet": 1, "addit": [1, 2, 3, 4], "larg": 1, "quantiti": 1, "sparingli": 1, "saveuserpref": 1, "userprefnam": 1, "userprefcont": 1, "shall": [1, 2], "callback": 1, "beforeexit": [1, 2], "loaduserpref": 1, "postinit": [1, 2], "statu": [1, 2, 3], "bar": [1, 2], "imguiwindowparam": 1, "showmenubar": [1, 2], "showmenu_app": [1, 2], "showmenu_view": [1, 2], "fulli": [1, 2], "showmenu": [1, 2], "showviewmenu": [1, 2], "showappmenu": [1, 2], "show": [1, 2, 3, 4], "view": [1, 2], "dock": [1, 4], "quit": [1, 2], "item": [1, 2], "part": [1, 2], "relev": 1, "more": [1, 2, 4], "usag": [1, 3, 4], "worri": 1, "about": [1, 2, 3], "s": [1, 2, 3], "consid": [1, 4], "physic": [1, 2], "pixel": [1, 2], "resolut": [1, 2, 3], "3600x2000": 1, "factor": 1, "200": 1, "look": 1, "depend": [1, 2], "seen": 1, "1800x1000": 1, "resiz": [1, 2, 4], "itself": 1, "By": [1, 2, 3], "backend": [1, 4], "normal": 1, "howev": 1, "correct": 1, "thing": 1, "know": [1, 2], "fontglobalscal": 1, "rescal": 1, "bet": 1, "retina": 1, "imguidefaultfontglobalscal": 1, "dpifontloadingfactor": 1, "multipli": 1, "dpiwindowsizefactor": 1, "f": [1, 2], "equal": 1, "currentscreenpixelperinch": 1, "96": [1, 2], "diagram": 2, "summar": 2, "explain": 2, "detail": 2, "later": 2, "runner_param": 2, "adapt": 2, "suffici": 2, "mygui": 2, "hello": [2, 3], "world": [2, 3], "appshallexit": [2, 3], "auto": [2, 3, 4], "_voidfunction_": 2, "voidfunct": 2, "emptyvoidfunct": 2, "_string": 2, "_": 2, "_bool": 2, "false_": 2, "its": [2, 3, 4], "widget": [2, 3, 4], "windowrestorepreviousgeometri": 2, "true_": 2, "restor": [2, 4], "posit": [2, 4], "between": 2, "_screensiz": 2, "800": 2, "600": 2, "screensiz": 2, "defaultwindows": 2, "_float": 2, "9_": 2, "9": 2, "enableidl": 2, "startup": 2, "torunnerparam": 2, "_see": 2, "runner_callback": 2, "h_": 2, "showgui": 2, "menu": 2, "app_window_param": 2, "imgui_window_param": 2, "providefullscreenwindow": 2, "dockingparam": 2, "docking_param": 2, "content": 2, "layout": 2, "_vector": 2, "empty_": 2, "list": [2, 4], "sever": 2, "rememberselectedalternativelayout": 2, "rememb": 2, "backendpoint": 2, "backend_point": 2, "A": [2, 3], "These": 2, "start": [2, 4], "backendtyp": 2, "_enum": 2, "firstavailable_": 2, "firstavail": 2, "rendererbackendopt": 2, "renderer_backend_opt": 2, "_inifoldertyp": 2, "currentfolder_": 2, "ini": 2, "filenam": 2, "Its": [2, 4], "dure": [2, 3], "_note": 2, "ha": 2, "effect": 2, "devic": 2, "_fpsidling_": 2, "misc": 2, "useimguitestengin": 2, "dear": [2, 3], "autom": [2, 4], "ocornut": 2, "imgui_test_engin": 2, "dhelloimgui_with_test_engin": 2, "hello_imgui_demo_test_engin": 2, "licens": 2, "subject": 2, "specif": [2, 3, 4], "blob": 2, "tl": 2, "dr": 2, "individu": 2, "educ": 2, "sourc": [2, 4], "busi": 2, "paid": 2, "larger": 2, "emscripten_fp": 2, "_int": 2, "0_": 2, "refresh": 2, "rate": 2, "stand": 2, "decid": 2, "consum": 2, "lot": [2, 4], "cpu": [2, 4], "updat": 2, "screen": [2, 4], "veri": 2, "frequent": 2, "reduc": [2, 4], "interact": [2, 3, 4], "detect": 2, "ok": 2, "displai": [2, 3], "anim": 2, "live": 2, "video": [2, 4], "ask": 2, "faster": 2, "increas": 2, "maximum": 2, "dynam": 2, "isidl": 2, "rememberenableidl": 2, "voidfunctionpoint": 2, "hold": 2, "inlin": 2, "sequencefunct": 2, "f1": 2, "f2": 2, "sequenc": 2, "anyeventcallback": 2, "backendev": 2, "emptyeventcallback": 2, "add": [2, 3, 4], "beginmenu": 2, "menuitem": 2, "endmenu": 2, "beginmenubar": 2, "endmenubar": 2, "some": 2, "_showmenubar": 2, "showmenu_app_quitabout": 2, "showmenu_view_": 2, "showappmenuitem": 2, "showstatu": 2, "height": 2, "30": 2, "samelin": 2, "edgestoolbar": 2, "dict": 2, "map": 2, "edgetoolbartyp": 2, "edgetoolbar": 2, "addedgetoolbar": 2, "edgetoolbaropt": 2, "postinit_addplatformbackendcallback": 2, "here": [2, 3, 4], "onc": 2, "after": 2, "init": 2, "everyth": 2, "enqueuepostinit": 2, "modifi": 2, "append": 2, "new": [2, 3], "loadadditionalfont": 2, "_loaddefaultfont_withfontawesom": 2, "readi": 2, "load": [2, 4], "_loaddefaultfont_withfontawesome_": 2, "copi": 2, "loaddefaultfont_withfontawesom": 2, "asset": [2, 4], "revert": 2, "embed": [2, 4], "imguidefaultset": 2, "loaddefaultfont_withfontawesomeicon": 2, "setupimguiconfig": 2, "_imguidefaultset": 2, "setupdefaultimguiconfig": 2, "gamepad": 2, "setupimguistyl": 2, "style": 2, "setupdefaultimguistyl": 2, "registertest": 2, "definit": 2, "registertestscal": 2, "again": 2, "still": 2, "enqueuebeforeexit": 2, "beforeexit_postcleanup": 2, "been": 2, "stop": 2, "loop": 2, "prenewfram": 2, "newfram": 2, "It": [2, 3], "good": 2, "beforeimguirend": 2, "endfram": 2, "afterswap": 2, "swap": 2, "custombackground": 2, "background": 2, "clear": 2, "backgroundcolor": 2, "control": 2, "over": 2, "drawn": 2, "behind": 2, "3d": 2, "mesh": 2, "editor": [2, 4], "game": 2, "top": [2, 4], "anybackendeventcallback": 2, "event": [2, 3], "_onli": 2, "sdl_event": 2, "handl": [2, 3, 4], "process": 2, "further": 2, "regist": 2, "ifdef": 2, "helloimgui_mobiledevic": 2, "winrt": 2, "present": 2, "dictionari": 2, "per": 2, "bottom": 2, "left": 2, "right": [2, 3], "width": 2, "dpi": [2, 4], "awar": 2, "sizeem": 2, "2": [2, 3], "pad": 2, "windowpaddingem": 2, "3f": 2, "windowbg": 2, "w": 2, "non": 2, "showtoolbar": 2, "alledgetoolbartyp": 2, "edgetoolbartypenam": 2, "differ": [2, 3], "usual": 2, "desktop": [2, 3], "quickli": 2, "often": 2, "os": 2, "immedi": 2, "respons": 2, "shortli": 2, "send": 2, "appropri": 2, "put": 2, "paus": 2, "ondestroi": 2, "being": 2, "onlowmemori": 2, "_voidfunct": 2, "low": 2, "onpaus": 2, "enter": 2, "onresum": 2, "came": 2, "foreground": 2, "now": 2, "twice": 2, "consecut": 2, "raw": 2, "githubusercont": 2, "doc_src": 2, "hello_imgui_diagram": 2, "png": [2, 3], "_windowgeometry_": 2, "precis": 2, "geometri": [2, 4], "monitor": 2, "fake": 2, "restorepreviousgeometri": 2, "written": 2, "imgui_app_window": 2, "creation": 2, "hidden": 2, "hide": 2, "cannot": 2, "borderless": [2, 4], "border": 2, "borderlessmov": 2, "movabl": [2, 4], "drag": 2, "zone": 2, "mous": 2, "borderlessresiz": 2, "borderlessclos": 2, "close": 2, "borderlesshighlightcolor": 2, "highlight": 2, "move": 2, "highlightcolor": 2, "getcoloru32": 2, "imguicol_titlebgact": 2, "6f": 2, "2f": 2, "4f": 2, "notch": 2, "edgeinset": 2, "_edgeinsets_": 2, "out": 2, "iphon": 2, "inset": 2, "handleedgeinset": 2, "defaultimguiwindowtyp": 2, "nodefaultwindow": 2, "few": 2, "typic": 2, "4": 2, "fullscreenmod": 2, "nofullscreen": 2, "sizeauto": 2, "measur": 2, "As": 2, "consequ": 2, "1st": 2, "2nd": 2, "windowsizest": 2, "_windowsizest": 2, "standard_": 2, "state": 2, "minim": [2, 4], "maxim": 2, "windowsizemeasuremod": 2, "_windowsizemeasuremode_": 2, "relativeto96ppi": 2, "how": [2, 3, 4], "result": 2, "millimet": 2, "densiti": 2, "express": 2, "800x600": 2, "coord": 2, "1600x120": 2, "192": 2, "With": [2, 3], "screencoord": 2, "coordin": 2, "real": 2, "high": [2, 4], "positionmod": 2, "mode": [2, 4], "osdefault": 2, "monitorcent": 2, "fromcoord": 2, "windowpositionmod": 2, "40": 2, "screenposit": 2, "defaultscreenposit": 2, "monitoridx": 2, "index": 2, "fullscreen": 2, "fullscreendesktopresolut": 2, "fullmonitorworkarea": 2, "resizeappwindowatnextfram": 2, "_bool_": 2, "flag": 2, "point": [2, 3], "next": 2, "subsequ": 2, "inner": 2, "affect": 2, "appwindowsparam": 2, "z": 2, "providefullscreendockspac": 2, "dockspac": 2, "enableviewport": 2, "viewport": 2, "outsid": 2, "configwindowsmovefromtitlebaronli": 2, "menuapptitl": 2, "Then": 2, "shown": 2, "confirm": 2, "showmenu_app_quit": 2, "_view_": 2, "theme": 2, "showmenu_view_them": 2, "rememberthem": 2, "showstatusbar": 2, "showstatus_fp": 2, "store": [2, 4], "rememberstatusbarset": 2, "fullscreenwindow_margintopleft": 2, "fullscreenwindow_marginbottomright": 2, "margin": 2, "corner": 2, "tweakedthem": 2, "imguithem": 2, "imguitweakedthem": 2, "queri": 2, "availablethem": 2, "clearcolor": 2, "altern": 2, "what": 2, "whether": 2, "No": 2, "debug": 2, "branch": 2, "switch": 2, "modif": 2, "explan": 2, "youtub": 2, "minut": [2, 3, 4], "And": 2, "space": 2, "dockingsplit": 2, "dockablewindow": 2, "along": 2, "lambda": 2, "instanti": 2, "createdefaultdockingsplit": 2, "we": 2, "maindockspac": 2, "___________________________________________": 2, "miscspac": 2, "25": 2, "preexist": 2, "splitmainmisc": 2, "initialdock": 2, "newdock": 2, "direct": 2, "imguidir_down": 2, "25f": 2, "occupi": 2, "column": 2, "splitmaincommand": 2, "commandspac": 2, "imguidir_left": 2, "createdockablewindow": 2, "appstat": 2, "panel": 2, "commandgui": 2, "commandswindow": 2, "label": [2, 3], "dockspacenam": 2, "log": 2, "logger": 2, "logswindow": 2, "loggui": 2, "final": 2, "wai": 2, "appli": 2, "partit": 2, "_dockspacenam": 2, "aka": 2, "At": 2, "imguidir_": 2, "imguidir_right": 2, "25f_": 2, "nodeflag": 2, "imguidocknodeflags_": 2, "tab": 2, "imguidocknodeflag": 2, "imguidocknodeflags_non": 2, "constructor": 2, "initialdock_": 2, "newdock_": 2, "direction_": 2, "ratio_": 2, "nodeflags_": 2, "repres": 2, "_string_": 2, "isvis": 2, "indic": 2, "rememberisvis": 2, "canbeclos": 2, "callbeginend": 2, "begin": 2, "end": 2, "yourself": 2, "includeinviewmenu": 2, "imguiwindowflag": 2, "_imguiwindowflag": 2, "imguiwindowflags_": 2, "focu": [2, 4], "focuswindowatnextfram": 2, "focus": 2, "_imvec2": 2, "unus": 2, "windowsizecondit": 2, "_imguicond": 2, "imguicond_firstuseever_": 2, "imguicond": 2, "imguicond_firstuseev": 2, "windowpo": 2, "windowposit": 2, "windowposcondit": 2, "windowpositioncondit": 2, "label_": 2, "dockspacename_": 2, "guifunction_": 2, "isvisible_": 2, "canbeclosed_": 2, "concern": 2, "togeth": [2, 3], "maindockspacenodeflag": 2, "_imguidocknodeflag": 2, "imguidocknodeflags_passthrucentralnode_": 2, "inherit": 2, "children": 2, "imguidocknodeflags_passthrucentralnod": 2, "layoutcondit": 2, "dockinglayoutcondit": 2, "firstuseever_": 2, "firstuseev": 2, "applicationstart": 2, "reappli": 2, "never": 2, "layoutreset": 2, "reset": 2, "drop": 2, "manual": [2, 3], "helper": [2, 3], "method": 2, "dockablewindowofnam": 2, "focusdockablewindow": 2, "windownam": 2, "imguiid": 2, "dockspaceidfromnam": 2, "reliabl": 2, "himself": 2, "behavior": 2, "find": [2, 4], "interest": 2, "rendering_met": 2, "rendering_vulkan": 2, "rendering_dx12": 2, "glfwwindow": 2, "sdlwindow": 2, "sdl_window": 2, "sdlglcontext": 2, "glcontext": 2, "sdl_glcontext": 2, "hasedrsupport": 2, "check": 2, "extend": [2, 4], "edr": 2, "abil": 2, "reproduc": 2, "intens": 2, "exceed": 2, "leverag": 2, "floatbuff": 2, "requestfloatbuff": 2, "request": 2, "framebuff": 2, "emb": [3, 4], "configur": 3, "build": 3, "is_directori": 3, "cmake_current_source_dir": 3, "simpli": 3, "fetch": 3, "NOT": 3, "messag": 3, "fetchcont": 3, "fetchcontent_declar": 3, "git_repositori": 3, "git_tag": 3, "fetchcontent_makeavail": 3, "hello_world": [3, 4], "similar": 3, "add_execut": 3, "app_nam": 3, "file1": 3, "file2": 3, "Or": 3, "assets_loc": 3, "search": 3, "featur": 3, "glad": 3, "perform": [3, 4], "anyth": 3, "besid": 3, "app_set": 3, "gener": 3, "deploi": 3, "droidsan": 3, "ttf": 3, "webfont": 3, "imgui": 3, "applic": [3, 4], "squar": 3, "256x256": 3, "convert": 3, "format": 3, "info": 3, "plist": 3, "resourc": 3, "storyboard": 3, "launchscreen": 3, "androidmanifest": 3, "xml": 3, "manifest": 3, "miss": 3, "re": 3, "mipmap": 3, "xxxhdpi": 3, "studio": 3, "click": 3, "imag": 3, "shell": 3, "html": 3, "favicon": 3, "program": [3, 4], "bye": 3, "action": 3, "globe": 3, "great": 3, "learn": 3, "design": 4, "multiplatform": 4, "flexibl": 4, "suit": 4, "complex": 4, "well": 4, "prototyp": 4, "allow": 4, "creativ": 4, "util": 4, "seamlessli": 4, "setup": 4, "cmake": 4, "effortless": 4, "univers": 4, "power": 4, "optim": 4, "idl": 4, "scale": 4, "ui": 4, "enhanc": 4, "dockabl": 4, "autos": 4, "extens": 4, "emoji": 4, "integr": 4, "minimum": 4, "7": 4, "6": 4, "hello_imgui_add_app": 4, "much": 4, "onlin": 4, "tutori": 4, "demonstr": 4, "fledg": 4, "implot": 4, "node": 4, "imfiledialog": 4, "imguicolortextedit": 4, "imgui_md": 4, "complet": 4, "mit": 4, "omar": 4, "cornut": 4, "portion": 4, "govern": 4, "softwar": 4, "lunasvg": 4, "zlib": 4, "libpng": 4, "qualiti": 4, "welcom": 4, "mainten": 4, "consider": 4, "effort": 4, "valuabl": 4, "commerci": 4, "enterpris": 4, "research": 4, "pleas": 4, "donat": 4, "thank": 4}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"build": 0, "instruct": 0, "hello": [0, 1, 4], "imgui": [0, 1, 2, 4], "its": 0, "demo": [0, 4], "your": 0, "applic": [0, 1, 2], "us": 0, "avail": 0, "backend": [0, 2], "depend": 0, "cmake": [0, 3], "option": [0, 2], "os": [0, 1], "specif": 0, "window": [0, 2], "io": 0, "emscripten": 0, "maco": 0, "android": 0, "api": 1, "run": 1, "place": 1, "widget": 1, "dpi": 1, "awar": 1, "wai": 1, "load": 1, "font": 1, "asset": [1, 3], "data": 1, "buffer": 1, "get": [1, 3], "path": 1, "displai": 1, "imag": 1, "from": 1, "util": [1, 3], "function": 1, "switch": 1, "between": 1, "sever": 1, "layout": [1, 4], "ini": 1, "set": 1, "locat": 1, "store": 1, "user": 1, "file": 1, "custom": [1, 3, 4], "menu": 1, "handl": 1, "screen": 1, "high": 1, "detail": 1, "differ": 1, "scale": 1, "paramet": 2, "runnerparam": 2, "simpl": 2, "runner": 2, "param": 2, "full": 2, "fp": 2, "idl": 2, "callback": 2, "type": 2, "runnercallback": 2, "edg": 2, "toolbar": 2, "mobilecallback": 2, "appwindowparam": 2, "windowgeometri": 2, "imguiwindowparam": 2, "default": 2, "dock": 2, "exampl": 2, "usag": 2, "split": 2, "dockabl": 2, "pointer": 2, "render": 2, "start": 3, "starter": [3, 4], "templat": [3, 4], "hello_imgui_add_app": 3, "app": [3, 4], "immedi": 3, "gui": 3, "mode": 3, "featur": 4, "real": 4, "world": 4, "motto": 4, "advanc": 4, "3d": 4, "background": 4, "manual": 4, "rpn": 4, "calcul": 4, "dear": 4, "bundl": 4, "theme": 4, "tweak": 4, "about": 4, "credit": 4, "licens": 4, "contribut": 4, "support": 4, "project": 4}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}}) \ No newline at end of file