Method
IpuzNonogramset_count_crossed_off
Declaration [src]
void
ipuz_nonogram_set_count_crossed_off (
IpuzNonogram* self,
IpuzClueDirection direction,
guint index,
guint count_index,
gboolean crossed_off
)
Description [src]
Crosses off a number within the guesses in the
IpuzGuesses associated with self.
As the player solves the puzzle, they will want to reflect their
success in guessing values by crossing off the numbers. This state
is stored in the stride_guess. This function is essentially a
wrapper around parsing the stride_guess directly.
As an example, consider the second row of the example at
IpuzNonogram:

// The row stride is initially "0000" at the start
ipuz_nonogram_set_count_crossed_off (nonogram,
IPUZ_CLUE_DIRECTION_ACROSS, 1, // Second row
1, // Second number
TRUE);
// The row stride is now "0#00" to reflect that the second number (a four)
// has been crossed off.
Parameters
direction-
Type:
IpuzClueDirectionDirection of the clues.
index-
Type:
guintIndex of the row or column.
count_index-
Type:
guintThe index of the number within those clues to set.
crossed_off-
Type:
gbooleanWhether to cross off the number.