| 4069 | // ---------------------------------------------------------------------------------------- |
| 4070 | |
| 4071 | bool text_grid:: |
| 4072 | is_editable ( |
| 4073 | unsigned long row, |
| 4074 | unsigned long col |
| 4075 | ) const |
| 4076 | { |
| 4077 | auto_mutex M(m); |
| 4078 | DLIB_ASSERT ( row < number_of_rows() && col < number_of_columns(), |
| 4079 | "\tbool text_grid::is_editable(row,col)" |
| 4080 | << "\n\trow: " << row |
| 4081 | << "\n\tcol: " << col |
| 4082 | << "\n\tnumber_of_rows(): " << number_of_rows() |
| 4083 | << "\n\tnumber_of_columns(): " << number_of_columns() |
| 4084 | << "\n\tthis: " << this |
| 4085 | ); |
| 4086 | return grid[row][col].is_editable; |
| 4087 | } |
| 4088 | |
| 4089 | // ---------------------------------------------------------------------------------------- |
| 4090 |
nothing calls this directly
no outgoing calls
no test coverage detected