MCPcopy Create free account
hub / github.com/davisking/dlib / set_row_height

Method set_row_height

dlib/gui_widgets/widgets.cpp:4138–4155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4136// ----------------------------------------------------------------------------------------
4137
4138 void text_grid::
4139 set_row_height (
4140 unsigned long row,
4141 unsigned long height
4142 )
4143 {
4144 auto_mutex M(m);
4145 DLIB_ASSERT ( row < number_of_rows() ,
4146 "\tvoid text_grid::set_row_height(row,height)"
4147 << "\n\trow: " << row
4148 << "\n\tnumber_of_rows(): " << number_of_rows()
4149 << "\n\theight: " << height
4150 << "\n\tthis: " << this
4151 );
4152 row_height[row] = height;
4153 compute_total_rect();
4154 compute_bg_rects();
4155 }
4156
4157// ----------------------------------------------------------------------------------------
4158

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected