/** * Sets the grow factor for a column. * * @todo refer to a page with the layout manipulation info. * * @param column The column to modify. * @param factor The grow factor. */ void set_column_grow_factor(const unsigned column, const unsigned factor) { assert(column< col_grow_factor_.size()); col_grow_factor_[column] = factor; set_dirty(); }
void Button::on_leave() { hover = false; set_dirty(true); }
/** * Sets the grow factor for a row. * * @todo refer to a page with the layout manipulation info. * * @param row The row to modify. * @param factor The grow factor. */ void set_row_grow_factor(const unsigned row, const unsigned factor) { assert(row < row_grow_factor_.size()); row_grow_factor_[row] = factor; set_dirty(); }
void AISRecentEntryDetailView::set_entry(const AISRecentEntry& entry) { entry_ = entry; set_dirty(); }
void Button::on_enter() { hover = true; set_dirty(true); }
void gen_asm_addr(IR *ir) { int x = allocate(ir->rd); set_dirty(x); emit_asm(addiu, "%s, $sp, %d # get %s's address", reg_to_s(x), sp_offset - ir->rs->address, print_operand(ir->rs)); }
void set_variable(const std::string& key, const variant& value) { variables_.add(key, value); set_dirty(); }
void Channel::on_statistics_update(const ChannelStatistics& statistics) { max_db_ = statistics.max_db; set_dirty(); }
void RSSI::on_statistics_update(const RSSIStatistics& statistics) { min_ = statistics.min; avg_ = statistics.accumulator / statistics.count; max_ = statistics.max; set_dirty(); }
void help_text_area::show_topic(const topic &t) { shown_topic_ = &t; set_items(); set_dirty(true); }
void widget::set_clip_rect(const SDL_Rect& rect) { clip_rect_ = rect; clip_ = true; set_dirty(true); }
const SDL_Color& label::set_colour(const SDL_Color& colour) { colour_ = colour; set_dirty(); return get_colour(); }
void set_best_slider_length(const unsigned length) { best_slider_length_ = length; set_dirty(); }
void file_buffer_t::set_line_endings(line_ending_t le, bool force) { set_line_endings_impl(le, force); set_dirty(true); }