Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Nov 10, 2023
1 parent dec8f60 commit f3c9d76
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/cfl_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@
int widget##_down_box(const widget *self) { \
LOCK(auto ret = self->down_box()); \
return ret; \
}\
void widget##_set_compact(widget *self, unsigned char v) { LOCK(self->compact(v)); } \
unsigned char widget##_compact(const widget *self) { LOCK(auto ret = self->compact()); return ret; }
} \
void widget##_set_compact(widget *self, unsigned char v) { \
LOCK(self->compact(v)); \
} \
unsigned char widget##_compact(const widget *self) { \
LOCK(auto ret = self->compact()); \
return ret; \
}

WIDGET_CLASS(Fl_Button)

Expand Down

0 comments on commit f3c9d76

Please sign in to comment.