mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibCore/Timer.h>
 | |
| #include <LibGUI/SettingsWindow.h>
 | |
| #include <LibGUI/SpinBox.h>
 | |
| 
 | |
| namespace DisplaySettings {
 | |
| 
 | |
| class DesktopSettingsWidget : public GUI::SettingsWindow::Tab {
 | |
|     C_OBJECT(DesktopSettingsWidget);
 | |
| 
 | |
| public:
 | |
|     virtual ~DesktopSettingsWidget() override;
 | |
| 
 | |
|     virtual void apply_settings() override;
 | |
| 
 | |
| private:
 | |
|     DesktopSettingsWidget();
 | |
| 
 | |
|     void create_frame();
 | |
|     void load_current_settings();
 | |
| 
 | |
|     RefPtr<GUI::SpinBox> m_workspace_rows_spinbox;
 | |
|     RefPtr<GUI::SpinBox> m_workspace_columns_spinbox;
 | |
| };
 | |
| 
 | |
| }
 | 
