openMSX
Classes | Namespaces | Macros | Typedefs | Functions | Variables
imgui_demo.cc File Reference
#include "imgui.h"
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
Include dependency graph for imgui_demo.cc:

Go to the source code of this file.

Classes

struct  ExampleAppConsole
 
struct  ExampleAppLog
 
struct  MyDocument
 
struct  ExampleAppDocuments
 

Namespaces

namespace  ImGui
 

Macros

#define IM_NEWLINE   "\n"
 
#define PRId64   "lld"
 
#define PRIu64   "llu"
 
#define IM_MIN(A, B)   (((A) < (B)) ? (A) : (B))
 
#define IM_MAX(A, B)   (((A) >= (B)) ? (A) : (B))
 
#define IM_CLAMP(V, MN, MX)   ((V) < (MN) ? (MN) : (V) > (MX) ? (MX) : (V))
 
#define IMGUI_CDECL
 
#define IMGUI_DEMO_MARKER(section)   do { if (GImGuiDemoMarkerCallback != NULL) GImGuiDemoMarkerCallback(__FILE__, __LINE__, section, GImGuiDemoMarkerCallbackUserData); } while (0)
 

Typedefs

typedef void(* ImGuiDemoMarkerCallback) (const char *file, int line, const char *section, void *user_data)
 

Functions

IMGUI_API void ImGui::ShowFontAtlas (ImFontAtlas *atlas)
 

Variables

ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL
 
void * GImGuiDemoMarkerCallbackUserData = NULL
 

Macro Definition Documentation

◆ IM_CLAMP

#define IM_CLAMP (   V,
  MN,
  MX 
)    ((V) < (MN) ? (MN) : (V) > (MX) ? (MX) : (V))

Definition at line 173 of file imgui_demo.cc.

◆ IM_MAX

#define IM_MAX (   A,
 
)    (((A) >= (B)) ? (A) : (B))

Definition at line 172 of file imgui_demo.cc.

◆ IM_MIN

#define IM_MIN (   A,
 
)    (((A) < (B)) ? (A) : (B))

Definition at line 171 of file imgui_demo.cc.

◆ IM_NEWLINE

#define IM_NEWLINE   "\n"

Definition at line 147 of file imgui_demo.cc.

◆ IMGUI_CDECL

#define IMGUI_CDECL

Definition at line 181 of file imgui_demo.cc.

◆ IMGUI_DEMO_MARKER

#define IMGUI_DEMO_MARKER (   section)    do { if (GImGuiDemoMarkerCallback != NULL) GImGuiDemoMarkerCallback(__FILE__, __LINE__, section, GImGuiDemoMarkerCallbackUserData); } while (0)

Definition at line 251 of file imgui_demo.cc.

◆ PRId64

#define PRId64   "lld"

Definition at line 163 of file imgui_demo.cc.

◆ PRIu64

#define PRIu64   "llu"

Definition at line 164 of file imgui_demo.cc.

Typedef Documentation

◆ ImGuiDemoMarkerCallback

typedef void(* ImGuiDemoMarkerCallback) (const char *file, int line, const char *section, void *user_data)

Definition at line 246 of file imgui_demo.cc.

Variable Documentation

◆ GImGuiDemoMarkerCallback

ImGuiDemoMarkerCallback GImGuiDemoMarkerCallback = NULL

Definition at line 249 of file imgui_demo.cc.

◆ GImGuiDemoMarkerCallbackUserData

void * GImGuiDemoMarkerCallbackUserData = NULL

Definition at line 250 of file imgui_demo.cc.