| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by dsmith
Those that are in this forum most likely know what FLTK is. For those that don't, it stands for Fast Light Tool Kit. It is a multiplatform, lightweight library for building Graphical User Interfaces. This thread explains a bit more about FLTK and how it is used.
This sub-forum can be used to...
|
|
0 |
4,514 |
|
|
by ehump20
I'm having trouble with Fl:add_timeout doing what I want to do.
void callback(void*) {
puts("TICK");
Fl::repeat_timeout(1.0, callback);
}
int main() {
Fl::add_timeout(1.0, callback);
return Fl::run();
|
|
1 |
453 |
|
|
by minifang
Hi all,
It seems that fltk can’t support transparent picture. Someone tell me that I can use .png format. But it also can’t work. Are there any examples, or what I should do.
:roll:
|
|
1 |
513 |
|
|
by transfrank
Hello,
I was wondering if there's a fast way to flip a vertical Fl_slider 180degrees such that the min and max happen to be on default locations of the max and min.
Frank
|
|
1 |
338 |
|
|
by oli1978
Hi all,
Is there a way to draw vector in fltk ?
Regards
|
|
3 |
515 |
|
|
by pixotec
The link on http://www.fltk.org/links.php?V178+Q for downloading AntiPaint no longer works.
I contacted Hans Yperman (the author) for sending me the sourcecode, but I am afraid he cannot find it anymore...
Does anybody have the source code for antipaint (version 0.95 or newer)? Where can I...
|
|
2 |
640 |
|
 |
by juanpab1980
hi friends !!
i have some troubles trying to load a .PNG image to make a mask an object that i want to change the look.
the image is loaded but if i click in some areas of my IGU the program exits without any message.
maybe you can take a look in my code and give me some advice to solve that...
|
|
0 |
538 |
|
|
by cup
I'm looking for a Windows like combo box widget. I can't use the choice widget because it is based on Motif's option box which means
1) I cannot type into the edit box
2) the popup list is not scrollable
Sometimes I have more than 40 entries and not all the entries will be visible so a...
|
14-Jan-2008 09:27
by cup
|
1 |
425 |
|
|
by cup
I'm trying to implement a find function on a tree-browser widget. I know which item I want but I can't get focus on the item.
When the tree is constructed, the addresses of the items are saved along with the object names. To locate them, the table lookup is used and the item widget located. ...
|
14-Jan-2008 03:43
by cup
|
2 |
379 |
|
|
by Jonas
Hi. First post, be kind to this noob!
Example:
int a = 0;
MyClass myclass( &a );
printf( "A:%d", a );
/* MyClass creates a window and sets the input variable,
Uses Show(), Run(), On a exit button callback, hide() is called. */
|
13-Jan-2008 05:38
by rbp
|
2 |
451 |
|
|
by ykhuang
Hello there,
I have a window with some widgets on it. I want to catch mouse click events in the window but not on children. Although a callback has been set to the window but it was never triggered. I look into FLTK source and see that Fl_Window uses Fl_Group::handle() to handle events. In the...
|
13-Jan-2008 05:33
by rbp
|
1 |
557 |
|
|
by Invincible
Hi all,
Coming straight to the problem :(
I am drawing a rectangle using API fl_rect( x,y,w,h )
after that I am filling certain area inside that rectangle using fl_rectf(x,y,w/2,h/2)
So far everything goes fine
but when I try to toggle the state of drawing using FUNCTION KEY F9 that area is not...
|
|
6 |
460 |
|
|
by Nebo
Hey all, I have to do the same assignment as Louis11 did a couple of threads earlier. It involves the crossword puzzle. my group and I have got it running except we can't get the output of the words found in the dicionary to appear as we would like them too( in a triangle) here is my work,...
|
05-Dec-2007 19:44
by Nebo
|
0 |
403 |
|
|
by Louis11
I am working on a crossword puzzle for my CompSci class. Basically a user enters a word, and then you grab two words from a dictionary where the last letter of the first word matches the first letter of the users word, and the last letter of the second word matches the last letter of the users...
|
|
3 |
1,685 |
|
|
by memmudu
I am trying to improve gui using fltk.
when the image size is bigger than the screen, Scrolling is done in the window.
But Fltk updates all the bits of the graph rather the ones that is visible in screen. That cause the program to be very slow. How can I solve the problem.
Do I change my gui to...
|
|
0 |
350 |
|
|
by jutirain
Hi,
I've used valgrind and discovered that the following function may cause memory leak.
ImageBox is a user-defined class that heritage from Fl_Box.
image_mod is in the type of another image processing library. I copy it to temp_char_array to initialize Fl_RGB_Image.
(Actually I can use...
|
|
0 |
449 |
|
|
by poke50uk
hum, all i've managed to see round here is the window not redrawing.. I have the opposite problem, I would like an image to follow under the mouse, but my code keep leaving a trail of images (unless I minimise and mazimise the window of course...
now I stick clear() in random places, and can get...
|
|
0 |
546 |
|
|
by transfrank
Hello,
In my code, I seem to have hit a problem, maybe it just started when I compile with MS Visual Studio 2005 version. I don't think it happened with MS Visual C++ 6.0. I don't think the redraw() methods of the widgets run at all unless if I move the mouse. I first noticed this in the below...
|
|
5 |
878 |
|
|
by cs1060173
Hi All,
I am new to FLTK. I am doing an assignment on a simple drawing package.
I want to have a grid inside a window whose grid points are "active". The user is allowed to click only those points and I want to record the coordinates (in the two dimensional plane) of the clicked points in some...
|
|
2 |
591 |
|
|
by shitao1201
Hi, I am a newer to fltk,now i use this library to implement a plc ladder drawing software.
But now i encountered some problems. In my project there are four classes:class SoftPlcUI,
SoftEditArea,class PLCELEMENT,class LD,as below source codes display. The SoftPlcUI is a UI
window, and SoftEditArea...
|
13-Nov-2007 06:14
by rbp
|
2 |
530 |
|
|
by obduk
Has anyone been able to get transparency / invisiblilty working in FLTK 1 or 2 on any operating system.
I was wandering about both transparency, where a window or widget could be set as say 60% transparency, and invisibility, where a window has no border and uses the round box or something as its...
|
07-Nov-2007 01:33
by obduk
|
2 |
481 |