Beispiel #1
0
void CSolverView::OnLButtonDown(UINT nFlags, CPoint point)
{
	try_color(filled_cell, point);

	try_nums(point);

	CView::OnLButtonDown(nFlags, point);
}
Beispiel #2
0
void	ft_test(t_env *e)
{
	int x = 0;
	int y = 0;
	int c = try_color(0, 20, 0);
	while (x++ < WIDTH)
	{
		y = 0;
		while (y++ < HEIGHT)
			put_pixel(e->f, x, y, c);
	}
	mlx_put_image_to_window(e->mlx, e->win, e->f->img, 0, 0);
}
Beispiel #3
0
void CSolverView::OnRButtonDown(UINT nFlags, CPoint point)
{
	try_color(empty_cell, point);
	CView::OnRButtonDown(nFlags, point);
}