#include "helper.h"
#include "settings.h"
#include <rofi.h>
#include <stdio.h>
#include <stdlib.h>
#include "mode-private.h"
#include "widgets/textbox.h"
#include <modes/modes.h>
#include <pango/pango.h>
#include <theme.h>
Go to the source code of this file.
|
static void | combi_mode_parse_switchers (Mode *sw) |
|
static unsigned int | combi_mode_get_num_entries (const Mode *sw) |
|
static int | combi_mode_init (Mode *sw) |
|
static void | combi_mode_destroy (Mode *sw) |
|
static ModeMode | combi_mode_result (Mode *sw, int mretv, char **input, unsigned int selected_line) |
|
static int | combi_mode_match (const Mode *sw, rofi_int_matcher **tokens, unsigned int index) |
|
static char * | combi_mgrv (const Mode *sw, unsigned int selected_line, int *state, GList **attr_list, int get_entry) |
|
static char * | combi_get_completion (const Mode *sw, unsigned int index) |
|
static cairo_surface_t * | combi_get_icon (const Mode *sw, unsigned int index, unsigned int height) |
|
static char * | combi_preprocess_input (Mode *sw, const char *input) |
|
◆ G_LOG_DOMAIN
#define G_LOG_DOMAIN "Modes.Combi" |
The log domain of this dialog.
Definition at line 29 of file combi.c.
◆ combi_get_completion()
static char * combi_get_completion |
( |
const Mode * | sw, |
|
|
unsigned int | index ) |
|
static |
◆ combi_get_icon()
static cairo_surface_t * combi_get_icon |
( |
const Mode * | sw, |
|
|
unsigned int | index, |
|
|
unsigned int | height ) |
|
static |
◆ combi_mgrv()
static char * combi_mgrv |
( |
const Mode * | sw, |
|
|
unsigned int | selected_line, |
|
|
int * | state, |
|
|
GList ** | attr_list, |
|
|
int | get_entry ) |
|
static |
Definition at line 206 of file combi.c.
References ThemeColor::blue, _PropertyValue::color, Settings::combi_display_format, Settings::combi_hide_mode_prefix, config, ThemeColor::green, helper_string_replace_if_exists(), CombiModePrivateData::lengths, MARKUP, CombiMode::mode, mode_get_display_name(), mode_get_display_value(), mode_get_private_data(), rofi_mode::name, CombiModePrivateData::num_switchers, P_COLOR, ThemeColor::red, rofi_config_find_widget(), rofi_theme_find_property(), CombiModePrivateData::starts, CombiModePrivateData::switchers, and Property::value.
◆ combi_mode_destroy()
static void combi_mode_destroy |
( |
Mode * | sw | ) |
|
|
static |
◆ combi_mode_get_num_entries()
static unsigned int combi_mode_get_num_entries |
( |
const Mode * | sw | ) |
|
|
static |
◆ combi_mode_init()
static int combi_mode_init |
( |
Mode * | sw | ) |
|
|
static |
Definition at line 113 of file combi.c.
References CombiModePrivateData::cmd_list_length, combi_mode_get_num_entries(), combi_mode_parse_switchers(), CombiModePrivateData::lengths, CombiMode::mode, mode_get_private_data(), mode_init(), mode_set_private_data(), CombiModePrivateData::num_switchers, CombiModePrivateData::starts, and CombiModePrivateData::switchers.
◆ combi_mode_match()
◆ combi_mode_parse_switchers()
static void combi_mode_parse_switchers |
( |
Mode * | sw | ) |
|
|
static |
◆ combi_mode_result()
static ModeMode combi_mode_result |
( |
Mode * | sw, |
|
|
int | mretv, |
|
|
char ** | input, |
|
|
unsigned int | selected_line ) |
|
static |
Definition at line 145 of file combi.c.
References CombiModePrivateData::lengths, MENU_COMPLETE, MENU_CUSTOM_INPUT, CombiMode::mode, MODE_EXIT, mode_get_name(), mode_get_private_data(), mode_result(), CombiModePrivateData::num_switchers, RELOAD_DIALOG, CombiModePrivateData::starts, CombiModePrivateData::switchers, and utf8_strncmp().
◆ combi_preprocess_input()
static char * combi_preprocess_input |
( |
Mode * | sw, |
|
|
const char * | input ) |
|
static |