forked from zwickethomas/Photonics-Helfer
		
	add title
This commit is contained in:
		
							parent
							
								
									e404159cbe
								
							
						
					
					
						commit
						873f940725
					
				@ -165,9 +165,14 @@ void print_speedrun(int terminal_width, int terminal_height, int speed_time){
 | 
				
			|||||||
void print_menu(int terminal_width, int terminal_height, int line){
 | 
					void print_menu(int terminal_width, int terminal_height, int line){
 | 
				
			||||||
    clear_terminal();
 | 
					    clear_terminal();
 | 
				
			||||||
    printf("Drücke ? für Hilfe\n");
 | 
					    printf("Drücke ? für Hilfe\n");
 | 
				
			||||||
    print_blank_lines((terminal_height - 19) / 2);
 | 
					    print_blank_lines((terminal_height - 23) / 2);
 | 
				
			||||||
    int spaces = (terminal_width - 41) / 2;
 | 
					    int spaces = (terminal_width - 41) / 2;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        print_line("╔═══════════════════════════════════════╗", spaces, ";34");
 | 
				
			||||||
 | 
					        print_line("║  Photonics Helfer                     ║", spaces, ";34");
 | 
				
			||||||
 | 
					        print_line("╚═══════════════════════════════════════╝", spaces, ";34");
 | 
				
			||||||
 | 
					        printf("\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        print_line("┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓", spaces, (0 <= line && line < 1) ? ";31": ";37");
 | 
					        print_line("┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓", spaces, (0 <= line && line < 1) ? ";31": ";37");
 | 
				
			||||||
        print_line("┃  1 Ramen Physik                       ┃", spaces, (0 <= line && line < 1) ? ";31": ";37");
 | 
					        print_line("┃  1 Ramen Physik                       ┃", spaces, (0 <= line && line < 1) ? ";31": ";37");
 | 
				
			||||||
        print_line("┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫", spaces, (0 <= line && line < 2) ? ";31": ";37");
 | 
					        print_line("┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫", spaces, (0 <= line && line < 2) ? ";31": ";37");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user