rofi
1.7.0
|
Functions | |
void | rofi_view_workers_initialize (void) |
void | rofi_view_workers_finalize (void) |
void | rofi_view_get_current_monitor (int *width, int *height) |
void | rofi_capture_screenshot (void) |
void | rofi_view_set_window_title (const char *title) |
void | rofi_view_ellipsize_start (RofiViewState *state) |
The view can (optionally) keep a set of worker threads around to parallize work. This includes filtering and sorting.
void rofi_capture_screenshot | ( | void | ) |
Takes a screenshot.
Stores a screenshot of Rofi at that point in time.
Definition at line 174 of file view.c.
References CacheState, color_green, and color_reset.
Referenced by record(), and rofi_view_trigger_global_action().
void rofi_view_ellipsize_start | ( | RofiViewState * | state | ) |
set ellipsize mode to start.
Definition at line 2169 of file view.c.
References RofiViewState::list_view, and listview_set_ellipsize_start().
Referenced by dmenu_switcher_dialog().
void rofi_view_get_current_monitor | ( | int * | width, |
int * | height | ||
) |
width | the width of the monitor. |
height | the height of the monitor. |
Return the current monitor workarea.
Definition at line 139 of file view.c.
References CacheState.
Referenced by get_pixels().
void rofi_view_set_window_title | ( | const char * | title | ) |
Set the window title.
Definition at line 2202 of file view.c.
References CacheState, _xcb_stuff::connection, _xcb_stuff::ewmh, and xcb.
Referenced by __create_window(), rofi_view_create(), and rofi_view_switch_mode().
void rofi_view_workers_finalize | ( | void | ) |
void rofi_view_workers_initialize | ( | void | ) |
Initialize the threadpool
Definition at line 2113 of file view.c.
References config, rofi_view_call_thread(), Settings::threads, TICK_N, and tpool.
Referenced by main().