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:
@@ -1968,7 +1968,7 @@ void Display_cursor(void)
|
||||
{
|
||||
case CURSOR_SHAPE_TARGET :
|
||||
if (!Paintbrush_hidden)
|
||||
Display_paintbrush(Paintbrush_X,Paintbrush_Y,Fore_color,1);
|
||||
Display_paintbrush(Paintbrush_X,Paintbrush_Y,Fore_color);
|
||||
if (!Cursor_hidden)
|
||||
{
|
||||
if (Config.Cursor==1)
|
||||
@@ -2019,7 +2019,7 @@ void Display_cursor(void)
|
||||
|
||||
case CURSOR_SHAPE_COLORPICKER:
|
||||
if (!Paintbrush_hidden)
|
||||
Display_paintbrush(Paintbrush_X,Paintbrush_Y,Fore_color,1);
|
||||
Display_paintbrush(Paintbrush_X,Paintbrush_Y,Fore_color);
|
||||
if (Config.Cursor==1)
|
||||
{
|
||||
// Barres formant la croix principale
|
||||
|
||||
Reference in New Issue
Block a user