summaryrefslogtreecommitdiff
path: root/fluid/sourceview_panel.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-24 15:36:03 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-24 15:36:11 +0200
commit238b3a1be4d4bcc816ca886947e81fadfbe33012 (patch)
treeffec732a5f5653f299e625e19caf12ddc9733a2d /fluid/sourceview_panel.h
parente8d218109e246b14df0cdf2d818e2575c8108e9f (diff)
FLUID: Adds Reveal button to SourceView
Position your text cursor in the source header, or .fl project file text preview and click reveal, and the corresponding node will be selected. Double will open the corresponding editor.
Diffstat (limited to 'fluid/sourceview_panel.h')
-rw-r--r--fluid/sourceview_panel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fluid/sourceview_panel.h b/fluid/sourceview_panel.h
index 52b3a9566..0893fe395 100644
--- a/fluid/sourceview_panel.h
+++ b/fluid/sourceview_panel.h
@@ -38,12 +38,13 @@ extern CodeViewer *sv_header;
extern TextViewer *sv_strings;
extern TextViewer *sv_project;
#include <FL/Fl_Button.H>
+#include <FL/Fl_Input.H>
+#include <FL/Fl_Box.H>
#include <FL/Fl_Light_Button.H>
extern Fl_Light_Button *sv_autorefresh;
extern Fl_Light_Button *sv_autoposition;
#include <FL/Fl_Choice.H>
extern Fl_Choice *sv_code_choice_w;
-#include <FL/Fl_Box.H>
extern void toggle_sourceview_b_cb(Fl_Button*, void*);
Fl_Double_Window* make_sourceview();
extern Fl_Menu_Item menu_sv_code_choice_w[];