diff --git a/docs/about/Authors.rst b/docs/about/Authors.rst index eefd440758..f5c9893833 100644 --- a/docs/about/Authors.rst +++ b/docs/about/Authors.rst @@ -123,6 +123,7 @@ Kévin Boissonneault KABoissonneault Lethosor lethosor LordGolias LordGolias Magnus Anderson magnus-ISU +Marcus Penate marcuspenate Mark Nielson pseudodragon Mason11987 Mason11987 Matt Regul mattregul diff --git a/docs/changelog.txt b/docs/changelog.txt index 99a82c7352..5331a0f8ef 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -69,6 +69,7 @@ Template for new versions: ## Documentation ## API +- ``Gui::clearFocusStringCache``: now exported, so plugins that change the UI state focus strings are computed from can refresh them ## Lua diff --git a/library/include/modules/Gui.h b/library/include/modules/Gui.h index 761e948bb0..31a237f751 100644 --- a/library/include/modules/Gui.h +++ b/library/include/modules/Gui.h @@ -68,7 +68,7 @@ namespace DFHack { DFHACK_EXPORT std::vector getFocusStrings(df::viewscreen *top); DFHACK_EXPORT bool matchFocusString(std::string focus_string, df::viewscreen *top = NULL); - void clearFocusStringCache(); + DFHACK_EXPORT void clearFocusStringCache(); // Full-screen item details view DFHACK_EXPORT bool item_details_hotkey(df::viewscreen *top);