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 | Post Text | Post File | Prev | Next ]

STR #2894

Application:FLTK Library
Status:5 - New
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:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 Nikego
07:00 Nov 29, 2012
Fl_Menu_Button.diff
0k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#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).
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

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