summaryrefslogtreecommitdiffstats
path: root/include/mode.h
diff options
context:
space:
mode:
authorDave Davenport <DaveDavenport@users.noreply.github.com>2017-03-10 23:39:29 +0100
committerGitHub <noreply@github.com>2017-03-10 23:39:29 +0100
commitcee753bd3cc2f96743e8771d0cd82beee32fcd2e (patch)
tree63d492fcd35830758e9009093d249878b69a20be /include/mode.h
parent25678d7a59ba7419a2d3b018971d5539124cf750 (diff)
Zeltakmadness (#572)
* Allow modi to set extra pango attributes on displayed rows * Fix some documentation, only highlight the mode name with color. * Small rename.
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mode.h b/include/mode.h
index 0dbef79c..f56a935b 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -1,6 +1,5 @@
#ifndef ROFI_MODE_H
#define ROFI_MODE_H
-
/**
* @defgroup MODE Mode
*
@@ -85,13 +84,14 @@ unsigned int mode_get_num_entries ( const Mode *sw );
* @param mode The mode to query
* @param selected_line The entry to query
* @param state The state of the entry [out]
+ * @param attribute_list List of extra (pango) attribute to apply when displaying. [out][null]
* @param get_entry If the should be returned.
*
* Returns the string as it should be displayed for the entry and the state of how it should be displayed.
*
* @returns allocated new string and state when get_entry is TRUE otherwise just the state.
*/
-char * mode_get_display_value ( const Mode *mode, unsigned int selected_line, int *state, int get_entry );
+char * mode_get_display_value ( const Mode *mode, unsigned int selected_line, int *state, GList **attribute_list, int get_entry );
/**
* @param mode The mode to query