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

[STR New]

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


In cursor.h the following constructor appears.

Cursor* cursor(Image*, int x, int y);

There is no implementation of this constructor in the implementation file
Cursor.cxx.  However, a very similar implementation exists for which there
was no declaration.  This implementation is for a constructor of the same
signature but with external linkage.

To correct the problem the original declaration above is changed to the
following.

extern FL_API Cursor* cursor(Image*, int x, int y);

The altered file is attached to this report and allows fltk 2.0 r7513 to
compile.


Link: http://www.fltk.org/str.php?L2391
Version: 2.0-current
//
// "$Id"
//
// Mouse cursor support for the Fast Light Tool Kit (FLTK).

// This is likely to change!

#ifndef fltk_Cursor_h
#define fltk_Cursor_h

#include "FL_API.h"

namespace fltk {

struct Cursor; // this is not public

class Image;
extern FL_API Cursor* cursor(Image*, int x, int y);
extern FL_API Cursor* cursor(void *raw);

extern FL_API Cursor* const CURSOR_DEFAULT; // == NULL
extern FL_API Cursor* const CURSOR_ARROW;
extern FL_API Cursor* const CURSOR_CROSS;
extern FL_API Cursor* const CURSOR_WAIT;
extern FL_API Cursor* const CURSOR_INSERT;
extern FL_API Cursor* const CURSOR_HAND;
extern FL_API Cursor* const CURSOR_HELP;
extern FL_API Cursor* const CURSOR_MOVE;
extern FL_API Cursor* const CURSOR_NS;
extern FL_API Cursor* const CURSOR_WE;
extern FL_API Cursor* const CURSOR_NWSE;
extern FL_API Cursor* const CURSOR_NESW;
extern FL_API Cursor* const CURSOR_NO;
extern FL_API Cursor* const CURSOR_NONE;

}
#endif

// End of "$Id"
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to