tweak: allow configurable width and height
and set a default of 500, 400
This commit is contained in:
		
							parent
							
								
									374128fccc
								
							
						
					
					
						commit
						a69d72f42b
					
				|  | @ -28,6 +28,8 @@ | |||
| #define ZOOM 1	    /* Starting zoom level */ | ||||
| #define ZOOM_VAL .1 /* Zooming value in zoomin/zoomout functions */ | ||||
| #define BG_COLOR "#1E1E2E" | ||||
| #define WIDTH 500 | ||||
| #define HEIGHT 400 | ||||
| 
 | ||||
| typedef enum { | ||||
| 	goback, | ||||
|  |  | |||
							
								
								
									
										2
									
								
								rose.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								rose.c
									
									
									
									
									
								
							|  | @ -296,7 +296,7 @@ void setup(GtkNotebook *notebook, const char *uri) | |||
| 	bar = GTK_HEADER_BAR(gtk_header_bar_new()); | ||||
| 	search_buf = GTK_ENTRY_BUFFER(gtk_entry_buffer_new("", 0)); | ||||
| 	search = GTK_ENTRY(gtk_entry_new_with_buffer(search_buf)); | ||||
| 
 | ||||
|         gtk_window_set_default_size(window, WIDTH, HEIGHT); | ||||
| 	window_init(notebook); | ||||
| 	notebook_init(notebook, uri); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user