diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-12-28 21:37:23 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-12-28 21:37:30 +0100 |
| commit | f5e7d62f90f5eb88afad45d56017c42835149d0c (patch) | |
| tree | d1fae5330c7c107776626466e17aabc3844e6f84 /fluid/widgets | |
| parent | 22c17302616acad9e4eb735d897948dee28942ae (diff) | |
Generate code block documentation using FLTK (#1353)
The Doxygen-to-pdf toolchain can not easily generate
pdf's with Japanese and Chinese characters. This patch
generates code blocks by rendering them in FLTK.
Diffstat (limited to 'fluid/widgets')
| -rw-r--r-- | fluid/widgets/Code_Editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/widgets/Code_Editor.h b/fluid/widgets/Code_Editor.h index 49afe7e25..fec57727c 100644 --- a/fluid/widgets/Code_Editor.h +++ b/fluid/widgets/Code_Editor.h @@ -53,6 +53,7 @@ public: Code_Editor(int X, int Y, int W, int H, const char *L=nullptr); ~Code_Editor(); void textsize(Fl_Fontsize s); + Fl_Fontsize textsize() const { return Fl_Text_Editor::textsize(); } /// access to protected member get_absolute_top_line_number() int top_line() { return get_absolute_top_line_number(); } |
