mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:32:44 +00:00 
			
		
		
		
	 1682f0b760
			
		
	
	
		1682f0b760
		
	
	
	
	
		
			
			SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			506 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			506 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibGUI/Dialog.h>
 | |
| 
 | |
| namespace Breakout {
 | |
| class LevelSelectDialog : public GUI::Dialog {
 | |
|     C_OBJECT(LevelSelectDialog)
 | |
| public:
 | |
|     virtual ~LevelSelectDialog() override;
 | |
|     static int show(int& board_number, Window* parent_window);
 | |
|     int level() const { return m_level; }
 | |
| 
 | |
| private:
 | |
|     explicit LevelSelectDialog(Window* parent_window);
 | |
|     void build();
 | |
| 
 | |
|     int m_level;
 | |
| };
 | |
| }
 |