Re-integrate framebuffer console
This commit is contained in:
@@ -14,8 +14,6 @@ public:
|
||||
unsigned hres, unsigned vres,
|
||||
pixel_t rmask, pixel_t gmask, pixel_t bmask);
|
||||
|
||||
screen(const screen &other);
|
||||
|
||||
unsigned width() const { return m_resolution.x; }
|
||||
unsigned height() const { return m_resolution.y; }
|
||||
|
||||
@@ -24,8 +22,6 @@ public:
|
||||
void fill(pixel_t color);
|
||||
void draw_pixel(unsigned x, unsigned y, pixel_t color);
|
||||
|
||||
screen() = delete;
|
||||
|
||||
private:
|
||||
struct color_masks {
|
||||
uint8_t rshift, gshift, bshift;
|
||||
@@ -37,4 +33,6 @@ private:
|
||||
pixel_t *m_framebuffer;
|
||||
color_masks m_masks;
|
||||
kutil::coord<unsigned> m_resolution;
|
||||
|
||||
screen() = delete;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user