remove deprecated code
This commit is contained in:
		
							parent
							
								
									46b5e423b5
								
							
						
					
					
						commit
						7e310f33f7
					
				@ -107,17 +107,8 @@ namespace detail
 | 
				
			|||||||
		drawable_impl_type();
 | 
							drawable_impl_type();
 | 
				
			||||||
		~drawable_impl_type();
 | 
							~drawable_impl_type();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if 0	//deprecated
 | 
					 | 
				
			||||||
		unsigned get_color() const;
 | 
					 | 
				
			||||||
		unsigned get_text_color() const;
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
		void set_color(const ::nana::color&);
 | 
							void set_color(const ::nana::color&);
 | 
				
			||||||
		void set_text_color(const ::nana::color&);
 | 
							void set_text_color(const ::nana::color&);
 | 
				
			||||||
#if 0	//deprecated
 | 
					 | 
				
			||||||
	private:
 | 
					 | 
				
			||||||
		unsigned color_{ 0xffffffff };
 | 
					 | 
				
			||||||
		unsigned text_color_{0xffffffff};
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	class platform_spec
 | 
						class platform_spec
 | 
				
			||||||
 | 
				
			|||||||
@ -341,18 +341,6 @@ namespace detail
 | 
				
			|||||||
		string.whitespace_pixels = 0;
 | 
							string.whitespace_pixels = 0;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if 0	//deprecated
 | 
					 | 
				
			||||||
	unsigned drawable_impl_type::get_color() const
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		return color_;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	unsigned drawable_impl_type::get_text_color() const
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		return text_color_;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void drawable_impl_type::set_color(const ::nana::color& clr)
 | 
						void drawable_impl_type::set_color(const ::nana::color& clr)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		bgcolor_rgb = (clr.px_color().value & 0xFFFFFF);
 | 
							bgcolor_rgb = (clr.px_color().value & 0xFFFFFF);
 | 
				
			||||||
 | 
				
			|||||||
@ -42,18 +42,6 @@ namespace detail
 | 
				
			|||||||
		::DeleteObject(pixmap);
 | 
							::DeleteObject(pixmap);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if 0	//deprecated
 | 
					 | 
				
			||||||
	unsigned drawable_impl_type::get_color() const
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		return color_;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	unsigned drawable_impl_type::get_text_color() const
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		return text_color_;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define NANA_WINDOWS_RGB(a)	(((DWORD)(a) & 0xFF)<<16) |  ((DWORD)(a) & 0xFF00) | (((DWORD)(a) & 0xFF0000) >> 16 )
 | 
					#define NANA_WINDOWS_RGB(a)	(((DWORD)(a) & 0xFF)<<16) |  ((DWORD)(a) & 0xFF00) | (((DWORD)(a) & 0xFF0000) >> 16 )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	void drawable_impl_type::set_color(const ::nana::color& clr)
 | 
						void drawable_impl_type::set_color(const ::nana::color& clr)
 | 
				
			||||||
 | 
				
			|||||||
@ -90,10 +90,6 @@ namespace detail
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
		drawable_impl_type();
 | 
							drawable_impl_type();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if 0	//deprecated
 | 
					 | 
				
			||||||
		unsigned get_color() const;
 | 
					 | 
				
			||||||
		unsigned get_text_color() const;
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
		void set_color(const ::nana::color&);
 | 
							void set_color(const ::nana::color&);
 | 
				
			||||||
		void set_text_color(const ::nana::color&);
 | 
							void set_text_color(const ::nana::color&);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -104,10 +100,6 @@ namespace detail
 | 
				
			|||||||
		drawable_impl_type& operator=(const drawable_impl_type&) = delete;
 | 
							drawable_impl_type& operator=(const drawable_impl_type&) = delete;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		unsigned current_color_{ 0xFFFFFF };
 | 
							unsigned current_color_{ 0xFFFFFF };
 | 
				
			||||||
#if 0	//deprecated		
 | 
					 | 
				
			||||||
		unsigned color_{ 0xFFFFFFFF };
 | 
					 | 
				
			||||||
		unsigned text_color_{ 0xFFFFFFFF };
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	struct atombase_tag
 | 
						struct atombase_tag
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user