more x86_64 work. started to put the mmu bits together in the (former) stage2 loader.
[newos.git] / apps / window_server / Renderer_8bpp.h
blobae8ba4afc7b5d1a7e53942cb1112ffbdbc99eb72
1 #ifndef _RENDERER_8BPP_H
2 #define _RENDERER_8BPP_H
4 #include "Renderer.h"
6 class Renderer_8bpp : public Renderer {
7 public:
8 Renderer_8bpp(char *baseAddress, int width, int height, int bytesPerRow);
9 void DrawLine(int x1, int y1, int x2, int y2, char color);
10 void FillRect(int x1, int y1, int x2, int y2, char color);
11 void Blit(int x, int y, char image[], int image_width,
12 int image_height, int img_bytes_per_row);
13 void StretchBlit(const Rect &imageRect, const Rect &displayRect, char image[],
14 int imageBytesPerRow);
15 void CopyRect(const Rect &source, const Rect &dest);
19 #endif