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
3 answers

fltk setting button's active label color

I am using fltk 1.3.2. I set the button's label color with _button->labelcolor(fl_rgb_color(162, 60, 62)); but when I press the button, the color is changed. I couldn't find the function how set the active label color. Does anyone know how to do…
Volkan Ozyilmaz
  • 470
  • 4
  • 19
0
votes
0 answers

segmentation fault while running FLTK based application

I am trying to run an application based on FLTK2.0. The application builds successfully without any error message but when I try to run it only a command line window appears. I ran it in debugger and a popup box appears which says that "the…
0
votes
1 answer

Linking errors in FLTK 2.0 in windows

I am using Qt Creator( without using any of Qt libraries) to test a Hello World project of FLTK2.0. But I am getting errors like: Errors: UpBox.cxx:-1: error: undefined reference to SelectObject@8' UpBox.cxx:-1: error: undefined reference…
0
votes
1 answer

Problems with parameter selection

I am having trouble to pick one of these numbers in fltk. Fl_Input_Choice* OFILE = new Fl_Input_Choice(260, 240, 100, 20, "My Parameters"); OFILE->add("1"); OFILE->add("2"); OFILE->add("3"); If I click over 1, the choice is 1, over…
snoze
  • 123
  • 1
  • 3
  • 12
0
votes
0 answers

Missing variable FLTK_FLUID_EXECUTABLE

While compiling ITKSNAP using ITK,VTK and FLTK on my computer(Windows 7 and Microsft visual studio 2012) shows following error: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable…
Gunjan naik
  • 501
  • 1
  • 7
  • 18
0
votes
0 answers

MVP Passive View approach with FLTK

I have a very basic problem, trying to use FLTK with MVP Passive View as described here. I managed to do it, but it doesn´t feel right the way I´m doing it. I´m having a Fl_Window, containing some Widgets and a Fl_Gl_Window for OpenGL…
Oliver
  • 28
  • 6
0
votes
0 answers

FLTK: OpenGL triangle smoothing

I'm using FLTK 1.3 as base for OpenGL window context creation (Fl_Gl_Window), etc. on Mac OS X 10.9. The goal is to create some grid with simple primitives on it. I've done some easy stuff with OpenGL in 2D before, but now i'm lost. All rendered as…
TSB99X
  • 3,260
  • 2
  • 18
  • 20
0
votes
1 answer

deleting data sent to thread in FLTK using c++

I'm performing a long task, implemented in some function, in a new thread (i.e. not the main GUI thread) in FLTK (in C++). I achieve this with a callback function that in turn creates the thread so that I have something of the form void…
user3353819
  • 911
  • 2
  • 8
  • 21
0
votes
1 answer

FLTK GUI not displaying (Dev-C++)

I am new to C++ (since March) and am currently learning about GUI's. I have a very simple code that runs without error, but no window or GUI is displayed. Here is my code: #include #include int main(int argc, char **…
0
votes
0 answers

FullTIK successor of 2014

i used to program my GUI, long long times ago, using FLTK, under Linux. This library is pretty awsome, but a bit vintage for a modern application. I'm asking to you, which might be a choice of library, any kind of, for modern GUIs based on C/C++?…
rusty81
  • 53
  • 3
  • 10
0
votes
1 answer

How can I go to my previous Fl::window?

Ok, so I'm making a game using FLTK. And I have a function that prints a splash screen that is a subclass of Fl::window that I made with the buttons "Play" and "Rules". When a user clicks "Rules", it prints another Fl::window subclass with a "Back"…
UnworthyToast
  • 825
  • 5
  • 11
  • 21
0
votes
1 answer

hiding a widget from a thread starting in a different tab FLTK

I've come across some weird behaviour in FLTK and am trying to work out how to solve it. Essentially I have this format in main: int main(){ Fl::lock(); //will be doing multithreading win= new…
user3353819
  • 911
  • 2
  • 8
  • 21
0
votes
0 answers

Visual Studio: Change platform from win32 to x64 and keep ALL project settings?

I am trying to build FLTK on x64 platform in VS13 environment. It's a large solution with many projects and I would like to convert them all - so far so good, there are many tutorials how to do it. The problem is that the conversion fails to keep…
Elena
  • 657
  • 1
  • 7
  • 22
0
votes
1 answer

How to sort widgets in FLTK for arrow key navigation to work?

The FLTK Documentation says: The arrow, tab, and shift+tab keys "navigate" the selection. Left, right, tab, or shift+tab move to the next or previous widgets in the hierarchy. If the navigation does not seem to work you probably need to "Sort" the…
harishankarv
  • 328
  • 2
  • 14
0
votes
1 answer

transparency in opengl (using FLTK)

I'm drawing some 3D structures in a Fl_Gl_Window in FLTK's implementation of opengl. This images are drawn and rotated so the code looks something…
user3353819
  • 911
  • 2
  • 8
  • 21