|
CPP-TOOLBOX
|
#include "window.hpp"#include <iostream>#include <optional>#include <ostream>#include <stdexcept>#include <unordered_set>#include <vector>#include <sstream>Functions | |
| std::optional< std::pair< int, int > > | parse_aspect_ratio (const std::string &aspect_ratio) |
| std::vector< VideoMode > | get_available_video_modes (GLFWmonitor *monitor, const std::optional< std::string > &aspect_ratio=std::nullopt) |
| std::vector< std::string > | video_modes_to_resolutions (const std::vector< VideoMode > &video_modes) |
| std::vector< std::string > | get_available_resolutions (const std::optional< std::string > &aspect_ratio) |
| std::vector< std::string > get_available_resolutions | ( | const std::optional< std::string > & | aspect_ratio | ) |
| std::vector< VideoMode > get_available_video_modes | ( | GLFWmonitor * | monitor, |
| const std::optional< std::string > & | aspect_ratio = std::nullopt ) |
| std::optional< std::pair< int, int > > parse_aspect_ratio | ( | const std::string & | aspect_ratio | ) |
| std::vector< std::string > video_modes_to_resolutions | ( | const std::vector< VideoMode > & | video_modes | ) |