Skip to content

Commit

Permalink
Add Fl_Table_Row_clear_rows
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Jan 3, 2025
1 parent 463adc6 commit 536b5e2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.0)
set(CFLTK_PROJECT_VERSION 1.5.1)
set(CFLTK_PROJECT_VERSION 1.5.2)

project(
cfltk
Expand Down
3 changes: 3 additions & 0 deletions include/cfl_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ int Fl_Table_Row_select_row(Fl_Table_Row *self, int row, int flag);

void Fl_Table_Row_select_all_rows(Fl_Table_Row *self, int flag);

void Fl_Table_Row_clear_rows(Fl_Table_Row *self);


#ifdef __cplusplus
}
#endif
Expand Down
4 changes: 4 additions & 0 deletions src/cfl_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,7 @@ int Fl_Table_Row_select_row(Fl_Table_Row *self, int row, int flag) {
void Fl_Table_Row_select_all_rows(Fl_Table_Row *self, int flag) {
LOCK(self->select_all_rows(flag));
}

void Fl_Table_Row_clear_rows(Fl_Table_Row *self) {
LOCK(self->clear());
}

0 comments on commit 536b5e2

Please sign in to comment.