On 12/12/12 02:30, Rajesh Kumar wrote:
In a frame I am having a choice box. I am filling the choice
box with add(value, 0) method. The first value which I am adding is visable
at the time of entering the frame.
But when I adding values in any other callback, it is
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2897
Version: 1.1.10
I believe this is a bug in your code.
You forgot the extra {0} to close the submenu in the menuitems array.
When you declare an FL_SUBMENU
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-current
Fix Version: 1.3-current (r9720)
Yep, I can replicate.
It must be taking sneaky path out of the enclosed push/pop's.
[..checks..]
Yep, looks
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-current
Fix Version: 1.3-current (r9737)
Fixed in Subversion repository.
Great, thanks manolo for catching this.
Geuzaine; I suggest taking note of this, and apply the fix in r9737;
without that fix, Fl_Browser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2895
Version: 1.3-current
On behalf of corvid, paraphrasing:
In Fl_Tree, space and left click behave differently in single
selection mode.
Modifiers such as
On 11/29/12 23:42, corvid wrote:
I can't click on a deactivated item to select it, but I can select
it with the space bar. (And then I remembered seeing ctrl-A in the
source to select all, and that worked as well.)
Hmm, I can't replicate that.
If I run the test/tree demo
On 11/30/12 10:34, corvid wrote:
Greg wrote:
On 11/29/12 23:42, corvid wrote:
I can't click on a deactivated item to select it, but I can select
it with the space bar. (And then I remembered seeing ctrl-A in the
source to select all, and that worked as well.)
Hmm, I can't replicate
On 11/28/12 23:37, corvid wrote:
It looks like you can ctrl-click all of the items on without that triggering
deselection of the others.
Good catch; try instead:
Index: Fl_Tree.cxx
===
--- Fl_Tree.cxx (revision 9733)
+++
On 11/26/12 22:32, corvid wrote:
Greg wrote:
In order to retain the user's ability to deselect equally from both
keyboard and mouse, IMHO Fl_Tree should be changed so that CTRL-CLICK
toggles just like CTRL-SPACE.
Curious what you think.
Sounds good to me.
Thanks!
On 11/26/12 08:37, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Do programs compiled with FLTK 1.1.x or 1.3.x run on Windows 8?
Probably.
I'm not sure we've ever had trouble with new Windows OS's;
If they've ever gotten one thing right, it's backwards compatibility.
On 11/26/12 16:41, corvid wrote:
In Fl_Tree, why do space and left click behave differently?
Looking in the source, I just noticed, for instance, how in the
FL_TREE_SELECT_SINGLE case,
ctrl-space deselects all, but left click always does select_only for an item.
I see that clicking _not_ on
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2889
Version: 1.3.1
Fix Version: 1.3-current (r9731)
Fixed in Subversion repository.
OK, see r9731 with that mod to Fl_Table.H:
- virtual void clear() { rows(0);
To build FLTK on OSX, you need to install the OSX compiler separately;
it's free.
Seems the procedure for installing the compiler is a bit more complicated these
days.
Used to be you'd buy a DVD of the OS, and the Developer Tools were an option
on the OS DVD; you'd install the OS from the DVD,
There's at least one good thing in all of this; 'svn' is now included,
so you don't have to download and build it separately like you used to.
Unfortunately, installing the command line tools does not
(currently) include automake/autoconf.
So if you do an svn checkout of fltk, you
On 11/21/12 18:20, leowang wrote:
You need to check out Greg's examples pages, he has worked examples of doing
this there, with a number of solutions shown - his specific example was the
display of email addresses but that problem is the same as you describe.
[..]
1) turn [off] label
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2889
Version: 1.3.1
Fixed in Subversion repository.
The way the example was designed, SetSize() was intended to be called only
once, but it would definitely increase
On 11/20/12 01:49, Adrian wrote:
Hello,
Is it possible (and suitable) to use FLTK for building a graphical desktop
environment for Linux (like LXDE, for example). If so, should it be on top of
X Window, or can it be done without using X at all?
I run flwm as my desktop on linux;
On 11/14/12 17:29, Paul Rybarczyk wrote:
=== making src ===
Compiling Fl_cocoa.mm...
Fl_cocoa.mm:36:21: error: pthread.h: No such file or directory
In file included from ../FL/Fl.H:30,
from Fl_cocoa.mm:40:
./FL/fl_utf8.h:33:19: error: stdio.h: No such file or directory
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-current
The problem is here:
window.box(FL_NO_BOX);
Get rid of that line; a parent window must draw 'something' for itself
or 'screen garbage' will be
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-current
Oops: spoke too soon..
On my system (linux/centos 5.6) when I ran the attached test program
resizing made a lot of stuff blink on and off,
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-current
Can you try the attached patch-v1.diff and let me know if that solves it?
Link: http://www.fltk.org/str.php?L2886
Version: 1.3-currentIndex:
On 11/10/12 09:59, Patrick wrote:
Thanks again to Ian for answering my last post. I would have been stuck
on that for a long time but now it's so obvious. I was creating two
pointers with the same name.
I hope I am not wearing out my welcome... I have another question... if
someone can
Looks like Matt released 1.3.1 -- thank you!
Don't forget to post on fltk.announce as well..
___
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev
Since you're asking mainly about absolute vs. relative positioning,
I believe if you use an Fl_Window in place of an Fl_Group, you'll get
relative positioning.
On 11/06/12 15:39, Patrick wrote:
Thanks once again for all the help. This article was excellent. I read
through a few hundred pages
On 11/06/12 15:01, Matthias Melcher wrote:
CHANGES IN FLTK 1.3.1
[..]
1.3.1 ABI FEATURES
(To enable the following ABI features, put: #define FLTK_ABI_VERSION 10301 at
the top
of your FL/Enumerations.H and rebuild FLTK and your app)
• Fl_Tree optimized to support large trees (eg.
On 11/05/12 11:05, Matthias Melcher wrote:
On 16.10.2012, at 10:42, MacArthur, Ian (SELEX GALILEO, UK)
ian.macart...@selexgalileo.com wrote:
Reawakening this thread.
+1 for 1.3.1 release, with the ABI breaking stuff turned off by default,
and calling it 1.3.1 (not .2)
Yes. I
On 11/05/12 11:58, Laszlo Antal wrote:
On Nov 5, 2012, at 9:06, Doug Parks marickstemp...@yahoo.com wrote:
Is it possible to compare the color of a widget in an if statement? If
so how would I go about doing it. I have tried using a standard comparison
but it says it is unable to do it.
On 11/03/12 18:26, Gonzalo Garramuno wrote:
I am working on windows and fltk2.0's filename_list returns 0 elements
when the directory is unicode like:
C:/Users/gga/Documents/Mis vídeos/
I checked the fltk code and the scandir of windows it seems it should work
fine,
but it doesn't.
On 11/04/12 04:38, Ian MacArthur wrote:
All,
Open GL is (very much!) not one of my strong skills... So;
What generation of Open GL do we support in fltk at present? I'm guessing
pretty old but...
More to the point, I'm looking at some embedded hardware with Open GL ES 2.x
support,
On 11/01/12 05:47, ChinaJin wrote:
Firstly, thanks for sharing this great tool. What I want to mention is not a
bug in the programme. You said in the README.MSWindows.txt that we should add
a file called fluid.exe, but actually the file in the file of fluid is named
fluidd.exe. I know you
On 11/01/12 08:57, Klaus Rudolph wrote:
Stupid beginner question:
I have a main window with a menu bar. One of the menus should be Exit
and the callback should terminate the application.
Just call exit(0);
It will close all windows, destroy all classes, free all memory.
On 10/30/12 02:25, Klaus Rudolph wrote:
But if I now move to the not accepted region of the red box, I could
not tell fltk that I am out of my accepted region.
Probably someone else who's done this before should weigh in;
I can only guess as I haven't done it, and it would take
On 12/29/11 01:22, Torsten Giebl wrote:
GIT is great, no question about it,
but i hate one thing about it and some other SCMs, it is the hash IDs.
Are you using 6ff87c4664981e4397625791c8ea3bbb5f2279a3 ?
I like the numbering of SVN.
1000
1001
1002
.
.
It is easier to remeber when
On 10/28/12 01:53, Klaus Rudolph wrote:
I want to create some simple non rectangle widgets.
It is quite simple to derive from any widget class, but all the classes
have a rectangle boundary. Any mouse event will be handled to the
rectangle region of the box of the widget I derive from.
On 10/27/12 00:43, Thad Smith wrote:
I am in a freshman c++ programming course at Tx AM. We are using fltk for a
project. I can use everything fine at the lab but I'm trying to set up on my
home computer using VS2012.
I watched this tutorial and tried to use with current system:
On 10/23/12 15:38, w. szukalski wrote:
How can I get an older revision of FLTK-3.0, e.g.
fltk-3.0.x-r9400 ?
winfried
The -r flag is what you'd want, eg:
% cd /usr/local/src/fltk-3.0.x
% svnversion
9705-- currently at 9705
% svn update -r 9400
D
On 10/22/12 07:05, Gonzalo Garramuno wrote:
Thanks, Greg. But the hooks in windows are not enough. I need to show frame
sequences
as file..exr and allow selection of them.
Oooh, that kind of thing.
Yeah, you'd probably have to hotrod one of the existing fltk widgets
On 10/20/12 17:47, Gonzalo Garramuno wrote:
I was wondering if some file requester in fltk allows access to the network
files on a windows network that does not map the dirs to a path.
Instead, the paths are like //machine//drive//dir,
I need a custom file requester, not the native platform
On 10/21/12 09:25, Greg Ercolano wrote:
On 10/20/12 17:47, Gonzalo Garramuno wrote:
An easy solution is to just do that operation after the user chooses
the file. That would make it easier, since people are probably used
to the native choosers; in my experience TDs have
On 10/21/12 09:33, Greg Ercolano wrote:
On 10/21/12 09:25, Greg Ercolano wrote:
The fltk native file chooser uses GetOpenFileNameW() in WIN32,
which if you read about it and its related functions, might
find a callback hook.
Sniffing around, I suggest starting
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2873
Version: 1.3-current
OK: assigning this to myself and will solve in docs.
A small bit of example code should remove any ambiguity:
if ( img-w() = 0 ||
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2873
Version: 1.3-current
It looks like /only/ Fl_JPEG_Image documents this behavior;
the others (Fl_BMP_Image, Fl_Shared_Image, etc) don't.
I'm going to try to
On 10/16/12 03:46, Manolo Gouy wrote:
+1 for 1.3.1 release, with the ABI breaking stuff turned off by default,
and calling it 1.3.1 (not .2)
I'd try to push it out myself if I knew how.
Let's first check what the outstanding bugs are against 1.3.1
that are release
On 10/16/12 13:23, Ian MacArthur wrote:
On 16 Oct 2012, at 20:36, Doug Parks wrote:
I decided to make a custom button class so that I could reduce the amount of
code in my project. I was able to create the button but when I click on the
button, the callback isn't being called. Before I
Reawakening this thread.
+1 for 1.3.1 release, with the ABI breaking stuff turned off by default,
and calling it 1.3.1 (not .2)
As Linus says: Release Early, Release Often.
(We've been doing the opposite lately :P )
On 05/30/12 01:22, Albrecht Schlosser wrote:
On 29.05.2012 22:46, Matthias
Just pulled r9698 to check on a 3.x question on fltk.general,
but could not run a default build on linux centos 5.6:
--- snip
[..]
Compiling fltk3images/GIFImage.cxx...
Compiling fltk3images/HelpDialog.cxx...
Compiling fltk3images/images_core.cxx...
Compiling fltk3images/JPEGImage.cxx...
On 10/15/12 01:44, w. szukalski wrote:
The HelpView.cxx does not allow to add() or insert() a widget.
I have tried to do that. No visible result either using add()
or insert().
Wanted to add: this thread sounds very 3.x specific.
Just saying, so that 1.3.x folks don't get
On 10/12/12 15:53, LZAntal wrote:
Hi all,
Starting out with fltk. Installed the 1.3.x-r9696 on Mac Mountain Lion.
Was getting compile errors with 1.3.0 and after reading this
http://www.mail-archive.com/fltk@easysw.com/msg13956.html I was able to
install it without any issues.
When I
On 10/13/12 18:34, Greg Ercolano wrote:
On 10/12/12 15:53, LZAntal wrote:
When I startup demo or fluid from the terminal everything I type into input
fields goes to the terminal instead the input field.
[..]
The behavior you describe with terminal input sounds like what one gets
On 10/08/12 10:53, Mike Werner wrote:
FLTK widgets can appear *around* an opengl drawing area, but not inside it.
I make extensive use of the Fl_Gl_Window widget. In fact I actually do place
widgets INSIDE the OpenGL window. They don't visually 'appear' because the
OGL graphics is written on
On 10/06/12 16:25, Mike Werner wrote:
On 10/05/12 16:03, Mike Werner wrote:
I'm fairly sure FLTK is written with OpenGL.
FLTK supports opengl, but does not use it for implementing widgets.
For that, FLTK uses the native graphics libraries:
Linux: Xlib
On 10/05/12 16:03, Mike Werner wrote:
I'm fairly sure FLTK is written with OpenGL.
FLTK supports opengl, but does not use it for implementing widgets.
For that, FLTK uses the native graphics libraries:
Linux: Xlib
Windows: Win32
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2730
Version: 1.3-current
Is there any replication info that can be supplied?
Optimally, a compilable foo.cxx that demonstrates the problem
and some instructions on how
On 09/29/12 08:56, Kartik Patel wrote:
How do I use WRAP_AT_BOUNDS without problems in this code?
Qualify it with the class name, eg. Fl_Text_Display::WRAP_AT_BOUNDS
Apologies in advance if this is not the correct forum for this query.
Yes, please use fltk.general instead for
On 09/28/12 07:57, Ian MacArthur wrote:
In the meantime, have you seen Greg's OpDesk code? That might be similar
enough
to give some insights in to what to do...
http://seriss.com/people/erco/fltk/Fl_OpDesk/
Hope that helps...
Oops, just noticed the 'documentation' link on that
On 09/28/12 07:48, David Allen wrote:
I want to place an Fl_Input over each node so that the user can name the
node. I have made several attempts, none of which are satisfactory.
Suggestions are appreciated.
I'd suggest having a right click menu for the nodes, one of the options
On 09/27/12 10:47, Eric Sokolowsky wrote:
I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack is
inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item to
be visible right away, scrolling if necessary. Is there a way to do this
easily, or do I have
On 09/27/12 13:08, Eric Sokolowsky wrote:
On 09/27/12 10:47, Eric Sokolowsky wrote:
I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack
is inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item
to be visible right away, scrolling if necessary. Is
On 09/27/12 13:20, Eric Sokolowsky wrote:
After trying a few more things I found a recipe that seems to work, but it is
a bit of a kludge. At the end of my class's draw() function (this is the
class that derives from Fl_Scroll, and has a Fl_Pack as a member) I check to
see if the window
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2873
Version: 1.3-current
The docs for the Fl_JPEG_Image ctor says:
There is no error function in this class.
If the image has loaded correctly,
w(), h(),
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2874
Version: 1.3-feature
Fix Version: 1.3-current
If we do this, let's be sure we call getenv() just once at program start
and set a bitflag, to avoid having the
On 09/20/12 03:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Fl_BMP_Image jpg(C:/Users/Marick/My Pictures/image.bmp);
I wonder if we could make error checking more obvious for the default
behavior in FLTK for this type of thing.
I can think of three possible ways to help:
On 09/20/12 05:10, Roman Kantor wrote:
On 20/09/2012 11:27, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Could do - though I'm a big fan of just calling access() on the path
before I try to use it - that pretty quickly filters out any mistakes...!
[..]
Yeah, I use access too - actually
On 09/20/12 13:26, Herman wrote:
Hmm, I usually use
Fl_JPEG_Image* o=new Fl_JPEG_Image(file);
if (o o-w() o-h())
{/*loaded successfully*/}
else {/*some error occured*/}
It never failed so far on all the platforms I tested (Win/Linux/Mac).
So I don't really see why to add anything to
On 09/19/12 10:00, Doug Parks wrote:
Fl_BMP_Image jpg(C:/Users/Marick/My Pictures/image.bmp);
After looking at my code again for the 1000th time I just realized I was
using an invalid file path. There is no My Pictures only a Pictures
folder.
Thank you for taking the time to help Ian.
On 09/12/12 03:33, Corne van Tonder wrote:
I know this seems really stupid, but could we add the Static suggestion
to the columns example in the API docs? I was just stuck on this very issues
for a day. I know it may seems a little nooby, but it could be helpful to
others as well.
On 09/13/12 14:46, Gonzalo Garramuno wrote:
Windows is fine. I run Ubuntu with KDE and that shows the problem.
Fedora 3 + KDE works OK.
Gonzalo, what /version/ of Ubuntu?
___
fltk mailing list
fltk@easysw.com
On 09/10/12 10:00, Art Werschulz wrote:
erdos@dsm:examples$ g++ -o hello hello.cxx -lfltk -lXext -lX11 -lm
erdos@dsm:examples$ hello
*** glibc detected *** hello: malloc(): memory corruption: 0x01bcb320
***
*** glibc detected *** hello: malloc(): memory corruption: 0x01bcb320
On 09/08/12 08:10, Duncan Gibson wrote:
According to svn, engelsman put this in the docs:
FL_DND_* events cannot be used in widgets derived from Fl_Group or =
Fl_Window.
Is there any specific platform or any reason for this? Or is the =
sentence itself wrong?
I don't remember adding it.
On 09/08/12 06:29, Cliff Yapp wrote:
On 09/05/12 13:13, Gonzalo Garramuno wrote:
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not
create the window's decorations back again. The problem is not there on
Win32 or Win64. The problem appears in all versions of fltk
On 09/08/12 08:31, Greg Ercolano wrote:
On 09/08/12 06:29, Cliff Yapp wrote:
On 09/05/12 13:13, Gonzalo Garramuno wrote:
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not
create the window's decorations back again. The problem is not there on
Win32 or Win64
On 09/08/12 10:25, Ian MacArthur wrote:
On 7 Sep 2012, at 23:59, Paul R wrote:
I have not logged in for a while, Have barely programmed in C family
languages for over a year, bin mired in horrible vba flaky land - but on the
back of that i am in a postion to sell a (extndable) piece of work
On 09/06/12 11:23, Furqan wrote:
But when I try to create another OpenGL window in the same way,
Fl_Double_Window does not grab the OpenGL windnow.
Try enclosing the creation of your openGL window with
begin() and end() for the double window.
So for instance if your
On 09/05/12 07:31, Chris Russ wrote:
I've gotten approval from the bosses to attempt a two-part plug-in -- first
part
that grabs the image, second part that does the processing/UI. Now I have to
do it.
Doing it as a DLL is no biggie -- I've got a lot of experience with that,
but making
On 09/05/12 10:14, Greg Ercolano wrote:
Also, I have absolutely no objections to contributing to the cause.
I'm pretty sure that someone else should be testing and checking
in any changes that are worthwhile keeping, though. :)
Oh, and I meant to reply to this in my previous post
On 09/05/12 13:13, Gonzalo Garramuno wrote:
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not
create the window's decorations back again. The problem is not there on
Win32 or Win64. The problem appears in all versions of fltk (although I am
interested in fltk2).
On 09/05/12 13:20, Greg Ercolano wrote:
On 09/05/12 13:13, Gonzalo Garramuno wrote:
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not
create the window's decorations back again. The problem is not there on
Win32 or Win64. The problem appears in all versions of fltk
On 09/04/12 12:11, Chris Russ wrote:
But your approach is worth trying. I can spawn a new thread
for the UI after copying the image out of Photoshop.
Let me give that a shot.
Hi Chris,
Just clarifying: I'm not recommending a separate /thread/,
but rather a separate /process/.
On 09/04/12 14:08, Chris Russ wrote:
H.
Separate process is a royal pain in the @$@#$%. Not only passing images
over the wall is a pain..
Shared memory should make it as easy to use as a thread,
I'd think.
but remaining modal in that case would be a challenge.
On 08/31/12 18:18, guyingpinming wrote:
I'm working with a project using fltk to construct a gui,but now I want
the exe to support the operation of dropping files,that is,if I drop a file
to the menuWindow,the software can automatically open the file with the right
format(the file itself
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2860
Version: 1.3-feature
@manolo: First patch has the xywh version of screen_num().
So of the three patches he posted here, I think he wants you to apply them
this way:
On 08/30/12 00:03, Furqan wrote:
{Close ,FL_CTRL+'X',(Fl_Callback *) window_cb},
I think because of the uppercase 'X', it implies FL_SHIFT,
ie. FL_CTRL+FL_SHIFT+'x'
Probably hitting ctrl-shift-X will trigger the shortcut the way you
have it coded.
Assuming
On 08/27/12 07:48, Pierre Ossman wrote:
Link: http://www.fltk.org/str.php?L2860
Version: 1.3-feature
Updated patch. Finally got a OS X test machine, and of course found a bug.
Sounds good -- any devs with multiple monitors to verify?
___
On 08/25/12 10:37, David FLEURY wrote:
Hi,
I am using Fl::event_clicks to detect double clic,
but I don't succeed to cath a trip-clicks ?
Any idea ?
Make sure your code that handles the double click
still allows the event through to the base class,
and returns a
On 08/25/12 13:49, David FLEURY wrote:
int handle(int e) {
if (e == FL_PUSH) std::printf(%d\n, Fl::event_clicks()+1);
return Fl_Window::handle(e);
}
};
I can confirm the problem as windows-specific.
Your program works fine on linux; shows multiple
On 08/18/12 03:16, Matthias Melcher wrote:
On 17.08.2012, at 22:22, David FLEURY dfleu...@free.fr wrote:
Hi,
In the Fl_Menu_Bar, when adding an item which has a FL_SUBMENU flag on,
can I have a callback called (using a specific when) ?
I have try callback available on Fl_Menu_Item, but
On 08/18/12 11:56, Ian MacArthur wrote:
That first run of 109ms shows the overhead of pulling the binary off
disk,
and the subsequent runs are shaving off 100ms because they're obviously
running
from the disk cache, such that it's only 10ms.
Huh! That's odd - but makes
On 08/18/12 13:28, Ian MacArthur wrote:
On 18 Aug 2012, at 20:25, Greg Ercolano wrote:
And probably need to break out strace or etc. (as I assume Matthias did!)
and see where the time is really going anyway.
Write/read caching is done at the kernel level, so I don't think you'll
On 08/17/12 05:06, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Just for kicks'n'giggles I ported the code to WinXP using the
QueryPerformanceCounter() API to get timings, and I get...
[..]
ian.macarthur@DESDAF599172 /d/examples/qix-win-times
$ ./qix
New control cost 0.02(ms)
Show window cost
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2866
Version: 1.3-feature
This shouldn't be an STR because it's not requesting a specific change to
the lib, it's just asking a general question.
We should really answer
JPL's C language coding standards:
http://lars-lab.jpl.nasa.gov/JPL_Coding_Standard_C.pdf
Many items some will find obvious, and some are specific to embedded
hardware and real time hardware control. Still, and interesting read.
31 rules in approx. 18 pages.
On 08/13/12 13:03, Ian MacArthur wrote:
On 13 Aug 2012, at 18:06, w. szukalski wrote:
The program connect() in the test directory of FLTK3
seems to have flaws.
Can these be cured?
Though as you know, fltk3 is still alpha, so the quickest way to cure them
might be if you have working
On 08/13/12 12:43, Gonzalo Garramuno wrote:
I'm trying to compile fltk3 but it fails with:
Compiling fltk3png/png.c...
fltk3png/png.c:14:21: fatal error: pngpriv.h: No such file or directory
The file is in include/fltk3png, but the makefile does not refer to it.
Yes, just reported
On 08/11/12 22:52, Patrick wrote:
I made all the changes you outlined but I don't fully understand what
the underlying issue was. Does the older version have trouble with type
casting with more current compilers?
The newer compilers don't like it if you try to assign
a 64bit
On 08/12/12 17:45, Amadeus W.M. wrote:
I'm trying to create my first threaded application with fltk. I have two
threads: one that produces stuff and the gui thread. For simplicity, the
producer thread just generates random rectangles and tells the gui thread
to draw them via Fl::awake().
On 08/10/12 20:10, Coder wrote:
Hi,
How can I get the position of my Fl_Window window..
x() and y() should have the position, ie. window.x(), window.y()
and also reposition/set a new position for it?
window.position(x,y)
window.resize(x,y,w,h)
On 08/11/12 09:22, Coder wrote:
Than I get:
error: request for member 'x' in 'window',
which is of non-class type 'Fl_Window*'.
And for the position():
error: request for member 'position' in 'window',
which is of non-class type 'Fl_Window*'.
If you're a C programmer, it'll
On 08/11/12 17:01, Patrick wrote:
Hi Everyone
I guess 1.0 does not get much use these days but the code base was only
17K lines of code back then. I would like to build it but I am getting
errors.
Which subversion of 1.0: 1.0.0, 1.0.11..?
I just built 1.0.11, and only had
On 08/10/12 08:23, Greg Ercolano wrote:
On 08/10/12 06:52, Gonzalo Garramuno wrote:
I was wondering how to use gettext with fluid.
There's a bit about this in the fluid docs:
http://www.fltk.org/doc-1.3/fluid.html#fluid_i18n
..there's a section on Using GNU gettext
On 08/04/12 18:53, Greg Ercolano wrote:
When starting in fluid, choose New - Code - Function/Method,
and leave the make_wnidow default as the function name, and
attach your windows and widgets to that.
Then later, define a New - Code - Function/Method
and blank it out
201 - 300 of 3008 matches
Mail list logo