forked from Green-Sky/tomato
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			410 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			410 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <string>
 | |
| 
 | |
| class ToxClient;
 | |
| struct ConfigModelI;
 | |
| struct ToxPrivateI;
 | |
| 
 | |
| class ToxUIUtils {
 | |
| 	bool _show_add_friend_window {false};
 | |
| 	bool _show_add_group_window {false};
 | |
| 
 | |
| 	ToxClient& _tc;
 | |
| 	ConfigModelI& _conf;
 | |
| 	ToxPrivateI* _tp {nullptr};
 | |
| 
 | |
| 	char _chat_id[32*2+1] {};
 | |
| 
 | |
| 	public:
 | |
| 		ToxUIUtils(
 | |
| 			ToxClient& tc,
 | |
| 			ConfigModelI& conf,
 | |
| 			ToxPrivateI* tp = nullptr
 | |
| 		);
 | |
| 
 | |
| 		void render(void);
 | |
| };
 | |
| 
 |