From 814d642e5da5e1be5dbfb609f43b25313487aa11 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 29 Aug 2023 02:20:45 +0200 Subject: FLUID: separate SourceView panel into its own file hereby removing almost 200 lines of unrelated code form fluid.cxx and making the location of the panel code more obvious. Needs a make depend on Linux. --- fluid/sourceview_panel.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 fluid/sourceview_panel.h (limited to 'fluid/sourceview_panel.h') diff --git a/fluid/sourceview_panel.h b/fluid/sourceview_panel.h new file mode 100644 index 000000000..88b37450c --- /dev/null +++ b/fluid/sourceview_panel.h @@ -0,0 +1,48 @@ +// +// Code dialogs for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998-2023 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 +// file is missing or damaged, see the license at: +// +// https://www.fltk.org/COPYING.php +// +// Please see the following page on how to report bugs and issues: +// +// https://www.fltk.org/bugs.php +// + +// generated by Fast Light User Interface Designer (fluid) version 1.0400 + +#ifndef sourceview_panel_h +#define sourceview_panel_h +#include +void update_sourceview_position(); +void update_sourceview_position_cb(class Fl_Tabs*, void*); +void update_sourceview_cb(class Fl_Button*, void*); +void update_sourceview_timer(void*); +void sourceview_defer_update(); +void sourceview_toggle_visibility(); +#include +extern void toggle_sourceview_cb(Fl_Double_Window*, void*); +extern Fl_Double_Window *sourceview_panel; +#include +extern Fl_Tabs *sv_tab; +#include +#include "CodeEditor.h" +extern CodeViewer *sv_source; +extern CodeViewer *sv_header; +extern TextViewer *sv_strings; +extern TextViewer *sv_project; +#include +#include +extern Fl_Light_Button *sv_autorefresh; +extern Fl_Light_Button *sv_autoposition; +extern void toggle_sourceview_b_cb(Fl_Button*, void*); +#include +Fl_Double_Window* make_sourceview(); +#endif + +// -- cgit v1.2.3