diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-08-29 02:20:45 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-08-29 02:20:50 +0200 |
| commit | 814d642e5da5e1be5dbfb609f43b25313487aa11 (patch) | |
| tree | 0e90090dada6aaeab56c8202365c4c768eff17d8 /fluid/sourceview_panel.h | |
| parent | 33353550d9a7c274a338ea40f77a76e5298c7069 (diff) | |
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.
Diffstat (limited to 'fluid/sourceview_panel.h')
| -rw-r--r-- | fluid/sourceview_panel.h | 48 |
1 files changed, 48 insertions, 0 deletions
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 <FL/Fl.H> +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 <FL/Fl_Double_Window.H> +extern void toggle_sourceview_cb(Fl_Double_Window*, void*); +extern Fl_Double_Window *sourceview_panel; +#include <FL/Fl_Tabs.H> +extern Fl_Tabs *sv_tab; +#include <FL/Fl_Group.H> +#include "CodeEditor.h" +extern CodeViewer *sv_source; +extern CodeViewer *sv_header; +extern TextViewer *sv_strings; +extern TextViewer *sv_project; +#include <FL/Fl_Button.H> +#include <FL/Fl_Light_Button.H> +extern Fl_Light_Button *sv_autorefresh; +extern Fl_Light_Button *sv_autoposition; +extern void toggle_sourceview_b_cb(Fl_Button*, void*); +#include <FL/Fl_Box.H> +Fl_Double_Window* make_sourceview(); +#endif + +// |
