diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-11-09 23:12:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-09 23:12:55 +0100 |
| commit | 56cba05672faa953f3e078de6a2db2992dd888b9 (patch) | |
| tree | 8eca88e7f9293ff5c8052762c4d195dd719692a8 /fluid/CodeEditor.h | |
| parent | f41861976b35bfeceed0ffca1b3b97dd89257a55 (diff) | |
Fluid Fl_Widget::image() path fixes. (#536)
* Adding strings and design file to source view panel
* Fluid: Fixed source dir recursion, fixed relative image reading path.
* Renaming source_dir to designfile_dir in some functions.
Diffstat (limited to 'fluid/CodeEditor.h')
| -rw-r--r-- | fluid/CodeEditor.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fluid/CodeEditor.h b/fluid/CodeEditor.h index dcbb292e1..767c960ee 100644 --- a/fluid/CodeEditor.h +++ b/fluid/CodeEditor.h @@ -2,7 +2,7 @@ // Code editor widget for the Fast Light Tool Kit (FLTK). // Syntax highlighting rewritten by erco@seriss.com 09/15/20. // -// Copyright 1998-2021 by Bill Spitzak and others. +// Copyright 1998-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -66,4 +66,12 @@ protected: void draw(); }; +// ---- DesignViewer declaration + +class DesignViewer : public Fl_Text_Display { +public: + DesignViewer(int X, int Y, int W, int H, const char *L=0); + int top_line() { return get_absolute_top_line_number(); } +}; + #endif // !CodeEditor_h |
