| 4115 | // ---------------------------------------------------------------------------------------- |
| 4116 | |
| 4117 | void text_grid:: |
| 4118 | set_column_width ( |
| 4119 | unsigned long col, |
| 4120 | unsigned long width |
| 4121 | ) |
| 4122 | { |
| 4123 | auto_mutex M(m); |
| 4124 | DLIB_ASSERT ( col < number_of_columns(), |
| 4125 | "\tvoid text_grid::set_column_width(col,width)" |
| 4126 | << "\n\tcol: " << col |
| 4127 | << "\n\tnumber_of_columns(): " << number_of_columns() |
| 4128 | << "\n\twidth: " << width |
| 4129 | << "\n\tthis: " << this |
| 4130 | ); |
| 4131 | col_width[col] = width; |
| 4132 | compute_total_rect(); |
| 4133 | compute_bg_rects(); |
| 4134 | } |
| 4135 | |
| 4136 | // ---------------------------------------------------------------------------------------- |
| 4137 |
nothing calls this directly
no outgoing calls
no test coverage detected