-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgen_icons.cpp
33 lines (32 loc) · 1.26 KB
/
gen_icons.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Created by Bedroom1 on 30/05/2020.
//
#include <cstdint>
#include "gen_icons.h"
//
//gltactics::cmpIcon::cmpIcon(const size_t width, const size_t height, std::vector<bool> image) : width(width),
// height(height),
// image(std::move(
// image)) {};
//
//gltactics::cmpIcon gltactics::make_key_icon() {
// std::vector<bool> boolVec = {
// 0, 0, 0, 0, 1, 1, 1, 1,
// 0, 0, 0, 0, 1, 0, 0, 0,
// 0, 0, 0, 0, 1, 1, 1, 1,
// 0, 0, 0, 0, 1, 0, 0, 0,
// 0, 0, 0, 0, 1, 0, 0, 0,
// 0, 0, 0, 1, 0, 1, 0, 0,
// 0, 0, 1, 0, 0, 0, 1, 0,
// 0, 0, 0, 1, 1, 1, 0, 0,
// };
// return cmpIcon(8,8,boolVec);
//}
//
//Image gltactics::iconToImage(const cmpIcon& icon, Color color) {
// Color image[icon.height * icon.width];
// for(int i = 0; i < icon.height * icon.width; i++) {
// image[i] = icon.image[i] ? color : BLANK;
// }
// return LoadImageEx(image, icon.width, icon.height);
//}