rofi 2.0.0
view-internal.h File Reference
#include "display.h"
#include "keyb.h"
#include "mode.h"
#include "theme.h"
#include "view.h"
#include "widgets/box.h"
#include "widgets/container.h"
#include "widgets/icon.h"
#include "widgets/listview.h"
#include "widgets/textbox.h"
#include "widgets/widget.h"
#include "xcb-dummy.h"
Include dependency graph for view-internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RofiViewState
struct  _view_proxy
struct  EntryHistoryIndex
struct  _rofi_view_cache_state

Typedefs

typedef struct _view_proxy view_proxy

Functions

void rofi_view_update (struct RofiViewState *state, gboolean qr)
void rofi_view_calculate_window_position (struct RofiViewState *state)
void rofi_view_calculate_window_width (struct RofiViewState *state)
int rofi_view_calculate_window_height (struct RofiViewState *state)
void rofi_view_window_update_size (struct RofiViewState *state)
void rofi_view_refilter (struct RofiViewState *state)
void rofi_view_set_window_title (const char *title)

Variables

struct _rofi_view_cache_state CacheState

Typedef Documentation

◆ view_proxy

typedef struct _view_proxy view_proxy

Function Documentation

◆ rofi_view_calculate_window_height()

int rofi_view_calculate_window_height ( struct RofiViewState * state)

Definition at line 2143 of file view.c.

References proxy.

Referenced by rofi_view_create(), rofi_view_error_dialog(), and rofi_view_refilter_real().

Here is the caller graph for this function:

◆ rofi_view_calculate_window_position()

void rofi_view_calculate_window_position ( struct RofiViewState * state)

Definition at line 2135 of file view.c.

◆ rofi_view_calculate_window_width()

void rofi_view_calculate_window_width ( struct RofiViewState * state)

Definition at line 2139 of file view.c.

References proxy.

Referenced by rofi_view_create(), and rofi_view_error_dialog().

Here is the caller graph for this function:

◆ rofi_view_refilter()

void rofi_view_refilter ( struct RofiViewState * state)

Definition at line 899 of file view.c.

References CacheState, config, rofi_view_refilter_real(), RofiViewState::text, and textbox::text.

Referenced by rofi_view_create(), rofi_view_maybe_update(), and rofi_view_trigger_global_action().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rofi_view_set_window_title()

void rofi_view_set_window_title ( const char * title)

Definition at line 2131 of file view.c.

◆ rofi_view_update()

void rofi_view_update ( RofiViewState * state,
gboolean qr )

Definition at line 2114 of file view.c.

References proxy.

Referenced by rofi_view_create(), rofi_view_maybe_update(), rofi_view_refilter_real(), rofi_view_switch_mode(), and xcb_rofi_view_repaint().

Here is the caller graph for this function:

◆ rofi_view_window_update_size()

void rofi_view_window_update_size ( struct RofiViewState * state)

Definition at line 2147 of file view.c.

References proxy.

Referenced by rofi_view_create(), rofi_view_error_dialog(), rofi_view_refilter_real(), and rofi_view_set_active().

Here is the caller graph for this function:

Variable Documentation

◆ CacheState