New key mapping: W, resize window to fit image
This commit is contained in:
		
							
								
								
									
										5
									
								
								window.h
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								window.h
									
									
									
									
									
								
							@@ -56,14 +56,15 @@ typedef struct win_s {
 | 
			
		||||
void win_open(win_t*);
 | 
			
		||||
void win_close(win_t*);
 | 
			
		||||
 | 
			
		||||
void win_set_title(win_t*, const char*);
 | 
			
		||||
 | 
			
		||||
int win_configure(win_t*, XConfigureEvent*);
 | 
			
		||||
int win_resize(win_t*, unsigned int, unsigned int);
 | 
			
		||||
 | 
			
		||||
void win_toggle_fullscreen(win_t*);
 | 
			
		||||
 | 
			
		||||
void win_clear(win_t*);
 | 
			
		||||
void win_draw(win_t*);
 | 
			
		||||
 | 
			
		||||
void win_set_title(win_t*, const char*);
 | 
			
		||||
void win_set_cursor(win_t*, win_cur_t);
 | 
			
		||||
 | 
			
		||||
#endif /* WINDOW_H */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user