OCRudoku  v1.0
Resolve word grid with ease
Loading...
Searching...
No Matches
EZ_button.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_BUTTON_H
7#define EZ_BUTTON_H
8
19
20EZ_button* EZ_create_button(char* back_img, SDL_Renderer* renderer, anchore_point dst_anchore);
21
22#endif
EZ_button * EZ_create_button(char *back_img, SDL_Renderer *renderer, anchore_point dst_anchore)
Creates an EZ_button with the specified background image and anchoring point.
Definition EZ_button.c:46
struct ez_button EZ_button
Definition EZ_utils.h:9
Definition RenderingUtils.h:7
Definition EZ_button.h:10
void(* on_button_down)(struct ez_button *)
Definition EZ_button.h:16
anchore_point button_anchore
Definition EZ_button.h:13
int button_pressed
Definition EZ_button.h:14
EZ_DRAWABLE drawable_button
Definition EZ_button.h:11
void * button_data
Definition EZ_button.h:15
EZ_INTERACTIBLE interactible_button
Definition EZ_button.h:12
void(* on_button_up)(struct ez_button *)
Definition EZ_button.h:17
Definition EZ_utils.h:20