From 11bf9b28da63ee26632b6cf72aeba16115daf9b3 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Mon, 16 Sep 2002 01:35:34 +0000
Subject: Move Fl_Help_Dialog to fltk_images library.
Add "Additional Libraries" section to docos as needed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/Fl_BMP_Image.html | 6 ++++++
documentation/Fl_GIF_Image.html | 6 ++++++
documentation/Fl_Gl_Window.html | 32 ++++++++++++++++++++++----------
documentation/Fl_Help_Dialog.html | 6 ++++++
documentation/Fl_JPEG_Image.html | 6 ++++++
documentation/Fl_PNG_Image.html | 6 ++++++
documentation/Fl_PNM_Image.html | 6 ++++++
documentation/Fl_XBM_Image.html | 6 ++++++
documentation/Fl_XPM_Image.html | 6 ++++++
src/Fl_Help_Dialog.cxx | 2 ++
src/Fl_Help_Dialog.fl | 11 ++++++-----
src/Makefile | 6 +++---
test/help.cxx | 6 ++----
visualc/fltk.lib.dsp | 4 ----
visualc/fltkimages.dsp | 4 ++++
15 files changed, 87 insertions(+), 26 deletions(-)
diff --git a/documentation/Fl_BMP_Image.html b/documentation/Fl_BMP_Image.html
index 7f920813e..06dffe26e 100644
--- a/documentation/Fl_BMP_Image.html
+++ b/documentation/Fl_BMP_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_BMP_Image.H>
+Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_BMP_Image class supports loading, caching,
diff --git a/documentation/Fl_GIF_Image.html b/documentation/Fl_GIF_Image.html
index 543bfcc30..f67911a12 100644
--- a/documentation/Fl_GIF_Image.html
+++ b/documentation/Fl_GIF_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_GIF_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_GIF_Image class supports loading, caching,
diff --git a/documentation/Fl_Gl_Window.html b/documentation/Fl_Gl_Window.html
index fd5957e57..84bddd7e0 100644
--- a/documentation/Fl_Gl_Window.html
+++ b/documentation/Fl_Gl_Window.html
@@ -1,21 +1,32 @@
-
+
+
+
+
+
+
Class Hierarchy
-
+
+
Fl_Window
|
+----Fl_Gl_Window
-
-
+
+
Include Files
-
+
+
#include <FL/Fl_Gl_Window.H>
-
-
+
+
+Additional Libraries
+
+
+-lfltk_gl / fltkgl.lib
+
+
Description
The Fl_Gl_Window widget sets things up so OpenGL works, and
also keeps an OpenGL "context" for that window, so that changes to the
@@ -208,4 +219,5 @@ Fl_Gl_Window::valid() and set the same transformation. If you
don't your code may not work on other systems. Depending on the OS,
and on whether overlays are real or simulated, the OpenGL context may
be the same or different between the overlay and main window.
-
+
+
diff --git a/documentation/Fl_Help_Dialog.html b/documentation/Fl_Help_Dialog.html
index e414019ab..26d07f783 100644
--- a/documentation/Fl_Help_Dialog.html
+++ b/documentation/Fl_Help_Dialog.html
@@ -20,6 +20,12 @@ Fl_Group
#include "Fl_Help_Dialog.h"
+Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_Help_Dialog widget displays a standard help dialog window
diff --git a/documentation/Fl_JPEG_Image.html b/documentation/Fl_JPEG_Image.html
index 74c609b24..06b57f9e6 100644
--- a/documentation/Fl_JPEG_Image.html
+++ b/documentation/Fl_JPEG_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_JPEG_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_JPEG_Image class supports loading, caching,
diff --git a/documentation/Fl_PNG_Image.html b/documentation/Fl_PNG_Image.html
index a87ac5455..164863486 100644
--- a/documentation/Fl_PNG_Image.html
+++ b/documentation/Fl_PNG_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_PNG_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_PNG_Image class supports loading, caching,
diff --git a/documentation/Fl_PNM_Image.html b/documentation/Fl_PNM_Image.html
index 7b761c5f9..70f058bc6 100644
--- a/documentation/Fl_PNM_Image.html
+++ b/documentation/Fl_PNM_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_PNM_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_PNM_Image class supports loading, caching,
diff --git a/documentation/Fl_XBM_Image.html b/documentation/Fl_XBM_Image.html
index 38a88c28d..22180f8bf 100644
--- a/documentation/Fl_XBM_Image.html
+++ b/documentation/Fl_XBM_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_XBM_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_XBM_Image class supports loading, caching,
diff --git a/documentation/Fl_XPM_Image.html b/documentation/Fl_XPM_Image.html
index 821751937..e53dfaded 100644
--- a/documentation/Fl_XPM_Image.html
+++ b/documentation/Fl_XPM_Image.html
@@ -20,6 +20,12 @@
#include <FL/Fl_XPM_Image.H>
+
Additional Libraries
+
+
+-lfltk_images / fltkimages.lib
+
+
Description
The Fl_XPM_Image class supports loading, caching,
diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx
index b2e9844c2..0a4f06620 100644
--- a/src/Fl_Help_Dialog.cxx
+++ b/src/Fl_Help_Dialog.cxx
@@ -152,6 +152,8 @@ forward_->deactivate();
index_ = -1;
max_ = 0;
+
+fl_register_images();
}
Fl_Help_Dialog::~Fl_Help_Dialog() {
diff --git a/src/Fl_Help_Dialog.fl b/src/Fl_Help_Dialog.fl
index e948ed08e..c5ddabd98 100644
--- a/src/Fl_Help_Dialog.fl
+++ b/src/Fl_Help_Dialog.fl
@@ -4,8 +4,7 @@ header_name {../FL/Fl_Help_Dialog.H}
code_name {.cxx}
decl {\#include "flstring.h"} {}
-decl {\#include } {selected
-}
+decl {\#include } {}
class Fl_Help_Dialog {open
} {
@@ -55,8 +54,8 @@ else if (view_->filename())
} {}
Fl_Button {} {
label Close
- callback {window_->hide();}
- xywh {425 350 95 25}
+ callback {window_->hide();} selected
+ private xywh {425 350 95 25}
code0 {o->label(fl_close);}
}
Fl_Button back_ {
@@ -116,7 +115,9 @@ smaller_->activate();}
forward_->deactivate();
index_ = -1;
-max_ = 0;} {}
+max_ = 0;
+
+fl_register_images();} {}
}
Function {~Fl_Help_Dialog()} {} {
code {delete window_;} {}
diff --git a/src/Makefile b/src/Makefile
index 419cd6680..dcb6f4bc4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.18.2.14.2.47 2002/08/09 01:09:49 easysw Exp $"
+# "$Id: Makefile,v 1.18.2.14.2.48 2002/09/16 01:35:34 easysw Exp $"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
@@ -47,7 +47,6 @@ CPPFILES = \
Fl_File_Icon.cxx \
Fl_File_Input.cxx \
Fl_Group.cxx \
- Fl_Help_Dialog.cxx \
Fl_Help_View.cxx \
Fl_Image.cxx \
Fl_Input.cxx \
@@ -170,6 +169,7 @@ IMGCPPFILES = \
Fl_BMP_Image.cxx \
Fl_File_Icon2.cxx \
Fl_GIF_Image.cxx \
+ Fl_Help_Dialog.cxx \
Fl_JPEG_Image.cxx \
Fl_PNG_Image.cxx \
Fl_PNM_Image.cxx
@@ -565,5 +565,5 @@ uninstall:
#
-# End of "$Id: Makefile,v 1.18.2.14.2.47 2002/08/09 01:09:49 easysw Exp $".
+# End of "$Id: Makefile,v 1.18.2.14.2.48 2002/09/16 01:35:34 easysw Exp $".
#
diff --git a/test/help.cxx b/test/help.cxx
index 5dc6b4c22..ce58fea0d 100644
--- a/test/help.cxx
+++ b/test/help.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: help.cxx,v 1.1.2.7 2002/07/15 23:39:22 easysw Exp $"
+// "$Id: help.cxx,v 1.1.2.8 2002/09/16 01:35:34 easysw Exp $"
//
// Fl_Help_Dialog test program.
//
@@ -45,8 +45,6 @@ main(int argc, // I - Number of command-line arguments
Fl_Help_Dialog *help; // Help dialog
- fl_register_images();
-
help = new Fl_Help_Dialog;
if (argc < 2)
@@ -65,5 +63,5 @@ main(int argc, // I - Number of command-line arguments
//
-// End of "$Id: help.cxx,v 1.1.2.7 2002/07/15 23:39:22 easysw Exp $".
+// End of "$Id: help.cxx,v 1.1.2.8 2002/09/16 01:35:34 easysw Exp $".
//
diff --git a/visualc/fltk.lib.dsp b/visualc/fltk.lib.dsp
index 4aa93433b..9cbbf1cc0 100644
--- a/visualc/fltk.lib.dsp
+++ b/visualc/fltk.lib.dsp
@@ -299,10 +299,6 @@ SOURCE=..\src\Fl_Group.cxx
# End Source File
# Begin Source File
-SOURCE=..\src\Fl_Help_Dialog.cxx
-# End Source File
-# Begin Source File
-
SOURCE=..\src\Fl_Help_View.cxx
# End Source File
# Begin Source File
diff --git a/visualc/fltkimages.dsp b/visualc/fltkimages.dsp
index e13a942d1..3df36a91f 100644
--- a/visualc/fltkimages.dsp
+++ b/visualc/fltkimages.dsp
@@ -95,6 +95,10 @@ SOURCE=..\src\Fl_GIF_Image.cxx
# End Source File
# Begin Source File
+SOURCE=..\src\Fl_Help_Dialog.cxx
+# End Source File
+# Begin Source File
+
SOURCE=..\src\fl_images_core.cxx
# End Source File
# Begin Source File
--
cgit v1.2.3