remove deprecated code

This commit is contained in:
Jinhao 2019-07-01 07:56:29 +08:00
parent 46b5e423b5
commit 7e310f33f7
4 changed files with 0 additions and 41 deletions

View File

@ -107,17 +107,8 @@ namespace detail
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_text_color(const ::nana::color&);
#if 0 //deprecated
private:
unsigned color_{ 0xffffffff };
unsigned text_color_{0xffffffff};
#endif
};
class platform_spec

View File

@ -341,18 +341,6 @@ namespace detail
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)
{
bgcolor_rgb = (clr.px_color().value & 0xFFFFFF);

View File

@ -42,18 +42,6 @@ namespace detail
::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 )
void drawable_impl_type::set_color(const ::nana::color& clr)

View File

@ -90,10 +90,6 @@ namespace detail
#endif
drawable_impl_type();
#if 0 //deprecated
unsigned get_color() const;
unsigned get_text_color() const;
#endif
void set_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;
unsigned current_color_{ 0xFFFFFF };
#if 0 //deprecated
unsigned color_{ 0xFFFFFFFF };
unsigned text_color_{ 0xFFFFFFFF };
#endif
};
struct atombase_tag