FLTK logo

STR #2894

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #2894

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:problem with pressed_menu_button_
Version:1.3-feature
Created By:Nikego
Assigned To:matt
Fix Version:1.4.0
Fix Commit:b19c0e4f6388efe49455d6b8dba6c9cc2f8674c5
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Nikego
07:00 Nov 29, 2012
Fl_Menu_Button.diff
0k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 Nikego
07:00 Nov 29, 2012
When I tried to get rid of the triangle in widget Fl_Menu_Button, I realized I need to rewrite entire class from scratch instead of the draw() method only! This was caused by static variable 'pressed_menu_button_' which is accessible only inside file Fl_Menu_Button.cxx. But this variable is very important for draw() method.

I propose to move the variable into Fl_Menu_Button as a static protected member. I think this change makes no hurt, but it will allow to use the member inside any inherited class (and only inside it).
 
 
#2 matt
06:23 Jan 20, 2023
Fixed in Git repository.  
     

Return to Bugs & Features ]

 
 

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'.