Skip to content

Commit

Permalink
update fltk
Browse files Browse the repository at this point in the history
  • Loading branch information
MoAlyousef committed Apr 12, 2024
1 parent ae43f73 commit d9a7358
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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.4.27)
set(CFLTK_PROJECT_VERSION 1.4.29)

project(
cfltk
Expand Down
4 changes: 2 additions & 2 deletions include/cfl_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ void Fl_Terminal_print_char_utf8(Fl_Terminal *self, const char *txt, int len);
// Note: Fl_Terminal_printf not supported for Rust
void Fl_Terminal_printf(Fl_Terminal *self, const char *fmt, ...);

void Fl_Terminal_put_char(Fl_Terminal *self, char c, int row, int col);
void Fl_Terminal_plot_char(Fl_Terminal *self, char c, int row, int col);

void Fl_Terminal_put_char_utf8(
void Fl_Terminal_plot_char_utf8(
Fl_Terminal *self, const char *txt, int len, int row, int col
);

Expand Down
8 changes: 4 additions & 4 deletions src/cfl_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,14 +705,14 @@ void Fl_Terminal_print_char_utf8(Fl_Terminal *self, const char *txt, int len) {
LOCK(self->print_char(txt, len));
}

void Fl_Terminal_put_char(Fl_Terminal *self, char c, int row, int col) {
LOCK(self->putchar(c, row, col));
void Fl_Terminal_plot_char(Fl_Terminal *self, char c, int row, int col) {
LOCK(self->plot_char(c, row, col));
}

void Fl_Terminal_put_char_utf8(
void Fl_Terminal_plot_char_utf8(
Fl_Terminal *self, const char *txt, int len, int drow, int dcol
) {
LOCK(self->putchar(txt, len, drow, dcol));
LOCK(self->plot_char(txt, len, drow, dcol));
}

float Fl_Terminal_redraw_rate(Fl_Terminal const *self) {
Expand Down

0 comments on commit d9a7358

Please sign in to comment.