@@ -31,7 +31,7 @@ extern "C" {
31
31
* @~english
32
32
* @brief Initialize GUI component calls
33
33
*/
34
- static void gf_gui_init_calls (void ){
34
+ static void gf_gui_init_calls (void ) {
35
35
extern gf_gui_call_t gf_gui_calls [4 ];
36
36
/*** Begin button ***/
37
37
gf_gui_calls [0 ].name = malloc (512 );
@@ -60,11 +60,11 @@ static void gf_gui_init_calls(void){
60
60
* @param gui GUI
61
61
* @param c Component
62
62
*/
63
- static void gf_gui_all_render (gf_gui_t * gui , gf_gui_component_t * c ){
64
- extern void gf_gui_button_render (gf_gui_t * gui , gf_gui_component_t * c );
65
- extern void gf_gui_frame_render (gf_gui_t * gui , gf_gui_component_t * c );
66
- extern void gf_gui_text_render (gf_gui_t * gui , gf_gui_component_t * c );
67
- extern void gf_gui_window_render (gf_gui_t * gui , gf_gui_component_t * c );
63
+ static void gf_gui_all_render (gf_gui_t * gui , gf_gui_component_t * c ) {
64
+ extern void gf_gui_button_render (gf_gui_t * gui , gf_gui_component_t * c );
65
+ extern void gf_gui_frame_render (gf_gui_t * gui , gf_gui_component_t * c );
66
+ extern void gf_gui_text_render (gf_gui_t * gui , gf_gui_component_t * c );
67
+ extern void gf_gui_window_render (gf_gui_t * gui , gf_gui_component_t * c );
68
68
gf_gui_button_render (gui , c );
69
69
gf_gui_frame_render (gui , c );
70
70
gf_gui_text_render (gui , c );
@@ -77,11 +77,11 @@ static void gf_gui_all_render(gf_gui_t* gui, gf_gui_component_t* c){
77
77
* @param gui GUI
78
78
* @param c Component
79
79
*/
80
- static void gf_gui_all_drag (gf_gui_t * gui , gf_gui_component_t * c ){
81
- extern void gf_gui_button_drag (gf_gui_t * gui , gf_gui_component_t * c );
82
- extern void gf_gui_frame_drag (gf_gui_t * gui , gf_gui_component_t * c );
83
- extern void gf_gui_text_drag (gf_gui_t * gui , gf_gui_component_t * c );
84
- extern void gf_gui_window_drag (gf_gui_t * gui , gf_gui_component_t * c );
80
+ static void gf_gui_all_drag (gf_gui_t * gui , gf_gui_component_t * c ) {
81
+ extern void gf_gui_button_drag (gf_gui_t * gui , gf_gui_component_t * c );
82
+ extern void gf_gui_frame_drag (gf_gui_t * gui , gf_gui_component_t * c );
83
+ extern void gf_gui_text_drag (gf_gui_t * gui , gf_gui_component_t * c );
84
+ extern void gf_gui_window_drag (gf_gui_t * gui , gf_gui_component_t * c );
85
85
gf_gui_button_drag (gui , c );
86
86
gf_gui_frame_drag (gui , c );
87
87
gf_gui_text_drag (gui , c );
@@ -94,11 +94,11 @@ static void gf_gui_all_drag(gf_gui_t* gui, gf_gui_component_t* c){
94
94
* @param gui GUI
95
95
* @param c Component
96
96
*/
97
- static void gf_gui_all_click (gf_gui_t * gui , gf_gui_component_t * c ){
98
- extern void gf_gui_button_click (gf_gui_t * gui , gf_gui_component_t * c );
99
- extern void gf_gui_frame_click (gf_gui_t * gui , gf_gui_component_t * c );
100
- extern void gf_gui_text_click (gf_gui_t * gui , gf_gui_component_t * c );
101
- extern void gf_gui_window_click (gf_gui_t * gui , gf_gui_component_t * c );
97
+ static void gf_gui_all_click (gf_gui_t * gui , gf_gui_component_t * c ) {
98
+ extern void gf_gui_button_click (gf_gui_t * gui , gf_gui_component_t * c );
99
+ extern void gf_gui_frame_click (gf_gui_t * gui , gf_gui_component_t * c );
100
+ extern void gf_gui_text_click (gf_gui_t * gui , gf_gui_component_t * c );
101
+ extern void gf_gui_window_click (gf_gui_t * gui , gf_gui_component_t * c );
102
102
gf_gui_button_click (gui , c );
103
103
gf_gui_frame_click (gui , c );
104
104
gf_gui_text_click (gui , c );
0 commit comments