Welcome To FOX!
our motto:
Write Once, Compile Anywhere!
Last update: 8/29/2001
What Is FOX?
FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and effectively. It offers a wide, and growing, collection of Controls, and provides state of the art facilities such as drag and drop, selection, as well as OpenGL widgets for 3D graphical manipulation. FOX also implements icons, images, and user-convenience features such as status line help, and tooltips. Tooltips may even be used for 3D objects!
Considerable importance has been placed on making FOX one of the fastest toolkits around, and to minimize memory use:- FOX uses a number of techniques to speed up drawing and spatial layout of the GUI. Memory is conserved by allowing programmers to create and destroy GUI elements on the fly.
Even though FOX offers a large collection of Controls already, FOX leverages C++ to allow programmers to easily build additional Controls and GUI elements, simply by taking existing controls, and creating a derived class which simply adds or redefines the desired behavior.
One of the prime design goals of FOX is the ease of programming; thus, most controls can be created using a single line of C++ code; most parameters have sensible default values, so that they may be omitted, and layout managers ensure that designers of GUI's do not have to worry about precise alignments.
Another nice feature of FOX which significantly reduces the number of lines of code which have to be written is FOX's ability to have widgets connect to each other, and passing certain commands between them; for example, a menu entry Hide Toolbar can be directly connected to the Toolbar, and cause it to hide.
Finally, FOX makes it easy to maintain the state of the GUI in an application
by having the GUI elements automatically updating themselves by interrogating
the application's state. This feature eliminates the large amount
of effort that may go into sensitizing, graying out, checking/unchecking
etc. depending on the application state.
Where to get it?
You can FTP the complete FOX toolkit from one of the sites below:
Main Site via FTP: | ftp://ftp.fox-toolkit.org/pub |
Main Site via HTTP: | http://www.fox-toolkit.org/ftp/ |
North America: | ftp://ftp.cfdrc.com/pub/FOX/ |
Germany: | ftp://SunSITE.Informatik.RWTH-Aachen.DE/pub/Linux/fox |
The most recently released version can be downloaded from by clicking on:
fox-latest.tar.gz (Unix),
or fox-latest.zip (Windows).
The current development snapshot is obtained from:
fox-snapshot.tar.gz (Unix) or
fox-snapshot.zip (Windows).
This is the bleeding edge development version which represents a recent snapshot of
the CVS tree; caveat emptor!
Mailing Lists
We now have two mailing lists:
The announce list is a low-traffic list on which new releases of various software
based on FOX will be announced, including new releases of the library itself.
Discussions on various topics however should preferably take place in the users list,
to prevent swamping people's mailboxes. To subscribe, send a mail to foxgui-announce-request@lists.sourceforge.net with the word subscribe in the message body, or fill out a web-based subscription form. |
|
The users list is intended for discussion on various FOX topics between developers and/or users of
the FOX library or applications based on it. If you have questions, feel free to post your
questions here, as many people [including myself] are only too happy to answer them. To subscribe, send a mail to foxgui-users-request@lists.sourceforge.net with the word subscribe in the message body, or fill out a web-based subscription form. |
We recommend at least subscribing to the announce list to stay abreast of new releases of the library and applications.
The announce list is being archived by GeoCrawler, and the discussion list is there also. This facility was provided automatically be switching over to Source Forge. The old FOX mailing list has been archived at: http://www.egroups.com/list/fox-users/ and at eScribe. This has been set up by Thomas Jordan.
FOX project pages are provided at the FOX Source Forge web site.
Reporting Bugs.
We are tracking bugs in the FOX library in a Bugs Database.
While most little things are fixed as soon as they're reported on the mailing list, the Bugs Database
is nice to keep some problems which are more involved on the table. So please report your bugs
here!
Thanks to Daniel Gehriger, the contents of the old FOX bugs
tracking system has been moved into the new Bugs Database.
Everyone please report bugs to this new list instead of the old one, and please consult the existing
reports prior to filing your bug.
Solutions to any of the bugs in the list are of course received with gratitude.
FOX-Based Projects and Screen Shots
Below follows a list of FOX projects currently being undertaken by various people and organizations. The list is necessarily incomplete, and if I have left your project out please let me know and I'll add it.
Support for OpenGL and Mesa.
The FOX Library provides convenient Widgets for OpenGL
and Mesa, The FXGLCanvas Widget
provides a very basic 3D drawable, while the FXGLViewer provides a 3D viewer
complete with essential camera operations such as rotation, zooming, etc.
The FOX FXGLVisual class takes care of all the grunt work of setting up a visual / pixel format capable of OpenGL rendering with various depths and color buffers.
Here's an example of the FOX OpenGL Widget being used for a 3D visualization in a Turbo Machinery Application:
Visualization of the NASA 1.15 Pressure Ratio Fan
FOX may be compiled with either the MESA Graphics Library,
or with Native OpenGL support.
Currently, FOX is oblivious to which of the two libraries the application links to, but
there is still a configure-option for Mesa v.s. OpenGL for the purpose of linking the test
programs. See INSTALL for details.
FOX is Platform Independence!
The list of platforms is growing! Currently, we have FOX running on a large
number of operating systems, ranging from Linux, FreeBSD, SGI IRIX, HP-UX, IBM AIX, SUN Solaris,
DEC/Compaq Tru64 UNIX, to MS-Window operating systems like Windows 9x, Windows NT, Windows ME and
Windows 2000.
Since most of the FOX implementation is completely oblivious to the underlying platform (in many
cases it is not even including header files), applications work virtually identically on all these
platforms.
For example, here is the FOX textedit
sample application running under Windows NT. And here
is the same application running on a Silicon
Graphics Octane system.
Table of Contents.
What FOX is, why it was written, and what are its main features. | |
A quick introduction to programming with FOX, and an overview of the concepts used in FOX development. | |
How FOX notifies applications about the users actions, mouse clicks and state changes through messages sent to a target. | |
FOX automatically updates the application's controls through the use of messages send during the GUI Update Phase. This section explains how to use this feature and | |
Timer, Chore, and Signal messages allow FOX applications to react to other events which are not generated by the end user. Internet sockets, pipes, and other synchronization objects can be watched by means of the Input callback messages, and provide ways for FOX programs to receive inputs from a variety of sources | |
The application object is responsible for managing windows, events, and other common facilities. | |
The
FXWindow Class
|
The basic FXWindow class, which is the basis of all FOX controls is explained in more detail. |
The FOX Layout Managers provide a convenient way of arranging your GUI Widgets without the need for explicit specification of coordinates and dimensions. | |
Keyboard
Focus
|
How the keyboard focus is moved around from one widget to another, and what is the effect of this. |
Enrich your applications with icons. With FOX's built-in icon and image classes, this becomes very easy. | |
The Font object provides easy and platform-independent methods for speciying fonts. | |
The FOX Data Targets allow you to directly connect variables in your application code to FOX GUI Controls. Using the declarative programming style made possible by the Data Targets, simple tasks such as entry and display of choices, numbers, and strings can be accomplished with a minimum amount of programming. | |
Help
and Tool Tips
|
Status line help and Tooltips are a nice way of allowing users to learn about a program without consulting oracles to devine the meaning of an icon-button. |
The FOX Registry | The FOX Registry database provides a facility to manage persistent settings for configuration information in your program. |
Drag and drop are part and parcel of any modern GUI driven application. FOX provides a number of convenient hooks to allow you to move data between different Widgets, and even between different applications running on different hosts. | |
Using the OpenGL Viewer | FOX provides a convenient way to start with 3D OpenGL programming. The GLCanvas widget provides a basic 3D drawing surface. The GLViewer widget provides a complete camera model and interactive manipulation capability, including 3D picking, dragging, and Tooltips. |
FOX provides serialization of both data and objects in a machine-independent, portable manner, by means of its built-in Stream classes. | |
FOX is designed to make it easy to build new widgets. As FOX is completely implemented in C++, you can use common C++ derivation to create new Widgets from existing ones. | |
This UNOFFICIAL FOX Documentation is provided by Lyle Johnson; future official FOX documentation may look differently. | |
This section contains some notes for building FOX applications under Microsoft Windows. | |
Frequently Asked Questions List. |
The FOX project owes a debt of gratitude to CFD Research Corp., which has allowed me to develop this library under the GNU Library Public License, supplied web-hosting and moreover has allowed substantial contributions made by other CFDRC employees to be incorporated into the library. Please take a minute to visit the CFD Research web page.