OpenTTD Source 20250312-master-gcdcc6b491d
ScreenshotProvider_Bmp Class Reference
Inheritance diagram for ScreenshotProvider_Bmp:
ScreenshotProvider PriorityBaseProvider< ScreenshotProvider > BaseProvider< T >

Public Member Functions

bool MakeImage (const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette) override
 
- Public Member Functions inherited from ScreenshotProvider
 ScreenshotProvider (std::string_view name, std::string_view description, int priority)
 
- Public Member Functions inherited from PriorityBaseProvider< ScreenshotProvider >
constexpr PriorityBaseProvider (std::string_view name, std::string_view description, int priority)
 
int GetPriority () const
 
- Public Member Functions inherited from BaseProvider< T >
constexpr BaseProvider (std::string_view name, std::string_view description)
 
std::string_view GetName () const
 
std::string_view GetDescription () const
 

Additional Inherited Members

- Protected Attributes inherited from PriorityBaseProvider< ScreenshotProvider >
const int priority
 
- Protected Attributes inherited from BaseProvider< T >
const std::string_view name
 
const std::string_view description
 

Detailed Description

Definition at line 42 of file screenshot_bmp.cpp.

Constructor & Destructor Documentation

◆ ScreenshotProvider_Bmp()

ScreenshotProvider_Bmp::ScreenshotProvider_Bmp ( )
inline

Definition at line 44 of file screenshot_bmp.cpp.

Member Function Documentation

◆ MakeImage()

bool ScreenshotProvider_Bmp::MakeImage ( const char *  name,
ScreenshotCallback callb,
void *  userdata,
uint  w,
uint  h,
int  pixelformat,
const Colour *  palette 
)
inlineoverridevirtual

Implements ScreenshotProvider.

Definition at line 46 of file screenshot_bmp.cpp.


The documentation for this class was generated from the following file: