From 617f2b01b2679ec43330ea6fb5f25f4137565b6a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 13 May 2023 10:43:21 +0200 Subject: Improve documentation --- src/binres/binres.hpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/binres') 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); -- cgit v1.2.3