Fl_Help_View: Thin out header file
Some checks failed
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

- remove unnecessary include.
This commit is contained in:
Matthias Melcher
2025-07-05 17:48:30 +02:00
parent 5fb38897b7
commit ccc294f9f7
4 changed files with 13 additions and 15 deletions

View File

@@ -26,6 +26,7 @@
#ifndef Fl_Help_Dialog_H
#define Fl_Help_Dialog_H
#include <FL/Fl.H>
#include <FL/filename.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Button.H>

View File

@@ -26,17 +26,6 @@
#include "Fl.H"
#include "Fl_Group.H"
#include "Fl_Scrollbar.H"
#include "fl_draw.H"
#include "filename.H"
//
// C++ header files
//
#include <map>
#include <vector>
#include <string>
#include <memory>
//
// Forward declarations and typedefs

View File

@@ -36,6 +36,9 @@ decl {\#include "flstring.h"} {private local
decl {\#include <FL/fl_ask.H>} {private local
}
decl {\#include <FL/filename.H>} {public global
}
class FL_EXPORT Fl_Help_Dialog {open
} {
decl {int index_;} {private local
@@ -50,8 +53,8 @@ class FL_EXPORT Fl_Help_Dialog {open
}
Function {Fl_Help_Dialog()} {} {
Fl_Window window_ {
label {Help Dialog} open
private xywh {398 64 530 385} type Double hide resizable size_range {260 150 0 0}
label {Help Dialog} selected
private xywh {495 250 530 385} type Double hide resizable size_range {260 150 0 0}
} {
Fl_Group {} {open
xywh {10 10 511 25}
@@ -232,7 +235,7 @@ else
} {
code {view_->topline(n);} {}
}
Function {topline(int n)} {selected return_type void
Function {topline(int n)} {return_type void
} {
code {view_->topline(n);} {}
}

View File

@@ -30,10 +30,12 @@
#include <FL/fl_utf8.h>
#include <FL/filename.H> // fl_open_uri()
#include <FL/fl_string_functions.h> // fl_strdup()
#include <FL/fl_draw.H>
#include <FL/filename.H>
#include "flstring.h"
//
// System header files
// System and C++ header files
//
#include <stdio.h>
@@ -41,7 +43,10 @@
#include <ctype.h>
#include <errno.h>
#include <math.h>
#include <map>
#include <vector>
#include <string>
#include <memory>
//
// Debugging