shweta wrote:
> how to save a file in using fltk.How to implement mouse events?

        To save a file, use the operating system's file io operations..
        fopen()/fclose() are the most portable.

        Mouse events are documented here:
        http://fltk.org/documentation.php/doc-1.1/events.html#7_2

        ..specifically you'd be interested in FL_PUSH and FL_RELEASE
        and using Fl::event_button() to detect which mouse button
        was pressed, eg: http://seriss.com/people/erco/fltk/#TouchScreenNumPad

        If you want more specific info, more details would be needed
        for what you're trying to do.

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

Reply via email to