Hello All,

I'm playing with writing a 'map viewer' for role-playing games using
grids or hexagonal cells.  As these are all tightly packed, at the
moment I am subclassing Fl_Button (FLTK 1.1.8/suse 11.0), specifying the
dimensions as the rectangular area and drawing out-side of the bounding
box. This results in the triangular ends not being active.  I would like
to implement a hexagonal button but need a few pointers as to
controlling the 'clickable' area of a widget.

For information, previously I was drawing the hexagon entirely inside
the boundary, but this results in overlapping boundaries. Inactive
regions are better than this, but I would ideally like to solve the
clickable region issue.

many thanks for your time,

-- 
-Ted
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to