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

open image with FLTK on windows

I'm having problem: I was trying to add image to my _fl_group_ but was not able to do so. I was trying to identify where the problem occurs and according to specification on fltk's webpage, if image is opened with fl_JPEG_image(const char* path)…
joasisk
  • 61
  • 1
  • 13
0
votes
1 answer

Open image with FLTK.lib's Fl_JPEG_Image

Hi Im trying to use the FLTK library to draw a bunch of images. My problem is that I cannot open any *.jpg file with FLTK's Fl_JPEG_Image std::vector displayedImages; // my clas containning paths to images loaded from…
joasisk
  • 61
  • 1
  • 13
0
votes
1 answer

Issues with FLTK and concatenated char

I working on FLTK application (C++) and I have to create names to set in a Fl_Browser. Basically this structure receive a "const char*" with browser->add("my string.."); but... I need that each string receive the correct name: "Process" plus the it…
Matheus Hernandes
  • 629
  • 1
  • 6
  • 25
0
votes
1 answer

where to declare object to use it (fltk)

I am having a problem accessing an object or its methods in fltk. I have a Class named MyWindow which is a child class of Fl_Window. so basically i would like to use an object which is either declared int the main or Mywindow in private section. My…
firax
  • 5
  • 5
0
votes
1 answer

c++ FLTK (more buttons with the same callback function)

I've just joined this amazing community to get an answer for a terribly annoying problem. I am trying to create a five in a row game with FLTK. Currently I am just finshing its dumber version the tic tac toe. So my problem is: I create a board from…
firax
  • 5
  • 5
0
votes
0 answers

Visual Studio 2013 Ultimate and fltk 1.3.0

I am trying to Build fltk 1.3.0 and i am taking 13 errors which are the same as oy can see below Error 1 error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools,…
John K
  • 1
  • 1
  • 2
0
votes
1 answer

I don't understand how to make buttons in FLTK

#include "std_lib_facilities_4.h" #include "Window.h" #include "Graph.h" #include "GUI.h" #include using namespace Graph_lib; using namespace std; struct Lines_window:Graph_lib::Window{ Lines_window(Point xy, int w, int h,…
user4172380
0
votes
1 answer

How can I complete the build of fltk 1.1.10 in Visual Studio 2013?

I am trying to build fltk 1.1.10 in Visual Studio 2013 but I get the warning "fltk.sln: Visual Studio needs to make non-functional changes to this project in order to enable the project to open in Visual Studio 2013, Visual Studio 2012, and Visual…
Jasmin
  • 3
  • 2
0
votes
1 answer

Cross-platform WebViews

I want to contribute to the FLTK project by offering an Fl_WebView. For that matter, I am looking for the WebView classes on Mac, Windows and Linux. For OS X, I know that it is NSWebView. But what are the others, how similar are they?
Ingwie Phoenix
  • 2,703
  • 2
  • 24
  • 33
0
votes
1 answer

FLTK Getting value from input on button release

I've done some tutorials and can get some things to print when I press a button but I cannot figure out how to store a value that is inserted into an input widget buy the user into a variable for me to use. I'm new to C++ and FLTK so I'm not sure if…
user4342836
  • 43
  • 2
  • 10
0
votes
1 answer

No VC/inc folder in my MSVS 2013 directory

I'm trying to add FLTK to MSVS 2013 and I'm copying the .lib files into vc/inc but I cannot find the folder anywhere. Under the Visual Studio 2013 folder all I have is ArchitectureExplorer, Backup Files, Code Snippets, Projects, Settings,…
user4342836
  • 43
  • 2
  • 10
0
votes
0 answers

are network libraries exist in FLTK c++ like FTP or TCP

I'm trying to make a FTP client using Fltk c++ and i can't find any network classes/libraries to deal with fltk so; does fltk have any classes? (Sorry For Bad English) and thanks
0
votes
1 answer

Fl_Scroll initial scroll values

I'm using FLTK for a project (the version distributed with Debian/sid 1.3.2-6+b1) and I'm having some trouble initializing Fl_Scroll's content scroll values. I create a Fl_Double_Window and on the right side a vertical panel using Fl_Scroll, it is…
Alex
  • 3,264
  • 1
  • 25
  • 40
0
votes
2 answers

Creating an instance of a derived class from a base class (C++ using FLTK to build a GUI)

I am coding the arcade game pong for an introduction to c++ project at university. The game has a one player practice mode where the ball simply bounces off the opposite side of the screen and a two player mode using the w and s keys for player 1's…
0
votes
0 answers

OpenGL Immediate Mode texture draws as black box (in FLTK provided context)

I'm trying to display a 128x128 array of floats (0.0 -> 1.0) as a texture of green on black within a legacy FLTK application. The rest of the application uses immediate mode for all it's drawing, so I don't want to change the way it works. From…
Thomas
  • 11,757
  • 4
  • 41
  • 57