Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-10 Thread Brian
Ian wrote > > Yup - I got this too, when testing on OSX. > > The problem is that the IdleFPS and FixedFPS methods now need to be public > methods of the MyGlWindow class, so that my callback for attaching and > detaching them (via the set_idle checkbutton) can access them. > > For some reason, th

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Brian
;static void MyGlWindow::FixedFPS(void*)' is private fl_gears.cxx:391:43: error: within this context My C++ isn't what it should be and I've failed to fix it. Either that or I'm just too tired (yaaaw) Brian ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Mingw with gcc-4.6.1, fltk-1.3.x and the STL

2012-01-18 Thread Brian
have made loads of other changes (including compiler options too I suppose), so I guess I'll have to unbodge the cpp_type_traits.h at work and try again tomorrow. Mmm, just tried again using the build I had last night. This compiles OK here too. I'll zip up the MinGW installation to se

Re: [fltk.general] Problem Building 1.3.0rc3

2011-02-24 Thread Brian Tilley
Mike wrote > > I've run into a problem trying to build Version 1.3.0rc3 using MVC++ 6.0 in > Windows XP SP3 (32 bit). Looks like all the .cxx files are compiling o.k. > except for FL_Text_Display, where I get 12 errors like the one below. > > C:\Program Files\fltk-1.3.0rc3\src\Fl_Text_Display.cxx

Re: [fltk.general] Problems with compilation

2011-02-11 Thread Brian Tilley
> CIB wrote > When compiling a fltk program with MinGW, I'm suffering two problems.. The > first is that no output to stdout will work, a printf at the start of the > program will simply output nothing. > The real problem here is that, unless you specify the application as a console app (and yo

Re: [fltk.general] Fluid Code Editor in 1.3.x

2011-02-04 Thread Brian Tilley
> > Brian wrote > > > > I'll go away and raise the STR. > > > STR2553 raised. Wow that was quick, fied already. Well done Manolo. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Fluid Code Editor in 1.3.x

2011-02-03 Thread Brian Tilley
> Brian wrote > > I'll go away and raise the STR. > STR2553 raised. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Fluid Code Editor in 1.3.x

2011-02-03 Thread Brian Tilley
> Ezard wrote > > Okay, now I see the catchwords "Vista" "font" problem - sometimes > failing to understand foreign language texts in detail... :o/ > Sorry chaps, I've just been playing on a WinXP SP3 box and the same happens on that too. So this isn't a vista Only problem. The easiest thing for

[fltk.general] Fluid Code Editor in 1.3.x

2011-02-02 Thread Brian Tilley
I've updated from FLTK 1.1.10 to 1.3.0rc3 on my Vista Laptop. Everything seems OK rebuilding my old projects in 1.3, but I started to modify one of them and found that the fluid code editor text was often almost unreadable. Sometimes only the Comment font is odd, sometimes all of it. Anyone any

Re: [fltk.general] Problem Building 1.3.0rc3

2011-02-01 Thread Brian Tilley
>On 31/01/11 21:14, Mike Werner wrote: > So everything is compiled. The demos run and one of my apps seems to compile > and run o.k. But there is another small problem. I can not get Windows to > open .fl files with fluid. I'd like to be able to double-click on a .fl file > and have it opened by

Re: [fltk.general] Fl_Tree colors

2011-01-31 Thread Brian Tilley
Hi Greg, Just been re-building my desktop again (problems unrelated to FLTK or VC++) and decided to check out my VC++ installation by rebuilding the latest 1.3 version r8345. Got compilation errors in 3 functions in tree.cxx due to multiple initialization of item. In each case item is initiali

Re: [fltk.general] install FLTK

2011-01-25 Thread Brian Tilley
> Albrecht wrote... > > Anyway, a simple "make" works, because it runs either autoconf and the > configure or only configure, as needed. It's a FLTK Makefile feature. > > Hence I intentionally chose the shortest instruction that works always > for a beginner. :-) > Which only goes to show how litt

Re: [fltk.general] install FLTK

2011-01-25 Thread Brian Tilley
FLTK directory (as above. then execute the command ./configure This will sort out what resources etc. are available on your machine. Then execute the command make Can I too recommend that you get rid of Cygwin and move to MSys/MinGW it really is much easier to install and use. Brian. ___

Re: [fltk.general] Linker Warnings Building FLTK1.3.0rc3 withVisualC++V6

2011-01-14 Thread Brian Tilley
>Ian wrote > > That looks weird - looks like the fltk_jpeg lib somehow incorporates > duplicates of the entire fltk.lib... > > Must be a linker misconfig or something, I guess? > > Looks like you were right Ian, I think I've sorted all the problems now. I've modified all the .dsp files to replace

[fltk.general] Linker Warnings Building FLTK1.3.0rc3 with VisualC++ V6

2011-01-14 Thread Brian Tilley
Following the resolution of my previous errors, I now get a large (1826) number of Linker warnings when creating fltk_images.lib I've raised STR 2521 on this and attached a complete log of the build. ___ fltk mailing list fltk@easysw.com http://lists.ea

Re: [fltk.general] Problems displaying text in Text Editor.

2011-01-14 Thread Brian Tilley
> > However, in digging in to the problem a bit further, I seem to have uncovered > a bag of worms. > After all that, I have found the answer to my problem. The code creating the Text Editor did not initialise the Text Buffer correctly. Thanks for your responses and sorry for the noise :-( _

Re: [fltk.general] Problems displaying text in Text Editor.

2011-01-13 Thread Brian Tilley
> Albrecht wrote > Would this also apply, if you patch only Fl_Text_Display? If you > could do this, and if you answered my question whether you used wrap > mode, and if you tried FLTK 1.1.10 (for testing only), I might be > able to help to find a small patch. Maybe. > > I didn't mean the applicati

Re: [fltk.general] Problems building FLTK-1.3.0rc3 in VisualC++ V6

2011-01-13 Thread Brian Tilley
> Brian Tilley wrote: > > Attempted to build FLTK-1.3.0rc3 in visualC++ V6 today. > > Used fltk.dsw in the visualc6 folder under ide. > > Selected fltk and Win32 release > > Got the following Errors... > > > > Fl_Text_Display.cxx > > C:\fl

Re: [fltk.general] Problems displaying text in Text Editor.

2011-01-13 Thread Brian Tilley
> On 13.01.2011 15:35, Brian Tilley wrote: > > I've been having trouble with a Text Editor when attempting to look at > > files containing around 330,000 bytes of text (7400 lines). > > > > Basically, when I load the file it appears to load OK, but when displayed,

[fltk.general] Problems building FLTK-1.3.0rc3 in VisualC++ V6

2011-01-13 Thread Brian Tilley
Attempted to build FLTK-1.3.0rc3 in visualC++ V6 today. Used fltk.dsw in the visualc6 folder under ide. Selected fltk and Win32 release Got the following Errors... Fl_Text_Display.cxx C:\fltk\fltk-1.3.0rc3\src\Fl_Text_Display.cxx(1941) : error C2446: '==' : no conversion from 'const cl

[fltk.general] Problems displaying text in Text Editor.

2011-01-13 Thread Brian Tilley
I've been having trouble with a Text Editor when attempting to look at files containing around 330,000 bytes of text (7400 lines). Basically, when I load the file it appears to load OK, but when displayed, I don't seem to be able to scroll down to the bottom of the file. It stops around 85% fro

Re: [fltk.general] help view links loading

2011-01-11 Thread Brian Tilley
> hi all, > > i am having a bit of a 'mare' navigating around my help files > using the help view (help dialog linking still failing so am sticking > with the help view while i get the files actually written at least) > > I am pretty au fait with linking around documents, hyperlinks etc but > the p

Re: [fltk.general] FLTK 1.30rc2

2011-01-07 Thread Brian Tilley
> I've installed 1.3.0rc2 under MinGW (Library and documentation files) and > built/installed with ... > ./configure > make > make install > > Everthing built OK (two minor compilation warnings in fl_font_win.cxx) and > previous projects build and work OK without requiring rework. > > However, wh

[fltk.general] FLTK 1.30rc2

2011-01-05 Thread Brian Tilley
I've installed 1.3.0rc2 under MinGW (Library and documentation files) and built/installed with ... ./configure make make install Everthing built OK (two minor compilation warnings in fl_font_win.cxx) and previous projects build and work OK without requiring rework. However, when I tried to acce

Re: [fltk.general] How to get session managed

2010-10-19 Thread Brian Tilley
> The problem is not to store the application state, but how can I trigger the > application to store the state when the computer will be shutdown and how can > I force that the application will be started automaticly when the I logged in > again. As it works for most KDE application on linux. >

[fltk.general] time + chnage

2010-08-02 Thread Brian Tilley
md houssy wrote ->Good evening everybody; ->I want to display a box and change its colour every 2 seconds ! ->should I utilise Fl_Timer ? if yes, how could it be? ->thank you A simple example follows. Of course the colour selection can be any scheme you want instead of my two colour example. #i

Re: [fltk.general] VS2008 Compile Error with fltkd.lib

2010-01-06 Thread Brian
Greg Wrote > (On windows I can only pull tar files, I don't know of an > SVN client for windows.) > Have you tried TortoiseSVN ? No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.7

Re: [fltk.general] how to set a default select radio button

2010-01-02 Thread Brian
- Original Message - From: "leowang" Newsgroups: fltk.general To: Sent: Saturday, January 02, 2010 6:59 AM Subject: [fltk.general] how to set a default select radio button > Dear all, > Happy new year! :) > > Recently I use the CheckButton and RadioButton widget, but I don't know > ho

Re: [fltk.general] Q. How to select a Tab programmatically?

2009-08-23 Thread Brian
r help, > > Todd > > I think all you need to do is hide() the other tabs http://www.fltk.org/documentation.php/doc-1.1/Fl_Tabs.html Brian T ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] Problem with fl_read_image

2009-08-13 Thread Brian
- Original Message - From: "Brian" To: "Mirror of fltk.general Newsgroup" Sent: Thursday, August 13, 2009 9:03 PM Subject: Re: [fltk.general] Problem with fl_read_image > Hi Rodrigo, > > I haven't got a working Linux setup at the moment, but I compiled your

Re: [fltk.general] Problem with fl_read_image

2009-08-13 Thread Brian
Hi Rodrigo, I haven't got a working Linux setup at the moment, but I compiled your code using FLTK 1.1.9 and the following command fltk-config --compile pnmtest.cxx under Windows Vista using MSys/MinGW (gcc 3.4.5) and it works fine. The fltk-config command resulted in the following (actual) com

[fltk.general] stdout in Msys compiled windows app

2009-08-06 Thread Brian
es the stdout text in a file Brian T. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] help on using a C vector as png image source?

2009-06-23 Thread Brian Tilley
If you really must embed the image, then you can use FLTK to do it. Of course the png file normally remains in the source, but having created the embedded image using fluid, you can always cut and paste it into another source code file for the full application. Create a small test program in flu

Re: [fltk.general] Fl_Color_Chooser not working

2009-05-11 Thread Brian Tilley
> I know what the problem is: > Red = (uchar) c1->r(); > > The r(), g(), b() functions return a number between 0 and 1.Not between 0 and > 255.So if you cast that you will always get 0.So the color is always black > and seems it never changes.But I didn't know that these functions return > numbe

Re: [fltk.general] use_system_file_chooser GetOpenFileName

2008-11-04 Thread Brian Tilley
> in , I found use_system_file_chooser, it can use WIN32 > GetOpenFileName to get a file open/save dialog box. > Well, under Linux, How can I do? > Go to Erco's Cheat Sheet http://seriss.com/people/erco/fltk/ Near the bottom of this page is a link to Fl_Native_File_Chooser This should give you

Re: [fltk.general] Why draw_child doesn't do draw() ?

2008-05-20 Thread Brian Tilley
> Dnia Thu, 08 May 2008 22:50:06 -0700, matthiasm napisał(a): > > > Did you look at Fl_Overlay_Window though? Maybe you can draw the > > crosshair in the overlay and then never be bothered with it again? > > I looked at it in the documentation, but the latter stated, AFAIR, that > it will look jer

Re: [fltk.general] FLTK 1.1.8 Installation Problem

2008-04-14 Thread Brian Tilley
> > > > > > - > > Hope that proves useful, > -- > Ian > Thanks for that Ian, it worked a treat and I can now use FLTK 1.1.8 with no problems that I can detect as yet. I think I'll look around the MSys Forums for a sui

Re: [fltk.general] FLTK 1.1.8 Installation Problem

2008-04-11 Thread Brian Tilley
> > > Brian, did you try > >=20 > > > sudo make install > >=20 > > instead of just > >=20 > > > make install > >=20 > > ? The fltk files are copied into areas that require root=20 > > access. This =20 > > is pretty much

[fltk.general] FLTK 1.1.8 Installation Problem

2008-04-10 Thread Brian Tilley
I've been using FLTK 1.1.7 for some time in a MSys/MinGW environment on a Windows Vista Home Premium PC and have had no trouble. (MSys 1.0.10) I recently downloaded FLTK 1.1.8 and attempted to build and install it. The build went OK and completed without a single warning, but when I tried to in

[fltk.general] fluid2 Menu / Browser issue

2007-05-19 Thread Brian Kropf
With the latest fltk2 svn build (built using mingw / msys, gcc version 3.4.5), I'm getting a reproduce-able crash in fluid2, the chrash is in the Browser code (although the issue comes from the Menu code I think). If for instance, I load fluid2 and just click on the browser area where no browse