openMSX
SuperImposedFrame.hh
Go to the documentation of this file.
1#ifndef SUPERIMPOSEDFRAME_HH
2#define SUPERIMPOSEDFRAME_HH
3
4#include "FrameSource.hh"
5#include <memory>
6
7namespace openmsx {
8
15{
16public:
17 [[nodiscard]] static std::unique_ptr<SuperImposedFrame> create(
18 const PixelFormat& format);
19 void init(const FrameSource* top, const FrameSource* bottom);
20 virtual ~SuperImposedFrame() = default;
21
22protected:
23 explicit SuperImposedFrame(const PixelFormat& format);
24
25protected:
28};
29
30} // namespace openmsx
31
32#endif
Interface for getting lines from a video frame.
Definition: FrameSource.hh:20
This class represents a frame that is the (per-pixel) alpha-blend of two other frames.
virtual ~SuperImposedFrame()=default
void init(const FrameSource *top, const FrameSource *bottom)
static std::unique_ptr< SuperImposedFrame > create(const PixelFormat &format)
const FrameSource * bottom
SuperImposedFrame(const PixelFormat &format)
void format(SectorAccessibleDisk &disk, bool dos1)
Format the given disk (= a single partition).
This file implemented 3 utility functions:
Definition: Autofire.cc:9