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
1 answer

Anyone know how to use FLTK straight from Notepad++?

Or if it's even possible? I downloaded Pocket C++ and I'm not too sure if it would work since it has its own version of Notepad++ in the folder it comes in. from the pocketcpp website (https://code.google.com/p/pocketcpp/) : "Portable and easy to…
user11892
  • 103
  • 5
0
votes
1 answer

C++: How to store the value of an FLTK textbox in a variable within another class

Here's a skeleton of my code - class FLTK_win; //class declaration before full definition so it can be used in the other class //first of the classes class functions { public: void…
airdas
  • 872
  • 2
  • 11
  • 19
0
votes
0 answers

OpenGL - Not getting background color

I am trying to build a simple OpenGL application in C++. I am using FLTK to build a Window, and within that I am drawing using OpenGL. The following is my code: // Make the GUI here #define WIN32 #include #include #include…
johngreen
  • 2,676
  • 5
  • 32
  • 47
0
votes
1 answer

Using GLUT in FLTK

My application consists of regular FLTK widgets (buttons, etc.), and an OpenGL window. My intention is to use GLUT to draw in this OpenGL Window. As per instructions here: You should be able to compile existing GLUT source code by including …
johngreen
  • 2,676
  • 5
  • 32
  • 47
0
votes
1 answer

Using FLTK & C++ : Derive a new class “Smiley” from existing class “Circle”

My assignment is to derive a new class called Smiley from an existing class called Circle. I am using FLTK & C++. Circle is: struct Circle : Shape { Circle(Point p, int rr) // center and radius :r(rr) {…
user11892
  • 103
  • 5
0
votes
1 answer

FLTK color if statement

is there a way to write an if statement in an fltk project such that it looks at the colour of an Fl_Box, and then returns a value? Something like this: if(color(Fl_Box)==FL_Blue) {int i=0} Thanks in advance.
Aegir
  • 117
  • 11
0
votes
1 answer

MathGL and FLTK cmake on Mac OS X: Not finding symbols

I'm having trouble getting cmake to find and link the necessary libraries for MathGL and FLTK. Linking CXX executable filter.app/Contents/MacOS/filter Undefined symbols for architecture x86_64: "_mgl_create_graph_fltk", referenced from: …
Translunar
  • 3,739
  • 33
  • 55
0
votes
0 answers

fltk, opengl, textures and SOIL in visual studio 2013

I have made an application in c++, using FLTK 1.3.2 on Mac OSX and am happy with its functionality and now need to produce a Win32 version (a motivating reason for using FLTK) I can get basic FLTK code to run on Windows now, but have come up against…
user3353819
  • 911
  • 2
  • 8
  • 21
0
votes
0 answers

FLTK Displaying Special Characters in FL_Table

Ive been recently using FLTK with c++ for a few weeks. All is great. For some odd reason I'm having trouble displaying characters like "@" and "." For example: If i try to display an email address as FL_Box->label("test@test.com") only "test"…
user3284667
  • 71
  • 3
  • 9
0
votes
1 answer

How to install FLTK project template in Xcode 6?

I downloaded FLTK 1.3.2 and the instructions for xcode 4 say that is enough to copy the FLTK folder (inside ide/Xcode4/Project Templates) into /Developer/Library/Xcode/Project/Templates/Other. So I did, but it seems like things have changed from…
Ramy Al Zuhouri
  • 21,580
  • 26
  • 105
  • 187
0
votes
1 answer

push_back(new triangle)

In C++ by FLTK, to define a circle we use some code like this: Circle c(Point(x,y), r); And we can using vector_ref put and save them in a vector, like: Vector_ref vc; vc.push_back(new Circle(Point(x,y),r)); OK, those were about Circle and…
Aria
  • 97
  • 1
  • 8
0
votes
1 answer

C++ FLTK 1.30 MSVCR120.dll Missing

My current problem, with the C++ FLTK library (v 1.30), is that I have never been able to create a Release Build that properly works on other PC's. While reading through "Programming Principles and Practice using C++" by Bjarne Stroustrup, I've…
Cupcake1029
  • 23
  • 1
  • 4
0
votes
1 answer

fltk change tab group programmatically

I am using fltk 1.3.2, I use Fl_Tabs class with Fl_Group classes. I create groups and I want to change selected tab programmatically. When tabs open it shows first tab, I want to change and for example second tab should be showed. Is it possible?…
Volkan Ozyilmaz
  • 470
  • 4
  • 19
0
votes
1 answer

fltk set Fl_File_Chooser's Fl_File_Browser's selection_color

I am using fltk 1.3.2. I couldn't find the way Fl_File_Chooser's Fl_File_Browser's selection_color but I needed it. I looked at the codes of Fl_File_Chooser to inherit for my custom file chooser but the fileList item (type Fl_File_Browser) is in…
Volkan Ozyilmaz
  • 470
  • 4
  • 19
0
votes
1 answer

fltk widget order, button is hide under another widget

I am using fltk 1.3.2. I have two widgets, one of them is Fl_Multiline_Output and other one is Fl_Button. The button is a place on the the multiline_output. When I click multiline_output, the button is disappeared. I need to use always on top…
Volkan Ozyilmaz
  • 470
  • 4
  • 19