On 18.02.2013 12:17, Furqan wrote:
... File only accepted when drop over the Fl_Double_Window.
Here is my code..
MainWindow-begin(); // Fl_Double_Window
DnDReceiver b(0,0,WINDOW_SIZE_W, WINDOW_SIZE_H); // Drag n Drop Box
glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH |
Thanks UWE,
I tried but no success, still the same. File only accepted when drop over the
Fl_Double_Window.
Here is my code..
MainWindow-begin(); // Fl_Double_Window
DnDReceiver b(0,0,WINDOW_SIZE_W, WINDOW_SIZE_H); // Drag n Drop Box
glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH |
My application is OpenGL based. I have created an OpenGL windows inside of
Fl_Double_Window.
Now here is the simple code for drag n drop, copied from an example.
// SIMPLE RECEIVER CLASS
class Receiver : public Fl_Box {
public:
// Ctor
Receiver(int x,int y,int w,int h) :