DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR Pending]

Link: http://www.fltk.org/str.php?L2593
Version: 2.0-current


fyi.

I tried slapping FL_API on some declarations to the globals the inlines in
fltk\events.h reference in fltk\run.cpp and src\run.cpp.

Just a guess but perhaps some the globals need to be moved to fltk\run.h
and src\run.cpp.  The intent of the code "appears" to be that these
globals are meant to instantiated "once" in src\run.cpp and only accessed
anywhere else.

Something like this maybe:

// fltk\run.h - would be globals accessor
extern FL_API e_x;
extern FL_API e_y;
.
.

// src\run.cpp - instantiate/update globals
FL_API e_x;
FL_API e_y;
.
.

// fltk\event.h - globals accessor
extern FL_API e_x;
extern FL_API e_y;
.
.
inline int  event_x(){return e_x;}
inline int  event_y(){return e_y;}
.
.


Link: http://www.fltk.org/str.php?L2593
Version: 2.0-current

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

Reply via email to