> > I wonder what is different in my test, from what you are 
> seeing in your build?
> >
> >
> 
> maybe you did not use a Fl_Spinner ? Some widgets work 
> fine. JanE


Definitley Fl_Spinner... This fluid code:

------------
# data file for the Fltk User Interface Designer (fluid)
version 1.0109 
header_name {.h} 
code_name {.cxx}
Function {} {open
} {
  Fl_Window {} {open
    xywh {458 353 301 267} type Double visible
  } {
    Fl_Spinner {} {
      label {spinner:} selected
      xywh {100 46 85 38} box FLAT_BOX color 2 selection_color 5
labelcolor 14 textcolor 15
    }
  }
} 
------------

Which gave this .cxx

------------
// generated by Fast Light User Interface Designer (fluid) version
1.0109

#include "spin-tst.h"

int main(int argc, char **argv) {
  Fl_Double_Window* w;
  { Fl_Double_Window* o = new Fl_Double_Window(301, 267);
    w = o;
    { Fl_Spinner* o = new Fl_Spinner(100, 46, 85, 38, "spinner:");
      o->box(FL_FLAT_BOX);
      o->color((Fl_Color)2);
      o->selection_color((Fl_Color)5);
      o->labelcolor((Fl_Color)14);
      o->textcolor(FL_SELECTION_COLOR);
    } // Fl_Spinner* o
    o->end();
  } // Fl_Double_Window* o
  w->show(argc, argv);
  return Fl::run();
}
------------


I wonder...
I'm just building this test using "fltk-config --compile", which does
not select any particular build or warning options.

Are you building from a Makefile? What compiler options are you passing?
Maybe there is some interaction due to the compiler options that I don't
see in my tests?

Cheers,
-- 
Ian

SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to