FLTK logo

[master] 7a42a80 - Undoing commit at f7a1777 that breaks X11 drawing

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.commit  ]
 
Previous Message ]Next Message ]

[master] 7a42a80 - Undoing commit at f7a1777 that breaks X11 drawing "ManoloFLTK" Nov 29, 2022  
 
commit 7a42a80caf870a4b199887e766b3df4e71b49f7e
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Nov 29 10:46:39 2022 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Nov 29 10:46:39 2022 +0100

    Undoing commit at f7a1777 that breaks X11 drawing
    
    Under X11, rotated arrows loose their inside color with f7a1777

 src/fl_symbols.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git src/fl_symbols.cxx src/fl_symbols.cxx
index d15cfae..2f86c23 100644
--- src/fl_symbols.cxx
+++ src/fl_symbols.cxx
@@ -238,8 +238,8 @@ static void draw_search(Fl_Color col)
 static void draw_arrow1(Fl_Color col)
 {
   fl_color(col);
-  BP; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,0.8); vv(0.8,0.0);
-  vv(0.0,-0.8); vv(0.0,-0.4); EP;
+  BP; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,-0.4); EP;
+  BP; vv(0.0,0.8); vv(0.8,0.0); vv(0.0,-0.8); vv(0.0,-0.4); vv(0.0,0.4); EP;
   set_outline_color(col);
   BC; vv(-0.8,-0.4); vv(-0.8,0.4); vv(0.0,0.4); vv(0.0,0.8); vv(0.8,0.0);
       vv(0.0,-0.8); vv(0.0,-0.4); EC;
Direct Link to Message ]
 
     
Previous Message ]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'.