diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-16 19:36:40 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-16 19:36:40 +0100 |
commit | 56342ffab9daade7802b015ac83b9c47a8b9b18b (patch) | |
tree | 078724d631e51aa332710d403e3c3ba17cb25469 /src/example/loadfont.cpp | |
parent | 55f4aaf179cf723c5b703b0c4d848bf059ae190a (diff) |
make format
Diffstat (limited to 'src/example/loadfont.cpp')
-rw-r--r-- | src/example/loadfont.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/example/loadfont.cpp b/src/example/loadfont.cpp index 0ea6d86..508197a 100644 --- a/src/example/loadfont.cpp +++ b/src/example/loadfont.cpp @@ -17,8 +17,9 @@ int main() { 1, vec2(100, 100), vec2(0, 0), "test test", "OpenSymbol", Text::Data{}); std::cout << "Path: " << label->font.get_path() << std::endl; - std::unique_ptr<Text> label2 = std::make_unique<Text>( - 1, vec2(100, 100), vec2(0, 0), "test test", "fsaafdafsdafsdafsdasfdds", Text::Data{}); + std::unique_ptr<Text> label2 + = std::make_unique<Text>(1, vec2(100, 100), vec2(0, 0), "test test", + "fsaafdafsdafsdafsdasfdds", Text::Data{}); std::cout << "Path: " << label2->font.get_path() << std::endl; } catch (const std::exception & e) { std::cout << "Standard exception thrown: " << e.what() << std::endl; |