13#ifndef HMIDISPLAY_GVA_APPLICATION_H_
14#define HMIDISPLAY_GVA_APPLICATION_H_
16#include <uncompressed/rtp_uncompressed_depayloader.h>
86 static void Update(gpointer user_data);
98 static void BrightnessUp();
104 static void BrightnessDown();
111 static void BrightnessAdjust(
double value);
146 static std::shared_ptr<gva::EventsGva> io_;
148 static bool first_execution_;
158 static gboolean DrawCb(GtkWidget *Widget, cairo_t *cr, gpointer data);
168 static gboolean ConfigureEventCb(GtkWidget *Widget, GdkEventConfigure *event, gpointer data);
176 static void Activate(GtkApplication *app, gpointer user_data);
184 static gboolean Callback(gpointer user_data);
190 static void CloseWindow(
void);
Class definition of the GvaApplication.
Definition gva_application.h:33
static bool SetKeyPressed(gva::GvaKeyEnum key)
Create the Key Pressed event.
Definition gva_application.cc:196
std::string config
The config file location.
Definition gva_application.h:42
static bool SetKeyReleased(gva::HandleType *renderer, gva::GvaKeyEnum key)
Create the Key Released event.
Definition gva_application.cc:427
static void Update(gpointer user_data)
Update the GTK application.
Definition gva_application.cc:494
static Options options_
GTK application options.
Definition gva_application.h:26
static gtkType gtk_
The GTK application.
Definition gva_application.h:91
void Exec() const
Execute the main processing loop, blocking call.
Definition gva_application.cc:126
bool windowEnabled_
Window enabled flag (default false)
Definition gva_application.h:40
~GvaApplication()=default
Destroy the Gva Application object.
bool videoEnabled_
Video enabled flag (default false)
Definition gva_application.h:38
Application options.
Definition gva_application.h:36
Class definition of the HandleType.
Definition renderer_cairo_types.h:23
GvaKeyEnum
These are physical GVA keys around the display.
Definition gva.h:67
The GVA application type and associated data.
Definition gva_application_types.h:19