|
|
I opened issue #435 on GitHub with an example program, which I reproduce here as it is small. Compile with fltk-config.
#include <FL/Fl.H>
#include <FL/Enumerations.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Menu_Button.H>
void empty_cb( Fl_Widget* w, void* )
{
}
int main(int argc, char** argv)
{
Fl::scheme( "gtk+" ); // base is fine, plastic is also wrong
Fl::set_color( FL_BACKGROUND_COLOR, 64, 64, 64 );
Fl_Double_Window *window = new Fl_Double_Window(400,400,"Use RMB for menu");
Fl_Menu_Button* m = new Fl_Menu_Button(0,0,400,400);
m->type( Fl_Menu_Button::POPUP3 );
m->add( "See/White corners in menus", 0, (Fl_Callback*)empty_cb, NULL );
window->end();
window->show();
return Fl::run();
}
—
Gonzalo Garramuno
ggarra13@gmail.com
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/85AA8332-168B-452A-AEF0-2C9E3B715723%40gmail.com.
[ Direct Link to Message ] | |
|
| |