diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-13 10:43:21 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-13 10:43:21 +0200 |
| commit | 617f2b01b2679ec43330ea6fb5f25f4137565b6a (patch) | |
| tree | f6d102da10821fb04f6184499e8a17cdb96472ad /src/binres/binres.hpp | |
| parent | 055410c0e0c1297612ce9677331d012af2226fac (diff) | |
Improve documentation
Diffstat (limited to 'src/binres/binres.hpp')
| -rw-r--r-- | src/binres/binres.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/binres/binres.hpp b/src/binres/binres.hpp index 9d2ef85..e2e3f51 100644 --- a/src/binres/binres.hpp +++ b/src/binres/binres.hpp @@ -1,7 +1,32 @@ +/** + * @file binres.hpp + * @author Manzerbredes + * @brief Binary resources functions + * @version 0.1 + * @date 2023-05-12 + * + * @copyright Copyright (c) 2023 + * + */ #pragma once #include "ochess.hpp" +/** + * @brief Load an icon from embedded binary resources and rescale it + * to a specified @a size + * + * @param icon The icon name + * @param size Scale the icon to the specified size + * @return wxBitmap + */ wxBitmap LoadPNG(std::string icon, wxSize size); + +/** + * @brief Load an icon from embedded binary resources + * + * @param icon + * @return wxBitmap + */ wxBitmap LoadPNG(std::string icon); |
