mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:02:45 +00:00 
			
		
		
		
	WindowServer: Make it possible to turn off window title bars (#88)
Also, Launcher now does not use titlebars. Only check if titlebar should be shown if the window type works with that.
This commit is contained in:
		
							parent
							
								
									cb9134a2ca
								
							
						
					
					
						commit
						957f8b84f2
					
				
					 9 changed files with 54 additions and 11 deletions
				
			
		|  | @ -46,6 +46,9 @@ public: | |||
|     String title() const; | ||||
|     void set_title(const String&); | ||||
| 
 | ||||
|     bool show_titlebar() const { return m_show_titlebar; }; | ||||
|     void set_show_titlebar(bool show) { m_show_titlebar = show; }; | ||||
| 
 | ||||
|     Color background_color() const { return m_background_color; } | ||||
|     void set_background_color(Color color) { m_background_color = color; } | ||||
| 
 | ||||
|  | @ -154,4 +157,5 @@ private: | |||
|     bool m_modal { false }; | ||||
|     bool m_resizable { true }; | ||||
|     bool m_fullscreen { false }; | ||||
|     bool m_show_titlebar { true }; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Christopher Dumas
						Christopher Dumas