1
0
mirror of synced 2025-01-18 17:14:13 +01:00

git: Add more visible download banners to readme

This commit is contained in:
WerWolv 2024-02-18 13:52:07 +01:00
parent 0413302470
commit 1bf1a56b01
7 changed files with 14 additions and 5 deletions

View File

@ -25,18 +25,24 @@
<a title="Translation" href="https://weblate.werwolv.net/projects/imhex/">
<img alt="Translation" src="https://img.shields.io/weblate/progress/imhex?logo=weblate&logoColor=%23FFFFFF&server=https%3A%2F%2Fweblate.werwolv.net&style=for-the-badge">
</a>
<a title="Documentation" href="https://imhex.werwolv.net/docs">
<img alt="Documentation" src="https://img.shields.io/badge/Docs-Available-brightgreen?logo=gitbook&logoColor=%23FFFFFF&style=for-the-badge">
</a>
<a title="Plugins" href="https://github.com/WerWolv/ImHex/blob/master/PLUGINS.md">
<img alt="Plugins" src="https://img.shields.io/badge/Plugins-Supported-brightgreen?logo=stackedit&logoColor=%23FFFFFF&style=for-the-badge">
</a>
</p>
<p align="center">
<a title="Download the latest version of ImHex" href="https://imhex.download">
<img alt="Download the latest version of ImHex!" src="resources/dist/common/get_release_banner.png">
</a>
<a title="Download the latest nightly pre-release version of ImHex" href="https://imhex.download/#nightly">
<img alt="Download the latest nightly pre-release version of ImHex" src="resources/dist/common/get_nightly_banner.png">
</a>
<a title="Use the Web version of ImHex right in your browser!" href="https://web.imhex.werwolv.net">
<img alt="Use the Web version of ImHex right in your browser!" src="resources/dist/common/try_online_banner.png">
</a>
<a title="Read the documentation of ImHex!" href="https://docs.werwolv.net">
<img alt="Read the documentation of ImHex!" src="resources/dist/common/read_docs_banner.png">
</a>
</p>
## Supporting

View File

@ -10,6 +10,7 @@
#include <wolv/utils/core.hpp>
#include <content/helpers/diagrams.hpp>
#include <pl/patterns/pattern.hpp>
namespace hex::plugin::builtin {
@ -389,8 +390,10 @@ namespace hex::plugin::builtin {
if (outVars.contains(m_name)) {
std::visit(wolv::util::overloaded {
[](const std::string &) {},
[](pl::ptrn::Pattern *) {},
[this](const std::string &) {
},
[this](const std::shared_ptr<pl::ptrn::Pattern> &) {
},
[this](auto &&value) {
std::vector<u8> buffer(std::min<size_t>(sizeof(value), 8));
std::memcpy(buffer.data(), &value, buffer.size());

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.