void textbox::set_inner_location(SDL_Rect const &rect) { bg_register(rect); if (text_image_.null()) return; text_pos_ = 0; update_text_cache(false); }
void palette_manager::adjust_size() { scroll_top(); const SDL_Rect& rect = gui_.palette_area(); set_location(rect); palette_start_ = rect.y; bg_register(rect); active_palette().adjust_size(rect); set_dirty(); }
void menu::set_inner_location(SDL_Rect const &rect) { itemRects_.clear(); update_scrollbar_grip_height(); bg_register(rect); }
void widget::update_location(SDL_Rect const &rect) { bg_register(rect); }
void help_text_area::set_inner_location(SDL_Rect const &rect) { bg_register(rect); if (shown_topic_) set_items(); }