Player12
An open source football management simulator
Loading...
Searching...
No Matches
icons.h
Go to the documentation of this file.
1// -----------------------------------------------------------------------------
2// Football Management Project
3// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4//
5// This file is part of the Football Management Project.
6// See the LICENSE file in the project root.
7// -----------------------------------------------------------------------------
8
9#pragma once
10
11#include <imgui.h>
12
13#include <cstdint>
14
18namespace UI
19{
20
22enum class Icon : uint8_t
23{
24 HOME,
25 SQUAD,
26 LINEUP,
27 TACTICS,
32 SAVE,
34 EXIT,
35 SEARCH,
36 EDIT,
37 INBOX,
38 CLUB
39};
40
49void drawIcon(ImDrawList* drawList, Icon icon, ImVec2 center, float size,
50 ImU32 color);
51
52} // namespace UI
Small vector icons drawn with ImDrawList (no icon font needed).
Definition icons.cpp:33
Icon
Available icons.
Definition icons.h:23
void drawIcon(ImDrawList *drawList, Icon icon, ImVec2 c, float s, ImU32 color)
Draws an icon centred on a point.
Definition icons.cpp:35