mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 05:35:29 +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
|
#ifndef Fl_Help_Dialog_H
|
||||||
#define Fl_Help_Dialog_H
|
#define Fl_Help_Dialog_H
|
||||||
#include <FL/Fl.H>
|
#include <FL/Fl.H>
|
||||||
|
#include <FL/filename.H>
|
||||||
#include <FL/Fl_Double_Window.H>
|
#include <FL/Fl_Double_Window.H>
|
||||||
#include <FL/Fl_Group.H>
|
#include <FL/Fl_Group.H>
|
||||||
#include <FL/Fl_Button.H>
|
#include <FL/Fl_Button.H>
|
||||||
|
|||||||
@@ -26,17 +26,6 @@
|
|||||||
#include "Fl.H"
|
#include "Fl.H"
|
||||||
#include "Fl_Group.H"
|
#include "Fl_Group.H"
|
||||||
#include "Fl_Scrollbar.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
|
// 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/fl_ask.H>} {private local
|
||||||
}
|
}
|
||||||
|
|
||||||
|
decl {\#include <FL/filename.H>} {public global
|
||||||
|
}
|
||||||
|
|
||||||
class FL_EXPORT Fl_Help_Dialog {open
|
class FL_EXPORT Fl_Help_Dialog {open
|
||||||
} {
|
} {
|
||||||
decl {int index_;} {private local
|
decl {int index_;} {private local
|
||||||
@@ -50,8 +53,8 @@ class FL_EXPORT Fl_Help_Dialog {open
|
|||||||
}
|
}
|
||||||
Function {Fl_Help_Dialog()} {} {
|
Function {Fl_Help_Dialog()} {} {
|
||||||
Fl_Window window_ {
|
Fl_Window window_ {
|
||||||
label {Help Dialog} open
|
label {Help Dialog} selected
|
||||||
private xywh {398 64 530 385} type Double hide resizable size_range {260 150 0 0}
|
private xywh {495 250 530 385} type Double hide resizable size_range {260 150 0 0}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {open
|
Fl_Group {} {open
|
||||||
xywh {10 10 511 25}
|
xywh {10 10 511 25}
|
||||||
@@ -232,7 +235,7 @@ else
|
|||||||
} {
|
} {
|
||||||
code {view_->topline(n);} {}
|
code {view_->topline(n);} {}
|
||||||
}
|
}
|
||||||
Function {topline(int n)} {selected return_type void
|
Function {topline(int n)} {return_type void
|
||||||
} {
|
} {
|
||||||
code {view_->topline(n);} {}
|
code {view_->topline(n);} {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,10 +30,12 @@
|
|||||||
#include <FL/fl_utf8.h>
|
#include <FL/fl_utf8.h>
|
||||||
#include <FL/filename.H> // fl_open_uri()
|
#include <FL/filename.H> // fl_open_uri()
|
||||||
#include <FL/fl_string_functions.h> // fl_strdup()
|
#include <FL/fl_string_functions.h> // fl_strdup()
|
||||||
|
#include <FL/fl_draw.H>
|
||||||
|
#include <FL/filename.H>
|
||||||
#include "flstring.h"
|
#include "flstring.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
// System header files
|
// System and C++ header files
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -41,7 +43,10 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#include <map>
|
||||||
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Debugging
|
// Debugging
|
||||||
|
|||||||
Reference in New Issue
Block a user