mirror of
https://github.com/fltk/fltk.git
synced 2026-02-06 00:01:57 +08:00
Fl_Help_View: Thin out header file
- remove unnecessary include.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);} {}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user