OCRudoku  v1.0
Resolve word grid with ease
Loading...
Searching...
No Matches
EZ_drag_select.h
Go to the documentation of this file.
1#include <SDL2/SDL.h>
2#include <SDL2/SDL_image.h>
3#include "../EZ_utils.h"
5
6#ifndef EZ_DRAG_SELECT_H
7#define EZ_DRAG_SELECT_H
8
20
21EZ_drag_select* EZ_create_drag_select(char* select_img, SDL_Renderer* renderer, anchore_point dst_anchore);
22
23#endif
struct ez_drag_select EZ_drag_select
EZ_drag_select * EZ_create_drag_select(char *select_img, SDL_Renderer *renderer, anchore_point dst_anchore)
Creates a new EZ_drag_select structure.
Definition EZ_drag_select.c:85
Definition EZ_utils.h:9
Definition RenderingUtils.h:7
Definition EZ_drag_select.h:10
int selecting
Definition EZ_drag_select.h:15
void(* on_start_selecting)(struct ez_drag_select *)
Definition EZ_drag_select.h:17
SDL_Rect selected_zone
Definition EZ_drag_select.h:14
EZ_INTERACTIBLE interactible_select
Definition EZ_drag_select.h:12
anchore_point drag_anchore
Definition EZ_drag_select.h:13
EZ_DRAWABLE drawable_drag
Definition EZ_drag_select.h:11
void(* on_end_selecting)(struct ez_drag_select *)
Definition EZ_drag_select.h:18
void * drag_data
Definition EZ_drag_select.h:16
Definition EZ_utils.h:20