Re: [fltk.general] Compilation error on windows VS 2010 (r9300)

2012-03-26 Thread Albrecht Schlosser
On 25.03.2012 22:46, Ian MacArthur wrote: > > On 25 Mar 2012, at 06:50, David FLEURY wrote: >> >> Hum, the code is from Fl_win32.cxx, the function is : >> Fl_X* Fl_X::make(Fl_Window* w) and try to access a protected enum. >> >> Under VS, I don't see any link between Fl_X and Fl_Widget. >> >> The fi

[fltk.general] question about event handle in FLTK2.0

2012-03-26 Thread leowang
Dear All, I have a question of event handle. Suppose I have Window A, it has a sub-window named B, Window B has a Widget C in it. So my question is: if I return 0 in B::handle(event), the event will transfer to A or C? Best regards, Leo ___ fltk mailin

Re: [fltk.general] Compilation error on windows VS 2010 (r9300) - drift in fltk3 compatibility being broken...

2012-03-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
All, One thing I did just notice is that the r9300/r9301 fltk3 build is somewhat borked. A few days ago, if I built the "test1" folder, to verify that the fltk-1 compatibility was working, I was getting 50 out of 70 tests building OK. As of this morning, with r9301 checked out, I get 2 out of

Re: [fltk.general] Compilation error on windows VS 2010 (r9300) -drift in fltk3 compatibility being broken...

2012-03-26 Thread Ian MacArthur
> All, > > One thing I did just notice is that the r9300/r9301 fltk3 build is somewhat= > borked. > > A few days ago, if I built the "test1" folder, to verify that the fltk-1 co= > mpatibility was working, I was getting 50 out of 70 tests building OK. > > As of this morning, with r9301 checked out

[fltk.general] Xcode 4 FLTK Undefined architecture x86_64 error

2012-03-26 Thread Bubba
> Hi, I am using Xcode 4 and trying to set up FLTK 1.3.0 to run Bjarne > Stroustrup's Chapter 12 FLTK Demo at the end of the chapter. I keep getting > the following error when compiling, and have no idea where to go. I have an > idea it might have to do with the linker flags, but I don't know wh

Re: [fltk.general] Xcode 4 FLTK Undefined architecture x86_64 error

2012-03-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > Hi, I am using Xcode 4 and trying to set up FLTK 1.3.0 to run Bjarne > Stroustrup's Chapter 12 FLTK Demo at the end of the chapter. I keep > getting the following error when compiling, and have no idea where to go. > I have an idea it might have to do with the linker flags, but I don't know >

Re: [fltk.general] Compilation error on windows VS 2010 (r9300)

2012-03-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I also believe that we already had a similar problem. This one can > be fixed easily with "friend class Fl_X;" in Fl_Widget.H, like this > patch: > > Index: FL/Fl_Widget.H > === > --- FL/Fl_Widget.H (revision 9300) > +++ FL/Fl

Re: [fltk.general] Xcode 4 FLTK Undefined architecture x86_64 error

2012-03-26 Thread Bubba
> > > > Hi, I am using Xcode 4 and trying to set up FLTK 1.3.0 to run Bjarne > > Stroustrup's Chapter 12 FLTK Demo at the end of the chapter. I keep > > getting the following error when compiling, and have no idea where to go. > > I have an idea it might have to do with the linker flags, but I don'

Re: [fltk.general] Xcode 4 FLTK Undefined architecture x86_64 error

2012-03-26 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > I don't know how to check what code is linked as i386, but I'll try to > figure that out. On OSX, then the easiest way might be to use lipo, I guess... Something like lipo -info my_binary Ought to print out the supported architectures in the given file. I think. From memory... > Als

Re: [fltk.general] Compilation error on windows VS 2010 (r9300)

2012-03-26 Thread David FLEURY
Le 26/03/2012 17:28, MacArthur, Ian (SELEX GALILEO, UK) a écrit : >> > I also believe that we already had a similar problem. This one can >> > be fixed easily with "friend class Fl_X;" in Fl_Widget.H, like this >> > patch: >> > >> > Index: FL/Fl_Widget.H >> > ==

Re: [fltk.general] question about event handle in FLTK2.0

2012-03-26 Thread Greg Ercolano
On 03/26/12 01:08, leowang wrote: > Dear All, > I have a question of event handle. Suppose I have Window A, > it has a sub-window named B, Window B has a Widget C in it. > So my question is: if I return 0 in B::handle(event), > the event will transfer to A or C? Probably depends on the eve

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Rainer Rinke
> On 03/23/12 07:34, Rainer Rinke wrote: > > Hi, > > I just rebuilt an application under (Open)Solaris. That was done just out > > of the box. But the background color of the Fl_Browser is grey. On other > > platforms (Win32, Linux) it is white. Where is it to be set? (I am using > > FLTK-1.1.10

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Rainer Rinke
> On 03/23/12 07:34, Rainer Rinke wrote: > > Hi, > > I just rebuilt an application under (Open)Solaris. That was done just out > > of the box. But the background color of the Fl_Browser is grey. On other > > platforms (Win32, Linux) it is white. Where is it to be set? (I am using > > FLTK-1.1.10

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Greg Ercolano
On 03/26/12 12:55, Rainer Rinke wrote: > Thanks to Greg for this advice! > As recommended I inserted just before Fl::run() >Fl::set_color(FL_BACKGROUND2_COLOR,255,255,255); >// FL_BACKGROUND2_COLOR is enumerated to 7 > and it works. > But when I insert it into the last code block o

Re: [fltk.general] Backgroundcolor of Browser

2012-03-26 Thread Rainer Rinke
> On 03/26/12 12:55, Rainer Rinke wrote: > > Thanks to Greg for this advice! > > As recommended I inserted just before Fl::run() > >Fl::set_color(FL_BACKGROUND2_COLOR,255,255,255); > >// FL_BACKGROUND2_COLOR is enumerated to 7 > > and it works. > > But when I insert it into the las