Add application icon, show gsr icon in notification

This commit is contained in:
dec05eba
2025-12-31 16:29:11 +01:00
parent 1ea9615584
commit df1610431d
9 changed files with 64 additions and 24 deletions

View File

@@ -40,7 +40,8 @@ namespace gsr {
RECORD,
REPLAY,
STREAM,
SCREENSHOT
SCREENSHOT,
NOTICE
};
enum class NotificationLevel {
@@ -98,6 +99,7 @@ namespace gsr {
bool global_hotkeys_ungrab_keyboard = false;
private:
const char* notification_type_to_string(NotificationType notification_type);
void update_upause_status();
void hide();
@@ -171,6 +173,8 @@ namespace gsr {
Config config;
Config current_recording_config;
std::string gsr_icon_path;
bool visible = false;
mgl::Texture window_texture_texture;