mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-22 22:56:53 +03:00
3fdad8ab94
- fix flickering (canvas drawing added) TODO: - optimize tile drawing: maybe separate canvas for every tile - game over screen - last game save / load - record save / load git-svn-id: svn://kolibrios.org@5231 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
362 B
C
18 lines
362 B
C
#ifndef PAINT_H
|
|
#define PAINT_H
|
|
|
|
#include "defines.h"
|
|
#include "rect.h"
|
|
|
|
void canvas_init(rect* r);
|
|
void canvas_delete();
|
|
void canvas_fill(__u32 color);
|
|
|
|
void canvas_draw_rect(rect* r, __u32 color);
|
|
void canvas_draw_text(rect* r, char* txt, __u32 len, __u32 color);
|
|
void canvas_draw_value(rect *r, __u32 v, __u32 color);
|
|
|
|
void canvas_paint();
|
|
|
|
#endif // PAINT_H
|