> Hi
>
>
> I want to display image on radio button
>
>
>
> Before button has pressed I want to display one image and after button has
> selected it should display another image
>
>
>
> It will display one color and after button has selected it display another
> color in given below code
>
>
>
> Similar manner instead of color and it should display image.
>
>
>
> { Fl_Group* o = new Fl_Group(270, 10, 90, 115);
> o->box(FL_THIN_UP_BOX);
> { Fl_Button* o = new Fl_Button(280, 20, 20, 20, "radio");
> o->type(102);
> o->selection_color((Fl_Color)1);
> o->align(FL_ALIGN_RIGHT);
> } // Fl_Button* o
> { Fl_Button* o = new Fl_Button(280, 45, 20, 20, "radio");
> o->type(102);
> o->selection_color((Fl_Color)1);
> o->align(FL_ALIGN_RIGHT);
> } // Fl_Button* o
>
> }
have a look at http://www.magma.ca/~dzimmer/code/image_button_test.zip
It will probably do what you want.
Don.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk