添加商店内弹出窗消息

使用SpkUiMessage::SendStoreNotification激活,必须在SpkStore构造函数加载完全局SpkPopup类之后才可
使用。
This commit is contained in:
RigoLigoRLC
2021-07-20 15:15:37 +08:00
parent e3c43198b9
commit 99083d2bcb
12 changed files with 126 additions and 5 deletions

View File

@@ -16,6 +16,8 @@ namespace SpkUi
enum SpkUiStyle { Light, Dark };
enum SpkButtonStyle { Normal = 0, Recommend, Warn };
class SpkPopup;
constexpr int StackTraceArraySize = 64;
constexpr const char * const StoreIconName = "spark-store";
@@ -40,6 +42,8 @@ namespace SpkUi
extern QStyle *OldSystemStyle;
extern QList<QColor> CurrentColorSet;
extern SpkPopup *Popup;
namespace States
{
extern bool IsDDE, IsUsingDtkPlugin;