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

using external libraries with msys - minGW

I want to write and compile C++ code that requires the FLTK 1.3.2 GUI libraries. I would like to use minGW with MSYS. I have installed minGW and MSYS properly and have been able to build FLTK with ./configure make. Everything worked up to this…
0
votes
1 answer

How to link libraries on eclipse in this situation?

I have a c++ project can be complied well by using cmake. But when I go to eclipse, there are some problems. Description Resource Path Location Type undefined reference to `FcMatrixRotate' test_new line 0, external location:…
Yao
  • 127
  • 3
  • 13
0
votes
1 answer

Looking for a robust and complete fltk and tk based window managers and file managers

I came across two least known window managers and file managers more suited for freebsd, and based on entirely different api, i.e. fltk and tk: 1) flwm (fltk window manager) and whim (tkwm, tk window manager). 2) flfm/mfm file manager and tkDesk…
0
votes
1 answer

FLTK popup window inside main window

I wonder how can I pop up a window within the main window, that is, the child window can be moved freely only inside the main window. I want something like Photoshop interface: You can open several images inside the main window. When minimizing,…
0
votes
1 answer

FLTK choice widget with editable field

FL_Choise widget allows just select an item present in drop-down. Is there any way to have combo box with editable field, i.e. which allows to specify custom value not present in the list?
ChatCloud
  • 1,152
  • 2
  • 8
  • 22
0
votes
1 answer

How to make FLTK 1.3.0 support Chinese in Ubuntu Linux?

I want to write a program with GUI, so I use FLTK. But the Chinese display as "????" in Ubuntu Linux. WinXP is OK. I know FLTK support UTF8, and I guarantee the code sources is UTF8. What I should Do? Change system settings or change my C++…
easyeagel
  • 83
  • 5
0
votes
2 answers

FLTK draw pixmap gives segfault

I'm trying to draw a xpm file in a C++ program with FLTK. Here's the code #include #include #include "image.xpm" #include #include #include int main(int argc, char **…
Gonzo
  • 1,533
  • 16
  • 28
0
votes
2 answers

Code::Blocks linking not working, on prompt it does

I'm having quite a bit of trouble linking a test project of FLTK I'm doing on Code::Blocks, Windows 7. After spending quite a lot of time understanding how to put the libraries in the correct order, I managed to get the project nearly done. However…
Svalorzen
  • 5,353
  • 3
  • 30
  • 54
-1
votes
1 answer

Building FLTK Project with CMAKE/CONAN

I'm fairly new to C++ / CMake, but I'd like to create a project with FLTK using CMAKE and CONAN as package manager. I'm using Windows 11, but trying to get it to run under WSL (Ubuntu 20.04). My WSL-version supports GUI applications. When I install…
-1
votes
1 answer

How to use fltk graphic library with visual studio (community) 2022 for C++ project on Windows 11 PC

I have tried downloading the files from the website and try using it directing it but it needs to be compile or generated i guess. I am new to learning C++ and fltk graphic library. Thanks in advance
hklsb
  • 47
  • 8
-1
votes
1 answer

How do I call an FLTK code in a function?

I am a newbie to Rust and am using FLTK to build an interface. I have the following main code. below that is a function I want to call to build a Group. If in the main.rs I pull the code from wallet_add and put it into the spot where it is called…
John
  • 1
  • 3
-1
votes
2 answers

Why this error? Cannot we use format macro inside function parenthesis?

Code: fltk::frame::Frame::new(0,0, 300, 100, format!("side item {}", i)); Output Error: the trait `std::convert::From` is not implemented for `std::option::Option<&'static str>`
Santo K. Thomas
  • 153
  • 2
  • 12
-1
votes
2 answers

How to set a size of Fl_Text_Editor?

At this moment, I have a target to write a simple text editor using C++. Due to the fact that I need my textbox to be inside of my window, so when I change my window size, it has to change it size too. Here's my code: int main(int argc, char **argv)…
Leha KH
  • 3
  • 3
-1
votes
1 answer

fltk attach image to window from a button

So my question is: I'm trying to make a "carousel" of images (select image from file, load it and display it using "next_button" or load the previous one using "previous_button"). My problem is that i have no clue how to access the same window, I…
-1
votes
2 answers

C++ FLTK FL_INPUT detect when enter pressed then add text to FL_TEXT_DISPLAY

I want to detect when enter is pressed in FL_INPUT and add its text to FL_Text_Display using C++ please help me I dont know what to do this is all I got #include #include #include #include…