JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
FontResolution.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Valentin Eloy
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
6#include <string>
7
16
17namespace hmi {
18
23 bool useEmbeddedFamily = false;
24 std::string embeddedFamily;
25
26 [[nodiscard]] friend bool operator==(const FontFamilyResolution&,
27 const FontFamilyResolution&) noexcept = default;
28};
29
38[[nodiscard]] FontFamilyResolution resolveFontFamily(bool fontRegistered,
39 const std::string& embeddedFamilyName);
40
41} // namespace hmi
Definition AudioEngine.cpp:15
FontFamilyResolution resolveFontFamily(bool fontRegistered, const std::string &embeddedFamilyName)
Choisit la famille de police à employer pour le corps de l'IHM.
Definition FontResolution.cpp:8
Résultat de la résolution : la police embarquée si elle a pu être enregistrée auprès de Qt,...
Definition FontResolution.h:22
std::string embeddedFamily
Definition FontResolution.h:24
friend bool operator==(const FontFamilyResolution &, const FontFamilyResolution &) noexcept=default
bool useEmbeddedFamily
Definition FontResolution.h:23