From 785f6d41b78e1fcade91fb309ebe5b32a3af3b2c Mon Sep 17 00:00:00 2001 From: Ibrahim Date: Mon, 16 May 2022 18:56:19 +0500 Subject: [PATCH] Implimented BusyIndicator, bugfixes & improvements --- QuickMenuReborn.emd | 1 + QuickMenuReborn.yml | 1 + exporter.py | 5 ++++- resource/src/qmr_plugin.xml | 2 +- sample_plugin/src/main.c | 2 +- src/quickmenureborn/c_types.h | 1 + src/quickmenureborn/qm_reborn.h | 10 ++++++--- src/user/common.hpp | 1 + src/user/config_mgr.cpp | 12 +++++------ src/user/default_handlers.cpp | 4 ++-- src/user/export_handler.cpp | 36 +++++++++++++++++++++++++++++++-- src/user/widgets.cpp | 10 +++++++++ 12 files changed, 69 insertions(+), 16 deletions(-) diff --git a/QuickMenuReborn.emd b/QuickMenuReborn.emd index 0740927..07f20c2 100644 --- a/QuickMenuReborn.emd +++ b/QuickMenuReborn.emd @@ -39,3 +39,4 @@ Library: QuickMenuReborn function: QuickMenuRebornSetWidgetTextureBase nidvalue: Library: QuickMenuReborn function: QuickMenuRebornCloseMenu nidvalue: 0xCD66AED8 Library: QuickMenuReborn function: QuickMenuRebornRegisterWidgetFromStyle nidvalue: 0xC236CE22 Library: QuickMenuReborn function: QuickMenuRebornRegisterWidgetFromStyleHash nidvalue: 0x7538EB34 +Library: QuickMenuReborn function: QuickMenuRebornAssignOnDeleteHandler nidvalue: 0x3F667364 diff --git a/QuickMenuReborn.yml b/QuickMenuReborn.yml index 30b352e..76164e3 100644 --- a/QuickMenuReborn.yml +++ b/QuickMenuReborn.yml @@ -36,3 +36,4 @@ modules: QuickMenuRebornCloseMenu: 0xCD66AED8 QuickMenuRebornRegisterWidgetFromStyle: 0xC236CE22 QuickMenuRebornRegisterWidgetFromStyleHash: 0x7538EB34 + QuickMenuRebornAssignOnDeleteHandler: 0x3F667364 diff --git a/exporter.py b/exporter.py index e73a756..7f11245 100644 --- a/exporter.py +++ b/exporter.py @@ -37,7 +37,10 @@ "QuickMenuRebornSetWidgetTextureBase", "QuickMenuRebornCloseMenu", "QuickMenuRebornRegisterWidgetFromStyle", - "QuickMenuRebornRegisterWidgetFromStyleHash" + "QuickMenuRebornRegisterWidgetFromStyleHash", + "QuickMenuRebornAssignOnDeleteHandler", + "QuickMenuRebornStartBusyIndicator", + "QuickMenuRebornStopBusyIndicator" ] def getHash(string): diff --git a/resource/src/qmr_plugin.xml b/resource/src/qmr_plugin.xml index cab5252..d3955a5 100644 --- a/resource/src/qmr_plugin.xml +++ b/resource/src/qmr_plugin.xml @@ -30,7 +30,7 @@ -