|
rofi 1.7.8
|

Topics | |
| CssColors | |
| Helper | |
| History | |
| IconFetcher | |
| Timings | |
Functions | |
| PangoAttrList * | helper_token_match_get_pango_attr (RofiHighlightColorStyle th, rofi_int_matcher **tokens, const char *input, PangoAttrList *retv) |
| void | helper_token_match_set_pango_attr_on_style (PangoAttrList *retv, int start, int end, RofiHighlightColorStyle th) |
| 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 484 of file helper.c.
References config, count, and helper_token_match_set_pango_attr_on_style().
Referenced by update_callback().


| void helper_token_match_set_pango_attr_on_style | ( | PangoAttrList * | retv, |
| int | start, | ||
| int | end, | ||
| RofiHighlightColorStyle | th ) |
| retv | The Attribute list to update with matches |
| start | The start to highlighting. |
| end | The end point for the highlight |
| th | The RofiHighlightColorStyle |
Creates a set of pango attributes highlighting the matches found in the input style.
Definition at line 415 of file helper.c.
References ThemeColor::alpha, ThemeColor::blue, RofiHighlightColorStyle::color, ThemeColor::green, ThemeColor::red, ROFI_HL_BOLD, ROFI_HL_CAPITALIZE, ROFI_HL_COLOR, ROFI_HL_ITALIC, ROFI_HL_LOWERCASE, ROFI_HL_STRIKETHROUGH, ROFI_HL_UNDERLINE, ROFI_HL_UPPERCASE, and RofiHighlightColorStyle::style.
Referenced by __textbox_update_pango_text(), and helper_token_match_get_pango_attr().

| 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 626 of file helper.c.
Referenced by __create_window(), and textbox_initialize_font().
