FLTK logo

Re: [fltk.coredev] Fl_Menu_ and Fl_Menu_Item::pulldown incremental overhaul?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Fl_Menu_ and Fl_Menu_Item::pulldown incremental overhaul? "'melcher.... Nov 20, 2022  
  > What would this do to efficiency? If each item now makes its own drawcalls, that'd be 30 calls to draw small pieces of backgrounds vs current 1 for the whole menu, no? 
Fl_Menu.cxx is duplicating functionality that is already in the core. fl_damage and ::redraw() do the same stuff that the huge loop does. 

> Class Fl _Sys_Menu_Bar is to be taken in consideration too.
Yes, I am developing on macOS, so I will not forget ;-)

> Release of FLTK 1.4 is long due. I would hope this proposal would not delay it further.
Yes, agreed. I will limit my request to making Fl_Menu_ derive from Fl_Group. Does anyone see and issue with that?

--
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/4c15cb93-61ce-4655-ae85-81f0655be632n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.