FLTK logo

STR #651

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.1 | SVN ⇄ GIT ]

STR #651

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Fl_Menu arrow change
Version:1.1.6
Created By:mike
Assigned To:mike
Fix Version:1.1.7 (SVN: v4035)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 mike
03:34 Dec 14, 2004
Sanel has proposed a patch to Fl_Menu to change the appearance of the right arrow to be consistent with other toolkits:

if (m->submenu()) {
//  int sz = (hh-5)&-2;

    int sz = (hh-7)&-2;
    int y1 = yy+(hh-sz)/2;
    int x1 = xx+ww-sz-3;
    fl_polygon(x1+2, y1, x1+2, y1+sz, x1+(sz/2)+2, y1+sz/2);

    // without space removal
    //fl_polygon(x1, y1, x1, y1+sz, x1+(sz/2), y1+sz/2);

//  fl_polygon(x1, y1, x1, y1+sz, x1+sz, y1+sz/2);
}

This proposal seems to have general acceptance and is closer to the way FLTK 2.0 draws its arrows.
 
 
#2 mike
18:03 Feb 05, 2005
Fixed in Subversion 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'.