Questions tagged [fltk]

FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and Mac OS X.

FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.

FLTK is designed to be small and modular enough to be statically linked, but works fine as a shared library. FLTK also includes an excellent UI builder called FLUID that can be used to create applications in minutes.

FLTK is provided under the terms of the GNU Library Public License, Version 2 with exceptions that allow for static linking, a fact that makes it attractive to anyone who wants to use it in proprietary applications.

NOTE:The platforms listed in the excerpt are not the only platforms FLTK works on, but you may see them as the only supported platforms (by the FLTK development team). FLTK is known to work on eComStation, QNX, AIX, IRIX, OpenVMS, and literally any platform with X Window System.

483 questions
0
votes
2 answers

How to change focus between widgets using arrow keys?

I am working on a UI in FLTK, and my basic problem boils down to this: I have a bunch of widgets on a main Window (input, output, button widgets). Say, 16 items (4rows x 4 coloumns). I need to navigate between the widgets using the arrow keys.…
harishankarv
  • 328
  • 2
  • 14
0
votes
1 answer

Linking errors with MinGW and FLTK

I know very little about C++, I'm used to Java where compiling is so simple! Anyways, I'm trying to use Eclipse Kepler to write a program that implements the FLTK graphics library. I think my compiler is MinGW. Here is what it prints out when I…
Joe Johnson
  • 177
  • 1
  • 7
0
votes
1 answer

How do I get the FLTK library to run in Visual Studio 2012 Prfessional?

I would like to start off with saying I am a very novice programmer. I have downloaded and re-downloaded many different libraries claiming to be the FLTK library that will run with Visual Studio 2012, and after reading countless ways to install it,…
0
votes
2 answers

implementing trackball rotation in opengl with FLTK: how to 'remember' successive rotations

I'm working on a FLTK project (my first attempt at GUIs and opengl: please bear with me!) and have an Fl_Gl_Window which displays various things depending on some other widgets. One of the options is to display the contents of the screen in 3D and…
user3353819
  • 911
  • 2
  • 8
  • 21
0
votes
2 answers

How to make an expandable window or dialog in FLTK?

I want an 'expandable' window/widget.When clicking a button on the current window, another widget will shows up, which is attached to the current window, and it can be 'fold' back if clicking the button again. It is not a pop-up window which is…
0
votes
0 answers

Error while compiling ITK/FLTK program in C:\Program Files\FLTK\include\FL\math.h

I want to compile a program using ITK & FLTK in Windows. Visual Studio 2010 shows me the following error: C:\Program Files\FLTK\include\FL\math.h(22): fatal error C1083: Cannot open include file: '/usr/include/math.h': No such file or directory How…
0
votes
1 answer

C++ FLTK 1.3.2: up-to-date screen, handling events and non-blocking sleep

I am writing a FLTK-based GUI application - RAM Machine. I would like my method to sleep for let's say 1 second after each executed order, keep the screen up to date and accessible, not to block events handling etc. at the same time. And the problem…
0
votes
1 answer

How to insert a button into a window specified by a Fl_Window*?

Fl_Window *win = new Fl_Window(width, height, "title"); b1 = new Fl_Button(0, 0, 120, 30); win->end(); b2 = new Fl_Button(130, 0, 120, 30); win->show();//argc,argv); Fl::run(); Here, second button b2 will not be shown, because after the call to…
exebook
  • 32,014
  • 33
  • 141
  • 226
0
votes
1 answer

Makefile combining fltk and C++ files

I'm trying to make a C++ program with added FLTK library. Separately, files compile. But - I don't know how to combine them into one working file. I think it may be something to do with makefile: COMP=g++ COMP_FLAGS=$(-Wall -g…
0
votes
0 answers

FLTK Fl_Window inside another Fl_Window?

Can I insert one window inside another? It must be full feature, so that it receives mouse events, can be focused for keyboard input (or disabled to not receive), could be resized and have an ondraw. Can you give an example or describe?
exebook
  • 32,014
  • 33
  • 141
  • 226
0
votes
1 answer

What is main difference between FLTK 1.1 and 1.3

#aptitude search fltk|grep dev p libfltk1.1-dev - Fast Light Toolkit - development files p libfltk1.3-dev - Fast Light Toolkit - development files Why to choose one over another?
exebook
  • 32,014
  • 33
  • 141
  • 226
0
votes
1 answer

Whenever I try to link a library I get an error

I'm trying to learn FLTK for C++ and I'm working on a Macbook with the clang++ compiler. Whenever I try to link the library like this: clang++ -L/usr/local/lib -lfltk It gives me this error: clang: warning: argument unused during compilation:…
blockaj
  • 329
  • 4
  • 13
0
votes
1 answer

Interface class inside callback function causes crash

The code is pretty straigh-forward. The code works if there isn't IDumb and I pass dumbClass directly to dumbWin. But when dumbClass has IDumb interface, the code crashes at print(). using namespace std; class IDumb { public : virtual void print()…
harsh
  • 905
  • 1
  • 10
  • 21
0
votes
0 answers

FLTK pop-up dialog hangs when tried to hide

I made a pop-up window for my application which is called ApplicationManager. It's a simple input dialog box which waits for user input for 10 secs. If no value entered, the pop-up closes. I already got this part working. Now I am struggling with…
harsh
  • 905
  • 1
  • 10
  • 21
0
votes
3 answers

What is the meaning of this linker error from MS VC++ 2010

I just installed the FLTK library and a bunch of header files from Stroustrup's homepage.... I know it can't find some file, but can any give me any ideas on what specifically maybe be the problem? 1>Graph.obj : error LNK2019: unresolved external…
user2904033
  • 133
  • 1
  • 3
  • 13