| [ Submit Article | Link To Search Results ]
21 article(s) found, showing 11 to 21:
|
369 | How Do I Compile FLTK?
| Jan 29, 2005 | 0 | |
|
| In most cases you can just type "make". This will
run configure with the default of no options and then compile
everything. | |
|
370 | How Do I Compile FLTK Under Microsoft Windows?
| Jan 29, 2005 | 4 | |
|
| There are two ways to build FLTK under Microsoft Windows. The
first is to use the Visual C++ 6.0 project files under the
"visualc" directory. Just open (or double-click on)
the "fltk.dsw" file to get the whole shebang, and
buil... | |
|
371 | Why Does FLTK Use the DLL Link Model?
| Jan 29, 2005 | 0 | |
|
| Microsoft's fundamental problem with its three different
styles (actually six) of linking libraries is exactly that: a
Microsoft problem.
| |
|
372 | How Do I Use the FLTK DLL?
| Jan 29, 2005 | 0 | |
|
| When compiling an application or DLL that uses the FLTK DLL, you
will need to define the FL_DLL preprocessor symbol to get the
correct linkage commands embedded within the FLTK header files.
| |
|
373 | Why Doesn't My FLTK Application Link?
| Jan 29, 2005 | 0 | |
|
|
The most common link error involves a missing select() function,
which is located in the WSOCK32.LIB or WS2_32.LIB
libraries. You'll also need to link against the FLTK library (obviously),
which is the F... | |
|
374 | How Can I Use Anti-Aliased Fonts?
| Jan 29, 2005 | 0 | |
|
| Configure FLTK with the --enable-xft option, e.g.:
| |
|
375 | Directing All Input to a Window
| Jan 29, 2005 | 0 | |
|
|
FLTK supports modal windows, which force all input to the currently
visible modal window. You can make a window modal by using the
Fl_Window::set_modal()
method.
| |
|
376 | Waiting for a Window to Close
| Jan 29, 2005 | 0 | |
|
|
The easiest way to wait for a window to close is to use the
Fl_Window::shown()
and Fl::wait() methods in a
while loop:
| |
|
377 | Adding Global Keyboard Shortcuts
| Jan 29, 2005 | 0 | |
|
|
You can make the menubar shortcuts apply to all windows by using the
Fl_Menu_Bar::global()
method.
| |
|
379 | How Can I Use a Class Method as a Callback?
| Jan 29, 2005 | 2 | |
|
| To get the this pointer for the class you can pass the
pointer as the user_data argument for your callback. Typically
this is then used to call a non-static method:
class MyClass {
static... | |
|
380 | How Can I Change the Window Icon?
| Jan 29, 2005 | 0 | |
|
|
See Appendix F - Operating System
Specific Issues in the FLTK Programming Manual. Specifically, read the
sections on the Fl_Window::icon() method.
| |
|
| |