mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 05:10:57 +00:00 
			
		
		
		
	
		
			
	
	
		
			21 lines
		
	
	
	
		
			412 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
	
		
			412 B
		
	
	
	
		
			C
		
	
	
	
	
	
|   | #pragma once
 | ||
|  | 
 | ||
|  | #include <LibGUI/GWidget.h>
 | ||
|  | 
 | ||
|  | class GLabel; | ||
|  | 
 | ||
|  | class GStatusBar : public GWidget { | ||
|  | public: | ||
|  |     explicit GStatusBar(GWidget* parent); | ||
|  |     virtual ~GStatusBar() override; | ||
|  | 
 | ||
|  |     String text() const; | ||
|  |     void set_text(String&&); | ||
|  | 
 | ||
|  | private: | ||
|  |     virtual const char* class_name() const override { return "GStatusBar"; } | ||
|  |     virtual void paint_event(GPaintEvent&) override; | ||
|  | 
 | ||
|  |     GLabel* m_label { nullptr }; | ||
|  | }; |