11#ifndef HARDWARE_DISPLAY_MANAGER_GTK4_H_
12#define HARDWARE_DISPLAY_MANAGER_GTK4_H_
35namespace mediax::gtk4 {
108 void Flush()
override;
125 void Stop()
override;
137 static void Activate(GtkApplication *app, gpointer user_data);
145 static void Destroy(GtkWidget *widget, gpointer data);
156 static void DrawCallback(GtkDrawingArea *area, cairo_t *cr,
int width,
int height, gpointer user_data);
166 static void DrawText(
unsigned char *bitmap,
int width,
int height,
const char *text);
175 static gboolean
RenderCallback(GtkGLArea *area, GdkGLContext *context);
184 static void ResizeCallback(GtkGLArea *area,
int width,
int height);