summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-04-16 23:31:43 +0200
committerDave Davenport <qball@gmpclient.org>2020-04-16 23:31:43 +0200
commit3e64e4422df516acb519de767889890e384c7645 (patch)
tree0c02bd6c5cd5a7691da61db1f586df5af3378129 /include
parent1104d1d53a6e8be8448adb2ef5bf7d66d08aa5b9 (diff)
[DMenu] Implement -keep-right
Fixes: #1089
Diffstat (limited to 'include')
-rw-r--r--include/view.h6
-rw-r--r--include/widgets/listview.h10
2 files changed, 15 insertions, 1 deletions
diff --git a/include/view.h b/include/view.h
index ed194466..ba07f32e 100644
--- a/include/view.h
+++ b/include/view.h
@@ -306,5 +306,11 @@ void rofi_capture_screenshot ( void );
* Set the window title.
*/
void rofi_view_set_window_title ( const char * title );
+
+
+/**
+ * set ellipsize mode to start.
+ */
+void rofi_view_ellipsize_start ( RofiViewState *state );
/**@}*/
#endif
diff --git a/include/widgets/listview.h b/include/widgets/listview.h
index 0aa6fab0..90c31bba 100644
--- a/include/widgets/listview.h
+++ b/include/widgets/listview.h
@@ -241,9 +241,17 @@ void listview_set_max_lines ( listview *lv, unsigned int max_lines );
/**
* @param lv Handler to the listview object.
*
- * Set ellipsize modee.
+ * Set ellipsize mode.
*/
void listview_toggle_ellipsizing ( listview *lv );
+
+/**
+ * @param lv Handler to the listview object.
+ *
+ * Set ellipsize mode to start.
+ */
+
+void listview_set_ellipsize_start ( listview *lv );
/* @} */
#endif // ROFI_LISTVIEW_H