mirror of
https://github.com/fltk/fltk.git
synced 2026-02-06 00:01:57 +08:00
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
This commit is contained in:
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_BMP_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_BMP_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_GIF_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_GIF_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -1,21 +1,32 @@
|
||||
<HTML><BODY>
|
||||
<HTML>
|
||||
<BODY>
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
|
||||
<H2><A name=Fl_Gl_Window>class Fl_Gl_Window</A></H2>
|
||||
|
||||
<HR>
|
||||
|
||||
<H3>Class Hierarchy</H3>
|
||||
<UL>
|
||||
<PRE>
|
||||
|
||||
<UL><PRE>
|
||||
<A href=Fl_Window.html#Fl_Window>Fl_Window</A>
|
||||
|
|
||||
+----<B>Fl_Gl_Window</B>
|
||||
</PRE>
|
||||
</UL>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Include Files</H3>
|
||||
<UL>
|
||||
<PRE>
|
||||
|
||||
<UL><PRE>
|
||||
#include <FL/Fl_Gl_Window.H>
|
||||
</PRE>
|
||||
</UL>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_gl / fltkgl.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
The <TT>Fl_Gl_Window</TT> 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()</TT> 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. </P>
|
||||
</BODY></HTML>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -20,6 +20,12 @@ Fl_Group
|
||||
#include "Fl_Help_Dialog.h"
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <CODE>Fl_Help_Dialog</CODE> widget displays a standard help dialog window
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_JPEG_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_JPEG_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_PNG_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_PNG_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_PNM_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_PNM_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_XBM_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_XBM_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -20,6 +20,12 @@
|
||||
#include <FL/Fl_XPM_Image.H>
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Additional Libraries</H3>
|
||||
|
||||
<UL><PRE>
|
||||
-lfltk_images / fltkimages.lib
|
||||
</PRE></UL>
|
||||
|
||||
<H3>Description</H3>
|
||||
|
||||
<P>The <TT>Fl_XPM_Image</TT> class supports loading, caching,
|
||||
|
||||
@@ -152,6 +152,8 @@ forward_->deactivate();
|
||||
|
||||
index_ = -1;
|
||||
max_ = 0;
|
||||
|
||||
fl_register_images();
|
||||
}
|
||||
|
||||
Fl_Help_Dialog::~Fl_Help_Dialog() {
|
||||
|
||||
@@ -4,8 +4,7 @@ header_name {../FL/Fl_Help_Dialog.H}
|
||||
code_name {.cxx}
|
||||
decl {\#include "flstring.h"} {}
|
||||
|
||||
decl {\#include <FL/fl_ask.H>} {selected
|
||||
}
|
||||
decl {\#include <FL/fl_ask.H>} {}
|
||||
|
||||
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_;} {}
|
||||
|
||||
@@ -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 $".
|
||||
#
|
||||
|
||||
@@ -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 $".
|
||||
//
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user