X_CreatePixmap: BadValue (integer parameter out of range for operation) 0x0
X_CopyArea: BadDrawable (invalid Pixmap or Window parameter) 0xa00043
X_FreePixmap: BadPixmap (invalid Pixmap parameter) 0xa00043
I have no local access.
Just curious: when you say there's no local access,
I wouldn't derive from Fl_Window, as that implies your
coordinate space origin gets reset to zero. Changed that
to Fl_Group.
Also, fixed your yellow borders a bit; your code wasn't
consistent with the +1/-1 offsets to keep the border onscreen.
On 12/14/11 02:19, MacArthur, Ian (SELEX GALILEO, UK) wrote:
[html suggestion]
the limited pseudo-html syntax that is used by Qt and Pango
and possibly a large number of other pieces of software.
This would let users write foo bboldibold
italic/i/b and so on.
Greg's idea (ANSI inspired
On 12/14/11 13:26, Ian MacArthur wrote:
#define BOLD_ON \e[1m
#define BOLD_OFF \e[0m
const char *msg = BOLD_ON Alert! BOLD_OFF \nYour printer is on fire;
Ah, but I see ESC[1m and I think Bold, ESC[0m and I think attributes
off...
Maybe that's just me...
That's
On 12/14/11 08:52, David FLEURY wrote:
Hi,
I am testing the tile sample for the distrib, and when resizing the tile
where the subwindow is, I have these errors (under linux) :
X_CreatePixmap: BadValue (integer parameter out of range for operation) 0x0
X_CopyArea: BadDrawable (invalid
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2783
Version: 1.3-current
No, you don't want to return.
Even if the string is NULL, the predelete/modify callbacks should still be
done, selections zeroed out..
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2761
Version: 1.3-current
Sounds like maybe we need an FL_ALIGN_WRAP_HARD
to hard break lines. This could then be backwards compatible.
Link:
Thought I'd join in; does this use of Fl_Pack help?
For demo purposes, I changed the first two buttons to
change the size() of the window.
This maybe can avoid having a custom packer, lets you use
Fl_Pack to organize the buttons, and lets you resize the
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2761
Version: 1.3-current
Can't replicate with OP's text; try test.cxx attached.
Link: http://www.fltk.org/str.php?L2761
Version: 1.3-current
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2761
Version: 1.3-current
Attached file test.cxx...
Link: http://www.fltk.org/str.php?L2761
Version: 1.3-current#include FL/Fl.H
#include FL/fl_ask.H
int main() {
On 12/10/11 23:24, David wrote:
Just use fl_choice with a long string with no white space.
The path is:
How/about/a/long/path/that/has/no/spaces/in/it/but/you/want/to/ensure/the/full/path/shows/when/it/is/displayed/on/the/message.
BTW, I'd suggest the OP derive their own widget to
On 12/11/11 02:46, Ian MacArthur wrote:
OK, maybe not VT100. Maybe VT220 then? :-)
Ooo, pixels!
I actually did render a mandelbrot on a VT220 back in 1986 once.. my
first
unix program, and it was all rendered with those ESC sequences. Took
forever.
Shot an
On 12/10/11 05:51, Albrecht Schlosser wrote:
On 12/09/11 12:05, Bill Spitzak wrote:
I would not do this, as it will make it impossible to link unrelated
fltk-using code together as this would have to be a static value. Or we
have to waste space to put the value on every widget.
Fully agreed
A global option to disable '@' processing
On a slightly related tangent, one of the few things I've had
to actually /modify/ fltk for to support my commercial app is
adding ANSI escape sequences (eg. \033[xxx) to control per-character
foreground and background color attributes in
On 12/10/11 14:41, Ian MacArthur wrote:
On 10 Dec 2011, at 20:44, Domingo Alvarez Duarte wrote:
With this suggestion of VT100 we will have a kind of rich text ! that's
nice !
I'm old enough to have done *quite a lot* of display work using VT100 escape
sequences.
What I'd take away from
On 12/10/11 14:44, Ian MacArthur wrote:
On 10 Dec 2011, at 21:38, Matthias Melcher wrote:
Let's follow Obi Wan Kenobis suggestion and use the source, Luke.
In the code below, you will see that we had an option to enable
and disable the @ prefix all along, using the label type
FL_NORMAL_LABEL
On 12/10/11 07:01, Albrecht Schlosser wrote:
ldd cairo_test | grep 'cairo\|pixman'
Huh, interesting.. on my machine I just get:
ldd cairo_test | grep 'cairo\|pixman'
libcairo.so.2 = /usr/lib64/libcairo.so.2 (0x0038d5c0)
___
fltk
On 12/09/11 12:05, Bill Spitzak wrote:
I would not do this, as it will make it impossible to link unrelated
fltk-using code together as this would have to be a static value. Or we
have to waste space to put the value on every widget.
The user should be able to turn on the don't interpret @
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2786
Version: 1.3-current
Fix Version: 1.3-current (r9197)
Great! Closing this.
Link: http://www.fltk.org/str.php?L2786
Version: 1.3-current
Fix Version: 1.3-current (r9197)
___
Someone was asking me about drawing smooth (antialiased) lines
in FLTK, and decided to try out FLTK with Cairo support.
I was surprised it only took minutes to install + rebuild fltk
against it on linux, and it built a working test/cairo_test program.
The
Moving this thread over to fltk general with the same title
so that I/we can respond.
On 12/07/11 05:59, E. Torres wrote:
Wikipedia is a good point to start with those kind of questions
http://en.wikipedia.org/wiki/Transformation_matrix
On Wed, Dec 7, 2011 at 2:40 AM, MacArthur, Ian
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2786
Version: 1.3-current
Taking this one and investigating..
Link: http://www.fltk.org/str.php?L2786
Version: 1.3-current
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2786
Version: 1.3-current
Fix Version: 1.3-current (r9197)
Fixed in Subversion repository.
Try r9197 and report back if that solves it.
Link:
On 12/06/11 13:48, Robert Strickland wrote:
These would appear to create an invisible box that overlaps other
Fl_Boxes that make up the tile.
Yes, this is one of several techniques for controlling
which widgets will resize.
This technique involves creating an invisible
On 12/02/11 08:00, rajesh kumar wrote:
[write my program for me. I need it urgently.]
No, we answer questions here on how to use and solve fltk problems,
not write software for free for people's homework or whatever.
___
fltk mailing
On 11/30/11 17:50, fltkgui wrote:
Well if I echo it than it just returns fltk-config --use-images
-ldstaticflags.
Ah I see, I was using '' single quotes. That was the problem. Now it works.
Yes, exactly; backquotes are needed, as you want the variable
to contain the output
This sounds weird.
Do you get this even with a simple 'hello world' type program
that only has a single button and no overloaded handle()s in the app?
An app can easily drop events if one of the handle() overrides
doesn't return() correctly, and/or doesn't call the base class's
handle() method
On 11/30/11 10:08, fltkbui wrote:
OK by that example I get:
[OUTPUT]g++ -o table.exe table.cxx $LINKFLTK_IMG -lalib
cc1plus.exe: error: unrecognized command line option -fuse-images
cc1plus.exe: error: unrecognized command line option -fldstaticflags
g++.exe: fltk-config: No such file or
I was recently asked about how to make an application multilingual.
ie. how to have the app's menubar show up in a different language,
and have this be changeable from the menubar.
Here's an example that shows a common technique, which involves
assigning each menu item an 'internal name' the app
On 11/18/11 16:13, fltkgui wrote:
The actual error is:
C:\Documents\U\LOCALS\Temp\ccy79k.o:gui_demo.cxx:(.text+0x6df): undefined
reference to 'Fl_JPEG_Image::Fl_JPEG_Image(char const*, unsigned char const*)'
The key message here is:
undefined reference
Which is a linker
On 11/17/11 07:48, MacArthur, Ian (SELEX GALILEO, UK) wrote:
However when i try to compile my project, which just shows a
window with a button, i get this error:
path..\myproject\headers\fl\math.h(31): fatal error C1083: Datei (Include)
kann nicht geöffnet werden: /usr/include/math.h: No
On 11/17/11 10:00, MacArthur, Ian (SELEX GALILEO, UK) wrote:
Any #include's for FLTK stuff should be '#include FL\bla.H',
which is why you don't need (or want) the trailing \fl when
telling the compiler where to find fltk's include headers.
And of course, what I'm sure Greg
On 11/17/11 13:07, Domingo Alvarez Duarte wrote:
I was looking again at http://tkhtml.tcl.tk/index.html and found that they
did a great advance with their HTML engine that is basically pure C code
with a bit of tcl help, this html engine could be a great start point to
make a very good
On 11/17/11 13:53, Ian MacArthur wrote:
..Right up 'til I hit an API that still needs backslashes...
From the user's point of view, front slashes often don't work
in the situations where they run into them the most:
file chooser, folder browsers, and the internet browser.
On 11/17/11 13:56, Ian MacArthur wrote:
On 17 Nov 2011, at 21:07, Domingo Alvarez Duarte wrote:
I was looking again at http://tkhtml.tcl.tk/index.html and found that they
did a great advance with their HTML engine that is basically pure C code
with a bit of tcl help, this html engine
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2772
Version: 1.3-current
As David pointed out on fltk.general, it would appear the symbol[] array
symptr calculations, are all dead code and should be removed.
I think
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2770
Version: 1.3-current
A. If I position the test/menubar application such that the menubar
is at the bottom of my screen, most of the menus open upwards
so that the
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2770
Version: 1.3-current
@manolo: You might be right, not sure.
My thinking is that the 'Huge' behaves inconsistently
compared to the logic of the other menus.
It
On 11/13/11 23:34, Mathieu Peyréga wrote:
I'm using a Fl_Choice widget which is located at the very bottom of a
fullscreen window.
The issue is that when the list is showing up, it is shown downward and
thus not in the window which makes it practically unusable. Is there a way to
change
On 11/14/11 08:26, Greg Ercolano wrote:
On 11/13/11 23:34, Mathieu Peyréga wrote:
I'm using a Fl_Choice widget which is located at the very bottom of a
fullscreen window.
The issue is that when the list is showing up, it is shown downward and
thus not in the window which makes
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2768
Version: 1.3.0
Fix Version: 1.3-current (r9175)
Updating fix version: small typo
Link: http://www.fltk.org/str.php?L2768
Version: 1.3.0
Fix Version: 1.3-current
On 11/13/11 02:02, Bogdan Stochin wrote:
A couple of files are missing from the 1.3.0 package
(tree.cxx, tabs.cxx, resize.cxx, etc) from the IDE\VisualStudio2008 folder.
Hmm, there shouldn't be any .cxx files in that folder.
The .cxx files you're mentioning aren't included with
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2768
Version: 1.3.0
Fix Version: 1.3-current (r9173)
Taking ownership, applying fix version#.
Link: http://www.fltk.org/str.php?L2768
Version: 1.3.0
Fix Version:
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2733
Version: 1.3-current
Fix Version: 1.3-current (r9174)
Fixed in Subversion repository.
Link: http://www.fltk.org/str.php?L2733
Version: 1.3-current
Fix Version: 1.3-current (r9174)
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2728
Version: 1.3-feature
Attached file shadow-variables-test-program.patch...
Link: http://www.fltk.org/str.php?L2728
Version: 1.3-featureIndex: Makefile
On 11/11/11 07:30, Albrecht Schlosser wrote:
On 10.11.2011 21:30, Greg Ercolano wrote:
I think what's happening (not sure) is:
Fl_Table calls its event_callback() *during* it's handle()
method, and it's probably not expecting the event_callback()
code to start its own
On 11/12/11 17:40, Greg Ercolano wrote:
I think to fix this is probably to /record/ the mouse button
state above the switch(), so that the check at point B isn't
confused by the different state of realtime mouse buttons
caused by the posted menu.
I'll try
On 11/10/11 08:53, Albrecht Schlosser wrote:
I tried with another class derived from Fl_Box instead of
Fl_Table(_Row) as in your test, and it didn't show the effect.
Albrecht: did the Fl_Box derived widget test involve
overloading handle() to post the menu?
If so,
On 11/09/11 14:06, David wrote:
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
Link: http://www.fltk.org/str.php?L2766
Version: 1.3-feature
This change allows someone to configure FLTK to use 0x0F as the symbol
prefix character instead of @. This allows the
On 11/07/11 16:41, David wrote:
What's the best way to get the top most open window that has keyboard focus?
In short, I'm thinking: Fl::focus()-window()
Fl::focus() returns the current Fl_Widget with focus (if any),
and Fl_Widget::window() returns the parent window.
On 11/07/11 18:22, Coder wrote:
Hi,
I get an error trying to compile with mingW on windows.
$fltk-config --compile myfirstwindow.cxx
g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows -DWIN32
-DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o 'MyFirstWindow'
I'd agree there probably should be a way to hardwrap
a line like that. Perhaps an RFE for a hardwrap() method,
or overload the wrap() method to allow 0|1|2, where 2 would
be a hard wrap.
I uploaded STR2761 which allows that as an option.
Cool; we love patches.
On 11/04/11 08:51, David wrote:
I was aware that the window my not redraw, but I can't
really call it because it will be on things like device access
using lower level routines that don't know anything about any
UI and the device to respond may take awhile. I know I could
thread, but it's
On 11/04/11 10:02, Ian MacArthur wrote:
What we always did in the olden days (i.e. before threads become
commonplace)
was have the GUI and the task in separate processes, with a socket between
them for IPC.
Pain I.T.A. to set up, but at least once you had it working you got network
On 11/03/11 09:22, David wrote:
..Also, in looking at the function I see:
timeval t;
t.tv_sec = int(time_to_wait);
t.tv_usec = int(100 * (time_to_wait-t.tv_sec));
but wouldn't t.tv_usec always be zero.
No, because time_to_wait is a float.
eg. if
On 11/03/11 10:17, David wrote:
the trick to get rid of the @ issue worked, but the line is long and
fl_choice now shows more but the part it wrapped is long (no spaces in that
part) and it's cutting it off instead of wrapping again (hard wrap since no
space). Is there a feature to turn on
On 11/03/11 12:02, David wrote:
It would just wrap it like a text editor or word processor would,
just like it does now replying to this. You give a width to
fl_measure and it wraps as needed (including hardwraps when no white space
found).
Sounds like a feature request to have
On 11/03/11 17:17, David wrote:
It's on the fl_choice message prompt, not menu items.
Oh, I see.. you're talking about fl_choice() [the dialog function],
whereas I thought you meant the Fl_Choice widget [which has a
pulldown menu, and doesn't wrap the menu items]
On 10/27/11 17:55, Jim Jozwiak wrote:
OK, I am satisfied. Just one more thing mystifies me.
On the FLTK homepage it says:
Oct. 4th, 2011: FLTK 1.3.1 final release, fixing a possible hang in
pulldown menus.
1.3.1 hasn't been released yet.
I think you're missing the part
On 10/25/11 01:52, chris wrote:
I could swear back in ye olde docs when I first started
learning FLTK, this was a FAQ item that was covered clearly.
Do you perhaps refer to this?
http://www.fltk.org/articles.php?L378+I0+T+M10+P1+Qescape
That's certainly the solution (which
On 10/25/11 14:39, Jeff Paranich wrote:
I've somehow worked around this issue before, thinking I understood what was
going on... now I'm not so sure I understand much of anything!
Say I have two classes...
fooA which subclasses Fl_Window
fooB which also subclass Fl_Window
And, fooA
On 10/24/11 01:34, Albrecht Schlosser wrote:
On 24.10.2011 09:38, Edzard Egberts wrote:
I want to prevent Fl_Window from being closed by button escape [Esc].
I use (something like) this in my window callback:
I could swear back in ye olde docs when I first started
learning FLTK, this
..FAQ in docs..
+1
+1
Good idea, Greg, thanks - together with your vote it's +3 now ;-)
OK, I'll get started..
___
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk
On 10/24/11 16:35, Greg Ercolano wrote:
..FAQ in docs..
+1
+1
Good idea, Greg, thanks - together with your vote it's +3 now ;-)
OK, I'll get started..
Done; r9146.
It's a start.
Everyone, feel free to suggest FAQ items.
Devs, feel free to add
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2742
Version: 1.3-current
The examples/table-container.cxx example enables row/column resizing,
but hovering over the row/col header boundaries does not cause the
resize
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2742
Version: 1.3-current
Fix Version: 1.3-current (r9142)
Fixed in Subversion repository.
Link: http://www.fltk.org/str.php?L2742
Version: 1.3-current
Fix Version: 1.3-current (r9142)
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2740
Version: 1.3-feature
See Fl_Table and Fl_Table_Row which provide such features.
For clickable headers see examples/table-sort
For row/col titles with col
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2740
Version: 1.3-feature
Fix Version: 1.3-feature
Link: http://www.fltk.org/str.php?L2740
Version: 1.3-feature
Fix Version: 1.3-feature
___
fltk-dev mailing list
fltk-dev@easysw.com
On 10/19/11 14:17, David wrote:
Browser (listview) widget that allows column titles,
column alignment (left/right/middle), column widths (fixed or resizable),
clickable column titles for sorting, icons, checkboxes, etc..
See Fl_Table and Fl_Table_Row which provide such features.
But
On 10/19/11 08:18, David wrote:
Essentually converting a framework that has an event loop (like an fltk wait
loop)
from which can you can query the widgets if clicked, if doubleclicked, if
changed,
if checked, etc..
You can get the number of clicks with Fl::event_clicks()
Is there something like the opposite of an fl_clip(),
eg. an 'fl_mask()'?
There's a thread on fltk.general asking about making a
Microsoft style widget label, where the label overlays
the border box, eg:
+-- label --+
| |
|
On 10/17/11 16:52, David wrote:
Looking for where labels xywh are set was murky. Instead I just created a
class for now:
Yes, this is a decent solution, though I think a more solid one
would be to override draw() so that if the parent's bgcolor is
something other than
On 10/16/11 21:03, Ben Stott wrote:
How can I compile? And if I'm learning fltk, should I even be using 3?
You shouldn't be using fltk3 if you're new, however.
fltk3 is a purely development version and at the moment is not stable at all.
Right.
This reminds me of people
On 10/15/11 09:37, Ian MacArthur wrote:
On 15 Oct 2011, at 17:32, Greg Ercolano wrote:
We should provide a better way.
eg. Fl::default_font() and Fl::default_fontsize()
and change the hardcoded FL_HELVETICA in Fl_Widget.
Yup - that'll be one for fltk3.
Will break some
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2734
Version: 1.3-feature
Haven't looked at the mods yet, but I'm thinking the intention of the
current interface is for the app programmer to implement a change callback
On 10/14/11 10:04, David wrote:
I would exepect that creating an Fl_Group (then calling beging if needed (not
sure if constructor calls) then when adding the round buttons x,y would be
relative to the group not the window, but it appears to be based on the
window not the group? Is that
On 10/14/11 14:08, David wrote:
Thanks. The only thing missing was the label wouldn't print
Hmm, that might actually be a bug.
I see you've made a new thread, so I'll answer there..
___
fltk mailing list
fltk@easysw.com
On 10/14/11 14:11, David wrote:
Is there something equivalent to a Windows group box
where the frame is drawn
You can change the border on widgets with box().
This includes groups and window-in-windows.
So in the example I posted in that other thread,
On 10/14/11 14:54, David wrote:
Doesn't look like there is a way to set a global default font, size, etc.
I think you can set the default font size with this rather
odd looking code that looks like it's setting a macro:
int main() {
FL_NORMAL_SIZE = 20;
..create widgets..
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2733
Version: 1.3.0
Which limit is this, the limit on how many filters (currently 80)
or how large the filter strings can be (1024)?
Agreed there should be no limits on
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2733
Version: 1.3.0
I see.. subject line has the details about MAX_PATH which I missed.
I was only looking at the STR's body.
Wow, the OS's own setting for MAX_PATH is
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2733
Version: 1.3.0
For your short term needs, I'd suggest modifying
Fl_Native_File_Chooser_WIN32.cxx and change all instances of MAX_PATH with
FNFC_MAX_PATH, and define
On 10/10/11 03:54, Yaskhan wrote:
What language?
sorry. c++0x
Moving this thread to fltk.general.
Please follow up there. (Subject has same title)
___
fltk-dev mailing list
fltk-dev@easysw.com
[moved from fltk.development]
Yaskhan writes:
e, how? Maybe in callbacks?
(Anonymous function)
Ian writes:
[..] you are going to have to clarify the question; there's not enough
context there to begin to know what you are asking...
What language?
Yaskhan writes:
sorry. c++0x
I
On 10/10/11 14:48, Ben Stott wrote:
You might actually have a bit of difficulty using a lambda function as a
callback, because to use some of their more powerful features (like
taking variable callback data) I *think* the FLTK callback functions
will have to be modified slightly. However,
On 10/07/11 11:50, David wrote:
What would be the equivalent of a windows static text
control in fltk widgets?
For a plain text widget, you can either use
Fl_Box or Fl_Widget with the label() as the text.
eg:
Fl_Box *box = new Fl_Box(x,y,w,h); // create a
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
I've made a new STR #2728 which covers my suggestion above: make a test
program that #include's all the fltk widgets, compiling with -Wshadow so
we have a way to always check for
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
Just checked out the latest svn, made a program called
'shadow_variables.cxx' (attached here) in the test directory that simply
#include's all the files in the FL directory (except
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Active]
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
Reopening. (sorry matt)
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
: 1.3.1 (r9102)//
// $Id: shadow_variables.cxx 8864 2011-07-19 04:49:30Z greg.ercolano $
//
// Test to make sure apps that compile with variable shadow warnings (-Wshadow)
// aren't triggered by fltk's own code.
//
// Copyright 2011 by Greg Ercolano and others.
//
// This library is free software
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
I'll see if I can fix the ones I just reported.
Matt: note that changing variable names in prototypes affects
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending]
Link: http://www.fltk.org/str.php?L2714
Version: 1.3-feature
Fix Version: 1.3.1 (r9102)
OK, fixed the new errors in r9127.
Surprisingly easy those; all were constructors that just needed xywhl -
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2728
Version: 1.3-feature
To test for problems with variable shadowing (for apps that compile against
FLTK with e.g. -Wshadow), we could make one test program
that
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2728
Version: 1.3-feature
Link: http://www.fltk.org/str.php?L2728
Version: 1.3-feature
___
fltk-dev mailing list
[STR Closed w/Resolution]
Link: http://www.fltk.org/str.php?L2725
Version: 1.3-current
Fix Version: 1.3-feature (r9117)
Fixed in Subversion repository.
Closing..
Link: http://www.fltk.org/str.php?L2725
Version: 1.3-current
Fix Version: 1.3-feature (r9117)
On 10/03/11 01:26, MacArthur, Ian (SELEX GALILEO, UK) wrote:
There are also some Mac OS bug fixes in the svn version
that would be good to be present in 1.3.1. Is that possible ?
Sure. I will do an svn diff to figure out what is needed. Any
suggestions welcome.
There was a probvlem with
Two questions:
1) Is there a way to get a list of all the tags in fltk 1.3?
ie. something like the following, but that doesn't have to be
run on the easysw server:
http://blog.amnuts.com/2007/08/14/getting-a-list-of-project-tags-from-subversion/
2) is the SVN rev# for releases
On 10/03/11 12:32, Matthias Melcher wrote:
svn ls http://svn.easysw.com/public/fltk/fltk/tags/
[to get a list of tags]
svn info http://svn.easysw.com/public/fltk/fltk/tags/release-1.3.0
to get the revision and date.
Thanks! For posterity sake, I've updated:
On 10/02/11 06:54, Mariwan wrote:
HI,
I have a problem in linking some .o object to the executable file in linux
(fedora).
com.o uiciname.o uici.o restart.o are written in c and I use gcc to compile
them.
but client.o is a fltk program. and I use g++ to compile it.
That should be
On 10/02/11 07:19, Ian MacArthur wrote:
extern C {
int my_C_function(void);
int my_other_C_function(int param);
// etc...
}
Oh yes, and of course that too ;)
In his situation, c++ code is calling c, so that is definitely needed.
I'm assuming when he said he had his extern's in
701 - 800 of 3008 matches
Mail list logo