Left clic on 8bit button now opens the menu if no mode has previously been selected
This commit is contained in:
parent
9898c9b7f8
commit
8a3860611d
@ -4901,7 +4901,7 @@ void Button_Effects(int btn)
|
||||
|
||||
|
||||
case 14: // Constraint checker/enforcer
|
||||
if (Window_attribute1==LEFT_SIDE)
|
||||
if (Window_attribute1==LEFT_SIDE && Selected_Constraint_Mode > IMAGE_MODE_ANIMATION)
|
||||
{
|
||||
Button_Constraint_mode();
|
||||
Hide_cursor();
|
||||
|
||||
@ -163,7 +163,6 @@ void Menu_tag_colors(char * window_title, byte * table, byte * mode, byte can_ca
|
||||
Display_cursor();
|
||||
}
|
||||
|
||||
static enum IMAGE_MODES Selected_Constraint_Mode = 0;
|
||||
|
||||
/// Constaint enforcer/checker
|
||||
///
|
||||
|
||||
@ -561,6 +561,12 @@ GFX2_GLOBAL byte Mask_mode;
|
||||
/// Array of booleans. True if the indexed color is protected by the mask.
|
||||
GFX2_GLOBAL byte Mask_table[256];
|
||||
|
||||
// -- 8 bit constraints mode
|
||||
|
||||
/// Selected constraint mode
|
||||
GFX2_GLOBAL enum IMAGE_MODES Selected_Constraint_Mode;
|
||||
|
||||
|
||||
// -- Magnifier data
|
||||
|
||||
#ifdef GLOBAL_VARIABLES
|
||||
|
||||
@ -1926,11 +1926,20 @@ static const T_Help_table helptable_effects[] =
|
||||
HELP_TEXT ("8bits computers video modes, such as the ZX")
|
||||
HELP_TEXT ("Spectrum, Commodore 64, etc.")
|
||||
HELP_BOLD ("LEFT CLICK")
|
||||
HELP_TEXT ("Enable/disable the contraints")
|
||||
HELP_TEXT ("Open the menu if no constraint type has been")
|
||||
HELP_TEXT ("already selected.")
|
||||
HELP_TEXT ("Else enable/disable the contraints")
|
||||
HELP_TEXT ("")
|
||||
HELP_BOLD ("RIGHT CLICK")
|
||||
HELP_TEXT ("Opens the menu to choose the type of")
|
||||
HELP_TEXT ("constraints")
|
||||
HELP_TEXT ("Open the menu to choose the type of")
|
||||
HELP_TEXT ("constraints.")
|
||||
HELP_TEXT ("")
|
||||
HELP_TEXT ("")
|
||||
HELP_BOLD ("Block modes")
|
||||
HELP_TEXT ("ZX Spectrum, Thomson MOTO, C64 multicolor,")
|
||||
HELP_TEXT ("C64 HiRes are modes with block constraints.")
|
||||
HELP_TEXT ("Only a limited different colors (generaly 2)")
|
||||
HELP_TEXT ("are allowed in a pixel block.")
|
||||
HELP_TEXT ("")
|
||||
HELP_TEXT ("")
|
||||
HELP_BOLD ("Amstrad CPC Mode5")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user