/* selectops.h * selecting, cutting, copying, and pasting music * * for Denemo, a gtk+ frontend to GNU Lilypond * (c) 1999-2005 Matthew Hiller */ #include #ifndef DENEMO_SELECTOPS #define DENEMO_SELECTOPS enum drag_selection_type { NO_DRAG, NORMAL_SELECT, WHOLE_MEASURES, WHOLE_STAFFS }; void clearbuffer (); void saveselection(DenemoScore *si); void copytobuffer (DenemoScore *si); void cuttobuffer (DenemoScore *si); void pastefrombuffer (DenemoScore *si); void set_mark (DenemoGUI *gui); void unset_mark (DenemoGUI *gui); void copywrapper (GtkAction *action, DenemoGUI *gui); void cutwrapper (GtkAction *action, DenemoGUI *gui); void pastewrapper (GtkAction *action, DenemoGUI *gui); void mark_boundaries_helper (DenemoScore *si, gint mark_staff, gint mark_measure, gint mark_object, gint point_staff, gint point_measure, gint point_object, enum drag_selection_type type); void calcmarkboundaries (DenemoScore *si); void saveselwrapper(GtkAction *action, DenemoGUI *gui); void undowrapper(GtkAction *action, DenemoGUI *gui); void redowrapper(GtkAction *action, DenemoGUI *gui); void undo(DenemoGUI *guii); void redo(DenemoGUI *gui); void update_undo_info(DenemoScore *si, unre_data *undo); void update_redo_info(DenemoScore *si, unre_data *redo); #endif