#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <rofi.h>
#include "settings.h"
#include "helper.h"
#include <dialogs/dialogs.h>
#include <pango/pango.h>
#include "mode-private.h"
#include <theme.h>
Go to the source code of this file.
|
static void | combi_mode_parse_switchers (Mode *sw) |
|
static int | combi_mode_init (Mode *sw) |
|
static unsigned int | combi_mode_get_num_entries (const 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, int height) |
|
static char * | combi_preprocess_input (Mode *sw, const char *input) |
|
◆ G_LOG_DOMAIN
#define G_LOG_DOMAIN "Dialogs.Combi" |
◆ 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, |
|
|
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 203 of file combi.c.
References ThemeColor::blue, PropertyValue::color, Settings::combi_hide_mode_prefix, config, ThemeColor::green, CombiModePrivateData::lengths, 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_theme_find_property(), rofi_theme_find_widget(), 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 |
◆ 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 152 of file combi.c.
References CombiModePrivateData::lengths, MENU_LOWER_MASK, MENU_QUICK_SWITCH, CombiMode::mode, MODE_EXIT, mode_get_name(), mode_get_private_data(), mode_result(), CombiModePrivateData::num_switchers, CombiModePrivateData::starts, CombiModePrivateData::switchers, and utf8_strncmp().
◆ combi_preprocess_input()
static char* combi_preprocess_input |
( |
Mode * |
sw, |
|
|
const char * |
input |
|
) |
| |
|
static |