-
Notifications
You must be signed in to change notification settings - Fork 8
/
mainwindow.h
55 lines (50 loc) · 957 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
* ========================
* File: mainwindow.h
*
* Author: Joseph Kenyon
*
* Desc: Main window will show
* all the effects, from here
* you can select which one to
* choose and you'll be taken to
* the correct effect page.
*
* Last Updated: 04/05/2021
*
* ========================
*/
#ifndef __MAIN_WINDOW_H_
#define __MAIN_WINDOW_H_
#include "main.h"
/**
* @brief Intialise the main window!
* We are simply filling the button_names
* buffer with the names of the effects.
*
* @param None
*
* @retval None
*
*/
void mainwindow_init(void);
/**
* @brief Draw the main window
* onto the GLCD.
*
* @param None
*
* @retval None
*/
void mainwindow_draw(void);
/**
* @brief Handle touch event on the main window
*
* @param x X position of touch
* @param x Y position of touch
*
* @retval None
*
*/
void mainwindow_handletouch(int x, int y);
#endif