diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-17 09:47:45 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-17 09:59:29 +0100 |
commit | 453eac7f1f5ef70390ec51087fc1f190811a7507 (patch) | |
tree | 21a32ef6de9a3d7c29562484104b56c12518a6f0 /src/plugins/AniList.cpp | |
parent | fc49d40c0d2f6edbbe9dde1f1b53d6a17e9d9f7d (diff) |
Replace sfml with mgl
Diffstat (limited to 'src/plugins/AniList.cpp')
-rw-r--r-- | src/plugins/AniList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/AniList.cpp b/src/plugins/AniList.cpp index 3559a81..b892229 100644 --- a/src/plugins/AniList.cpp +++ b/src/plugins/AniList.cpp @@ -262,6 +262,7 @@ query ($id: Int, $page: Int, $perPage: Int) { } enum class ThumbnailSize { + SMALLEST, MEDIUM, LARGE }; @@ -275,7 +276,7 @@ query ($id: Int, $page: Int, $perPage: Int) { } // TODO: Somehow get the correct thumbnail size? - static sf::Vector2i thumbnail_size_get_prediced_size(ThumbnailSize thumbnail_size) { + static mgl::vec2i thumbnail_size_get_prediced_size(ThumbnailSize thumbnail_size) { switch(thumbnail_size) { case ThumbnailSize::MEDIUM: return {100, 158}; case ThumbnailSize::LARGE: return {215, 304}; |