Split Display_paintbrush() in two: one function for preview, another function (Draw_paintbrush()) for image modification. Should be functionally identical, but code becomes simpler.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1857 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -45,7 +45,8 @@ void Display_foreback(void);
|
||||
|
||||
void Display_pixel(word x,word y,byte color);
|
||||
|
||||
void Display_paintbrush(short x,short y,byte color,byte is_preview);
|
||||
void Display_paintbrush(short x,short y,byte color);
|
||||
void Draw_paintbrush(short x,short y,byte color);
|
||||
void Hide_paintbrush(short x,short y);
|
||||
|
||||
void Resize_image(word chosen_width,word chosen_height);
|
||||
|
||||
Reference in New Issue
Block a user