From 4b069080f995bc967fdc9bc9b4a70f05c2ec8241 Mon Sep 17 00:00:00 2001 From: Milo Turner Date: Thu, 20 Feb 2020 12:05:34 -0500 Subject: [PATCH] [async] add "theme loaded" msg --- src/concurrent/msg.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/concurrent/msg.h b/src/concurrent/msg.h index 6c45d3c..94c2805 100644 --- a/src/concurrent/msg.h +++ b/src/concurrent/msg.h @@ -1,14 +1,22 @@ #pragma once +struct msgq; + enum { ax_msg_shutdown_TAG, ax_msg_load_font_TAG, + ax_msg_theme_loaded_TAG, }; struct ax_msg_shutdown { }; struct ax_msg_load_font { + struct msgq* callback_mq; struct ax_theme* theme; int category; }; + +struct ax_msg_theme_loaded { + struct ax_theme* theme; +};