| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected