refactor surface for HelloScroll

This commit is contained in:
idea4good
2020-02-13 20:16:32 +08:00
parent cbe8b00161
commit 7bfa841027
4 changed files with 159 additions and 191 deletions

View File

@@ -92,10 +92,6 @@ public:
m_wnd_rect.m_right = (x + width - 1);
m_wnd_rect.m_bottom = (y + height - 1);
c_rect rect;
get_screen_rect(rect);
ASSERT(m_surface->is_valid(rect));
pre_create_wnd();
if (0 != parent)