您最多选择25个主题
			主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
		
		
		
		
		
			
		
			
				
					
					
						
							26 行
						
					
					
						
							434 B
						
					
					
				
			
		
		
	
	
							26 行
						
					
					
						
							434 B
						
					
					
				#ifndef SELECTIONBOX_H | 
						|
#define SELECTIONBOX_H | 
						|
 | 
						|
#include <string> | 
						|
 | 
						|
#include "window.h" | 
						|
 | 
						|
class SelectionBox : public Window | 
						|
{ | 
						|
public: | 
						|
	SelectionBox(int height, int width); | 
						|
 | 
						|
	void update(); | 
						|
	void resize(); | 
						|
 | 
						|
	unsigned char select(std::string str, std::string *selection); | 
						|
	void printSelection(std::string str, std::string *selection); | 
						|
 | 
						|
private: | 
						|
	bool isNumber(const std::string &s); | 
						|
 | 
						|
	int height; | 
						|
	int width; | 
						|
}; | 
						|
 | 
						|
#endif // SELECTIONBOX_H
 | 
						|
 |