adding screenshot te readme

This commit is contained in:
2023-11-25 10:43:05 +01:00
parent db91730e13
commit 7dc5701eff
4 changed files with 7 additions and 3 deletions

View File

@@ -3,6 +3,10 @@
The goal of this version is to provide a light, fast, and modern graphical tool while keeping the same API.
<p align="center">
<img src="https://raw.githubusercontent.com/420verfl0w/MacroLibX/res/screenshot_test.png" alt="drawing" width="500"/>
</p>
## 🖥️ Installation
### Dependencies

BIN
res/screenshot_test.png git.filemode.normal_file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/06 16:41:13 by maldavid #+# #+# */
/* Updated: 2023/11/24 19:03:50 by maldavid ### ########.fr */
/* Updated: 2023/11/25 10:40:39 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -103,7 +103,7 @@ namespace mlx
return;
}
std::ifstream::pos_type fileSize = std::filesystem::file_size(filepath);
file.seekg(0, std::ios::beg);
file.seekg(0, std::ios::beg);
std::vector<uint8_t> bytes(fileSize);
file.read(reinterpret_cast<char*>(bytes.data()), fileSize);
file.close();

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 17:55:21 by maldavid #+# #+# */
/* Updated: 2023/11/25 10:29:56 by maldavid ### ########.fr */
/* Updated: 2023/11/25 10:40:28 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */