|
OCRudoku
v1.0
Resolve word grid with ease
|
#include "main_menu.h"#include "global.h"#include "selection_menu.h"#include "../utils/EZ_UI/EZ_manager.h"#include "../utils/Rendering/RenderingUtils.h"#include "../utils/Application/ApplicationUtils.h"#include "../utils/EZ_UI/elements/EZ_image.h"#include "../utils/EZ_UI/elements/EZ_button.h"#include "../utils/EZ_UI/elements/EZ_text.h"#include "../utils/EZ_UI/elements/EZ_text_input.h"#include "../utils/EZ_UI/elements/EZ_drag_select.h"#include "../utils/Spliting/Spliting.h"#include "../utils/Image/ImageUtils.h"#include <unistd.h>#include <SDL2/SDL.h>#include <SDL2/SDL_ttf.h>#include <SDL2/SDL_image.h>#include <stdio.h>#include <string.h>Macros | |
| #define | MAX_PATH_LEN 256 |
Functions | |
| void | unload_main_menu (void) |
| int | FileExist (const char *path) |
| void | main_menu_process_events (SDL_Window *window, SDL_Renderer *renderer, SDL_Event *event, EZ_MENU *current_menu) |
| void | button_action (EZ_button *tmp) |
| void | change_degree (EZ_text_input *tmp) |
| void | button_action_switch (EZ_button *tmp) |
| void | load_image (EZ_text_input *tmp) |
| void | load_main_menu (SDL_Renderer *renderer) |
Variables | |
| EZ_DRAWABLE * | main_menu_drawables [12] |
| EZ_INTERACTIBLE * | main_menu_interactibles [4] |
| void * | main_menu_objects [12] |
| EZ_MENU | main_menu |
| SDL_Color | MainColor = {0,0,0,255} |
| char | path [MAX_PATH_LEN] = "" |
| double | rotation =0 |
| #define MAX_PATH_LEN 256 |
| void button_action | ( | EZ_button * | tmp | ) |
| void button_action_switch | ( | EZ_button * | tmp | ) |
| void change_degree | ( | EZ_text_input * | tmp | ) |
| int FileExist | ( | const char * | path | ) |
| void load_image | ( | EZ_text_input * | tmp | ) |
| void load_main_menu | ( | SDL_Renderer * | renderer | ) |
| void main_menu_process_events | ( | SDL_Window * | window, |
| SDL_Renderer * | renderer, | ||
| SDL_Event * | event, | ||
| EZ_MENU * | current_menu ) |
| void unload_main_menu | ( | void | ) |
| EZ_MENU main_menu |
| EZ_DRAWABLE* main_menu_drawables[12] |
| EZ_INTERACTIBLE* main_menu_interactibles[4] |
| void* main_menu_objects[12] |
| SDL_Color MainColor = {0,0,0,255} |
| char path[MAX_PATH_LEN] = "" |
| double rotation =0 |