XorTroll / Plutonium

An easy-to-use UI framework for Nintendo Switch homebrew
https://xortroll.github.io/Plutonium/
MIT License
272 stars 40 forks source link

ui_types: Include array #63

Closed german77 closed 1 year ago

german77 commented 1 year ago

Fixes compilation error under ubuntu.

In file included from /home/narr/yuzu/uLaunch/Plutonium/Plutonium/include/pu/ttf/ttf_Font.hpp:4,
                 from /home/narr/yuzu/uLaunch/Plutonium/Plutonium/source/pu/ttf/ttf_Font.cpp:1:
/home/narr/yuzu/uLaunch/Plutonium/Plutonium/include/pu/ui/ui_Types.hpp:30:23: error: variable 'std::array<int, 4> pu::ui::DefaultFontSizes' has initializer but incomplete type
   30 |     static inline constexpr std::array<u32, static_cast<u32>(DefaultFontSize::Count)> DefaultFontSizes = { 18, 20, 25, 30 };