Constraint mode is now switchable on/off in the effect screen.

I did some changes to the effect screen to make some space : instead of displaying an "on/off" label, we now keep the button pressed for active effects. 

There is no "constraint menu" yet, we should allow to select different constraints there (C64, MO5, spectrum, ...) to activate their respective enforcer and plug the right thing to the associated checker.

This should eventually allow drawers to :
 * Load any single-layer picture
 * Select the mode they want to use (without enabling it)
 * Run the checker and get the result as a multilayer (with an error layer)
 * Then, once they feel enough issues are solved, switch to "enforcer" mode for further manual tweaking.

Now we need a checker for CPC Mode5... :)

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/cpcmode5@1721 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2011-02-14 13:37:35 +00:00
parent bdf8b6d694
commit 72e9892b53
7 changed files with 94 additions and 32 deletions

View File

@@ -130,7 +130,7 @@ void Display_paintbrush(short x,short y,byte color,byte is_preview)
if (is_preview && Mouse_K) // pas de curseur si on est en preview et
return; // en train de cliquer
if (Main_current_layer < 4)
if (Constraint_mode && Main_current_layer < 4)
{
if (is_preview)
goto single_pixel;
@@ -2046,4 +2046,4 @@ void Brush_set_palette(T_Palette *palette)
}
}
*/
*/