mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 11:56:39 +00:00 
			
		
		
		
	* Convert window mode, vsync mode into enums, screenshot type into a struct. * Add missing doc for screenshot type.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			576 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			576 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_COMPONENTS_SETTINGS_SCREENSHOTSETTINGS_H
 | 
						|
#define OPENMW_COMPONENTS_SETTINGS_SCREENSHOTSETTINGS_H
 | 
						|
 | 
						|
#include <optional>
 | 
						|
#include <ostream>
 | 
						|
 | 
						|
namespace Settings
 | 
						|
{
 | 
						|
    enum class ScreenshotType
 | 
						|
    {
 | 
						|
        Regular,
 | 
						|
        Cylindrical,
 | 
						|
        Spherical,
 | 
						|
        Planet,
 | 
						|
        Cubemap,
 | 
						|
    };
 | 
						|
 | 
						|
    struct ScreenshotSettings
 | 
						|
    {
 | 
						|
        ScreenshotType mType;
 | 
						|
        std::optional<int> mWidth;
 | 
						|
        std::optional<int> mHeight;
 | 
						|
        std::optional<int> mCubeSize;
 | 
						|
 | 
						|
        auto operator<=>(const ScreenshotSettings& value) const = default;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |