openMSX
OutputRectangle.hh
Go to the documentation of this file.
1 #ifndef OUTPUTRECTANGLE_HH
2 #define OUTPUTRECTANGLE_HH
3 
4 #include "gl_vec.hh"
5 
6 namespace openmsx {
7 
9 {
10 public:
11  virtual gl::ivec2 getOutputSize() const = 0;
12 
13 protected:
15 };
16 
17 
19 {
20 public:
22  : size(size_) {}
23 
24  gl::ivec2 getOutputSize() const override { return size; }
25 
26 private:
27  const gl::ivec2 size;
28 };
29 
30 } // namespace openmsx
31 
32 #endif
gl::ivec2 getOutputSize() const override
virtual gl::ivec2 getOutputSize() const =0
size_t size(string_view utf8)
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
DummyOutputRectangle(gl::ivec2 size_)