Introduce a PAINTBRUSH_SHAPE_NONE for the colorpicker.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1443 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2010-04-05 09:44:57 +00:00
parent befba16697
commit eb14b70724
3 changed files with 6 additions and 3 deletions

View File

@@ -130,6 +130,8 @@ void Display_paintbrush(short x,short y,byte color,byte is_preview)
// en train de cliquer
switch (Paintbrush_shape)
{
case PAINTBRUSH_SHAPE_NONE : // No paintbrush. for colorpicker for example
break;
case PAINTBRUSH_SHAPE_POINT : // !!! TOUJOURS EN PREVIEW !!!
if ( (Paintbrush_X>=Limit_left)
&& (Paintbrush_X<=Limit_right)