rofi
1.7.0
|
Modules | |
CssColors | |
Helper | |
History | |
IconFetcher | |
Timings | |
Functions | |
PangoAttrList * | helper_token_match_get_pango_attr (RofiHighlightColorStyle th, rofi_int_matcher **tokens, const char *input, PangoAttrList *retv) |
gboolean | helper_validate_font (PangoFontDescription *pfd, const char *font) |
PangoAttrList* helper_token_match_get_pango_attr | ( | RofiHighlightColorStyle | th, |
rofi_int_matcher ** | tokens, | ||
const char * | input, | ||
PangoAttrList * | retv | ||
) |
th | The RofiHighlightColorStyle |
tokens | Array of regexes used for matching |
input | The input string to find the matches on |
retv | The Attribute list to update with matches |
Creates a set of pango attributes highlighting the matches found in the input string.
Definition at line 417 of file helper.c.
References ThemeColor::alpha, ThemeColor::blue, RofiHighlightColorStyle::color, config, count, ThemeColor::green, Settings::normalize_match, ThemeColor::red, ROFI_HL_BOLD, ROFI_HL_COLOR, ROFI_HL_ITALIC, ROFI_HL_SMALL_CAPS, ROFI_HL_STRIKETHROUGH, ROFI_HL_UNDERLINE, and RofiHighlightColorStyle::style.
Referenced by update_callback().
gboolean helper_validate_font | ( | PangoFontDescription * | pfd, |
const char * | font | ||
) |
pfd | Pango font description to validate. |
font | The name of the font to check. |
Definition at line 584 of file helper.c.
Referenced by __create_window(), and textbox_initialize_font().