diff src/layout.c @ 162:1a42a2451575

created menu "Select" with selection and marks operations
author nadvornik
date Thu, 20 Dec 2007 16:06:20 +0000
parents 71e1ebee420e
children d7067ec71042
line wrap: on
line diff
--- a/src/layout.c	Wed Dec 19 22:01:46 2007 +0000
+++ b/src/layout.c	Thu Dec 20 16:06:20 2007 +0000
@@ -901,6 +901,24 @@
 	if (lw->vfi) vficon_select_none(lw->vfi);
 }
 
+void layout_mark_to_selection(LayoutWindow *lw, gint mark, MarkToSelectionMode mode)
+{
+	if (!layout_valid(&lw)) return;
+
+	if (lw->vfl) vflist_mark_to_selection(lw->vfl, mark, mode);
+	// FIXME vficon
+}
+
+void layout_selection_to_mark(LayoutWindow *lw, gint mark, SelectionToMarkMode mode)
+{
+	if (!layout_valid(&lw)) return;
+
+	if (lw->vfl) vflist_selection_to_mark(lw->vfl, mark, mode);
+	// FIXME vficon
+	
+	layout_status_update_info(lw, NULL); /* osd in fullscreen mode */
+}
+
 /*
  *-----------------------------------------------------------------------------
  * access