Classes | Macros | Functions | Variables
imgui_impl_allegro5.cpp File Reference
#include <stdint.h>
#include <cstring>
#include "imgui.h"
#include "imgui_impl_allegro5.h"
#include <allegro5/allegro.h>
#include <allegro5/allegro_primitives.h>
Include dependency graph for imgui_impl_allegro5.cpp:

Go to the source code of this file.

Classes

struct  ImDrawVertAllegro
 

Macros

#define ALLEGRO_HAS_CLIPBOARD   (ALLEGRO_VERSION_INT >= ((5 << 24) | (1 << 16) | (12 << 8)))
 

Functions

bool ImGui_ImplAllegro5_CreateDeviceObjects ()
 
bool ImGui_ImplAllegro5_Init (ALLEGRO_DISPLAY *display)
 
void ImGui_ImplAllegro5_InvalidateDeviceObjects ()
 
void ImGui_ImplAllegro5_NewFrame ()
 
bool ImGui_ImplAllegro5_ProcessEvent (ALLEGRO_EVENT *ev)
 
void ImGui_ImplAllegro5_RenderDrawData (ImDrawData *draw_data)
 
static void ImGui_ImplAllegro5_SetupRenderState (ImDrawData *draw_data)
 
void ImGui_ImplAllegro5_Shutdown ()
 
static void ImGui_ImplAllegro5_UpdateMouseCursor ()
 

Variables

static char * g_ClipboardTextData = NULL
 
static ALLEGRO_DISPLAY * g_Display = NULL
 
static ALLEGRO_MOUSE_CURSOR * g_MouseCursorInvisible = NULL
 
static ALLEGRO_BITMAP * g_Texture = NULL
 
static double g_Time = 0.0
 
static ALLEGRO_VERTEX_DECL * g_VertexDecl = NULL
 

Macro Definition Documentation

◆ ALLEGRO_HAS_CLIPBOARD

#define ALLEGRO_HAS_CLIPBOARD   (ALLEGRO_VERSION_INT >= ((5 << 24) | (1 << 16) | (12 << 8)))

Definition at line 45 of file imgui_impl_allegro5.cpp.

Function Documentation

◆ ImGui_ImplAllegro5_CreateDeviceObjects()

bool ImGui_ImplAllegro5_CreateDeviceObjects ( )

Definition at line 174 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_Init()

bool ImGui_ImplAllegro5_Init ( ALLEGRO_DISPLAY *  display)

Definition at line 251 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_InvalidateDeviceObjects()

void ImGui_ImplAllegro5_InvalidateDeviceObjects ( )

Definition at line 221 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_NewFrame()

void ImGui_ImplAllegro5_NewFrame ( )

Definition at line 400 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_ProcessEvent()

bool ImGui_ImplAllegro5_ProcessEvent ( ALLEGRO_EVENT *  ev)

Definition at line 325 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_RenderDrawData()

void ImGui_ImplAllegro5_RenderDrawData ( ImDrawData draw_data)

Definition at line 89 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_SetupRenderState()

static void ImGui_ImplAllegro5_SetupRenderState ( ImDrawData draw_data)
static

Definition at line 67 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_Shutdown()

void ImGui_ImplAllegro5_Shutdown ( )

Definition at line 305 of file imgui_impl_allegro5.cpp.

◆ ImGui_ImplAllegro5_UpdateMouseCursor()

static void ImGui_ImplAllegro5_UpdateMouseCursor ( )
static

Definition at line 371 of file imgui_impl_allegro5.cpp.

Variable Documentation

◆ g_ClipboardTextData

char* g_ClipboardTextData = NULL
static

Definition at line 58 of file imgui_impl_allegro5.cpp.

◆ g_Display

ALLEGRO_DISPLAY* g_Display = NULL
static

Definition at line 53 of file imgui_impl_allegro5.cpp.

◆ g_MouseCursorInvisible

ALLEGRO_MOUSE_CURSOR* g_MouseCursorInvisible = NULL
static

Definition at line 56 of file imgui_impl_allegro5.cpp.

◆ g_Texture

ALLEGRO_BITMAP* g_Texture = NULL
static

Definition at line 54 of file imgui_impl_allegro5.cpp.

◆ g_Time

double g_Time = 0.0
static

Definition at line 55 of file imgui_impl_allegro5.cpp.

◆ g_VertexDecl

ALLEGRO_VERTEX_DECL* g_VertexDecl = NULL
static

Definition at line 57 of file imgui_impl_allegro5.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03