|
rofi 2.0.0
|
#include <view-internal.h>

Data Fields | |
| Mode * | sw |
| int | refilter |
| box * | main_window |
| textbox * | prompt |
| textbox * | text |
| textbox * | case_indicator |
| listview * | list_view |
| textbox * | overlay |
| container * | mesg_box |
| textbox * | mesg_tb |
| int * | distance |
| unsigned int * | line_map |
| unsigned int | num_lines |
| unsigned int | filtered_lines |
| KeyBindingAction | prev_action |
| xcb_timestamp_t | last_button_press |
| int | quit |
| int | skip_absorb |
| unsigned int | selected_line |
| unsigned int | previous_line |
| MenuReturn | retv |
| workarea | mon |
| box * | sidebar_bar |
| unsigned int | num_modes |
| textbox ** | modes |
| textbox * | tb_total_rows |
| textbox * | tb_filtered_rows |
| textbox * | tb_current_entry |
| icon * | icon_current_entry |
| MenuFlags | menu_flags |
| int | mouse_seen |
| int | reload |
| void(* | finalize )(struct RofiViewState *state) |
| int | width |
| int | height |
| int | x |
| int | y |
| struct { | |
| int x | |
| int y | |
| widget * motion_target | |
| } | mouse |
| rofi_int_matcher ** | tokens |
| gboolean | case_sensitive |
Definition at line 59 of file view-internal.h.
| textbox* RofiViewState::case_indicator |
textbox showing the state of the case sensitive and sortng.
Definition at line 72 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_refilter_real(), and rofi_view_trigger_global_action().
| gboolean RofiViewState::case_sensitive |
For case-sensitivity
Definition at line 165 of file view-internal.h.
Referenced by filter_elements(), get_matching_state(), and rofi_view_refilter_real().
| int* RofiViewState::distance |
Array with the levenshtein distance for each element.
Definition at line 84 of file view-internal.h.
Referenced by _rofi_view_reload_row(), filter_elements(), rofi_view_create(), rofi_view_free(), and rofi_view_refilter_real().
| unsigned int RofiViewState::filtered_lines |
number of (filtered) elements to show.
Definition at line 91 of file view-internal.h.
Referenced by rofi_quit_user_callback(), rofi_view_nav_last(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), and rofi_view_set_selected_line().
| void(* RofiViewState::finalize) (struct RofiViewState *state) |
The function to be called when finalizing this view
Definition at line 135 of file view-internal.h.
Referenced by rofi_view_create(), rofi_view_error_dialog(), and rofi_view_finalize().
| int RofiViewState::height |
Height of the view
Definition at line 140 of file view-internal.h.
Referenced by rofi_capture_screenshot(), rofi_view_create(), rofi_view_error_dialog(), rofi_view_refilter_real(), wayland_rofi_view_get_size(), wayland_rofi_view_set_size(), wayland_rofi_view_update(), wayland_rofi_view_window_update_size(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_repaint(), xcb_rofi_view_temp_configure_notify(), and xcb_rofi_view_window_update_size().
| icon* RofiViewState::icon_current_entry |
Extra icon widget that shows the current selected entries icon.
Definition at line 126 of file view-internal.h.
Referenced by rofi_view_add_widget(), and selection_changed_callback().
| xcb_timestamp_t RofiViewState::last_button_press |
Time previous key action was executed.
Definition at line 96 of file view-internal.h.
| unsigned int* RofiViewState::line_map |
Array with the translation between the filtered and unfiltered list.
Definition at line 86 of file view-internal.h.
Referenced by _rofi_view_reload_row(), filter_elements(), rofi_quit_user_callback(), rofi_view_create(), rofi_view_free(), rofi_view_get_next_position(), rofi_view_listview_mouse_activated_cb(), rofi_view_nav_row_select(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), rofi_view_set_selected_line(), rofi_view_trigger_global_action(), selection_changed_callback(), selection_changed_user_callback(), textbox_button_trigger_action(), and update_callback().
| listview* RofiViewState::list_view |
listview holding the displayed elements.
Definition at line 75 of file view-internal.h.
Referenced by _rofi_view_reload_row(), rofi_quit_user_callback(), rofi_view_add_widget(), rofi_view_create(), rofi_view_ellipsize_listview(), rofi_view_error_dialog(), rofi_view_get_next_position(), rofi_view_nav_first(), rofi_view_nav_last(), rofi_view_nav_row_select(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), rofi_view_set_overlay(), rofi_view_set_overlay_timeout(), rofi_view_set_selected_line(), rofi_view_trigger_global_action(), and textbox_button_trigger_action().
| box* RofiViewState::main_window |
Widget representing the main container.
Definition at line 66 of file view-internal.h.
Referenced by rofi_capture_screenshot(), rofi_get_location(), rofi_get_offset_px(), rofi_view_check_action(), rofi_view_create(), rofi_view_error_dialog(), rofi_view_free(), rofi_view_handle_mouse_motion(), rofi_view_resolve_cursor(), rofi_view_trigger_action(), wayland_rofi_view_calculate_window_height(), wayland_rofi_view_calculate_window_width(), wayland_rofi_view_queue_redraw(), wayland_rofi_view_update(), wayland_rofi_view_window_update_size(), xcb_rofi_view_calculate_window_height(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_calculate_window_width(), xcb_rofi_view_temp_configure_notify(), xcb_rofi_view_update(), and xcb_rofi_view_window_update_size().
| MenuFlags RofiViewState::menu_flags |
Settings of the menu
Definition at line 129 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_create(), and rofi_view_error_dialog().
| container* RofiViewState::mesg_box |
container holding the message box
Definition at line 79 of file view-internal.h.
Referenced by rofi_view_add_widget(), and rofi_view_reload_message_bar().
| textbox* RofiViewState::mesg_tb |
textbox containing the message entry
Definition at line 81 of file view-internal.h.
Referenced by rofi_view_add_widget(), and rofi_view_reload_message_bar().
| textbox** RofiViewState::modes |
Array of textbox that act as buttons for switching modes
Definition at line 116 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_free(), rofi_view_switch_mode(), and textbox_sidebar_modes_trigger_action().
| workarea RofiViewState::mon |
Monitor workarea the view is displayed on
Definition at line 109 of file view-internal.h.
| widget* RofiViewState::motion_target |
Widget being targeted.
Definition at line 159 of file view-internal.h.
Referenced by rofi_view_handle_mouse_motion(), and rofi_view_trigger_action().
| struct { ... } RofiViewState::mouse |
Position and target of the mouse.
Referenced by rofi_view_check_action(), rofi_view_handle_mouse_motion(), and rofi_view_trigger_action().
| int RofiViewState::mouse_seen |
If mouse was within view previously
Definition at line 131 of file view-internal.h.
Referenced by rofi_view_create().
| unsigned int RofiViewState::num_lines |
number of (unfiltered) elements to show.
Definition at line 88 of file view-internal.h.
Referenced by _rofi_view_reload_row(), rofi_view_create(), rofi_view_get_next_position(), and rofi_view_refilter_real().
| unsigned int RofiViewState::num_modes |
number of modes to display
Definition at line 114 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_free(), rofi_view_switch_mode(), and textbox_sidebar_modes_trigger_action().
| textbox* RofiViewState::overlay |
textbox widget showing the overlay.
Definition at line 77 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_overlay_timeout(), rofi_view_set_overlay(), and rofi_view_set_overlay_timeout().
| KeyBindingAction RofiViewState::prev_action |
Previously called key action.
Definition at line 94 of file view-internal.h.
Referenced by rofi_view_nav_row_tab().
| unsigned int RofiViewState::previous_line |
The previously selected line (in the unfiltered list)
Definition at line 105 of file view-internal.h.
Referenced by rofi_view_create(), and selection_changed_callback().
| textbox* RofiViewState::prompt |
textbox showing the prompt in the input bar.
Definition at line 68 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_switch_mode(), and rofi_view_update_prompt().
| int RofiViewState::quit |
Indicate view should terminate
Definition at line 99 of file view-internal.h.
Referenced by rofi_view_create(), rofi_view_get_completed(), rofi_view_listview_mouse_activated_cb(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), rofi_view_restart(), rofi_view_trigger_global_action(), textbox_sidebar_modes_trigger_action(), and xcb_rofi_view_temp_click_to_exit().
| int RofiViewState::refilter |
Flag indicating if view needs to be refiltered.
Definition at line 64 of file view-internal.h.
Referenced by rofi_view_create(), rofi_view_handle_text(), rofi_view_maybe_update(), rofi_view_nav_row_select(), rofi_view_refilter_force(), rofi_view_refilter_real(), rofi_view_switch_mode(), rofi_view_trigger_global_action(), wayland_rofi_view_reload_idle(), and xcb_rofi_view_reload_idle().
| int RofiViewState::reload |
Flag indicating if view needs to be reloaded.
Definition at line 133 of file view-internal.h.
Referenced by rofi_view_refilter_real(), rofi_view_switch_mode(), wayland_rofi_view_reload_idle(), and xcb_rofi_view_reload_idle().
| MenuReturn RofiViewState::retv |
The return state of the view
Definition at line 107 of file view-internal.h.
Referenced by rofi_quit_user_callback(), rofi_view_create(), rofi_view_error_dialog(), rofi_view_get_return_value(), rofi_view_listview_mouse_activated_cb(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), rofi_view_restart(), rofi_view_trigger_global_action(), textbox_sidebar_modes_trigger_action(), and xcb_rofi_view_temp_click_to_exit().
| unsigned int RofiViewState::selected_line |
The selected line (in the unfiltered list)
Definition at line 103 of file view-internal.h.
Referenced by rofi_view_create(), rofi_view_get_next_position(), rofi_view_get_selected_line(), rofi_view_listview_mouse_activated_cb(), rofi_view_nav_row_tab(), rofi_view_refilter_real(), rofi_view_set_selected_line(), rofi_view_trigger_global_action(), and textbox_button_trigger_action().
| box* RofiViewState::sidebar_bar |
box holding the different modes buttons
Definition at line 112 of file view-internal.h.
Referenced by rofi_view_add_widget(), and rofi_view_switch_mode().
| int RofiViewState::skip_absorb |
Indicate if we should absorb the key release
Definition at line 101 of file view-internal.h.
Referenced by rofi_view_create(), rofi_view_listview_mouse_activated_cb(), textbox_button_trigger_action(), and textbox_sidebar_modes_trigger_action().
| Mode* RofiViewState::sw |
Mode bound to to this view.
Definition at line 61 of file view-internal.h.
Referenced by _rofi_view_reload_row(), filter_elements(), process_result(), rofi_quit_user_callback(), rofi_view_add_widget(), rofi_view_create(), rofi_view_get_mode(), rofi_view_nav_row_select(), rofi_view_refilter_real(), rofi_view_reload_message_bar(), rofi_view_switch_mode(), rofi_view_trigger_global_action(), rofi_view_update_prompt(), selection_changed_callback(), selection_changed_user_callback(), update_callback(), wayland_rofi_view_reload_idle(), and xcb_rofi_view_reload_idle().
| textbox* RofiViewState::tb_current_entry |
Extra icon widget that shows the current selected entries text.
Definition at line 124 of file view-internal.h.
Referenced by rofi_view_add_widget(), and selection_changed_callback().
| textbox* RofiViewState::tb_filtered_rows |
filtered rows
Definition at line 121 of file view-internal.h.
Referenced by rofi_view_add_widget(), and rofi_view_refilter_real().
| textbox* RofiViewState::tb_total_rows |
Total rows.
Definition at line 119 of file view-internal.h.
Referenced by rofi_view_add_widget(), rofi_view_refilter_real(), wayland_rofi_view_reload_idle(), and xcb_rofi_view_reload_idle().
| textbox* RofiViewState::text |
textbox with the user input in the input bar.
Definition at line 70 of file view-internal.h.
Referenced by process_result(), rofi_view_add_widget(), rofi_view_clear_input(), rofi_view_create(), rofi_view_error_dialog(), rofi_view_get_user_input(), rofi_view_handle_text(), rofi_view_input_changed(), rofi_view_nav_row_select(), rofi_view_refilter(), rofi_view_refilter_real(), rofi_view_trigger_global_action(), and xcb_rofi_view_update().
| rofi_int_matcher** RofiViewState::tokens |
Regexs used for matching
Definition at line 163 of file view-internal.h.
Referenced by filter_elements(), rofi_view_free(), rofi_view_refilter_real(), and update_callback().
| int RofiViewState::width |
Width of the view
Definition at line 138 of file view-internal.h.
Referenced by rofi_capture_screenshot(), wayland_rofi_view_calculate_window_height(), wayland_rofi_view_calculate_window_width(), wayland_rofi_view_get_size(), wayland_rofi_view_set_size(), wayland_rofi_view_update(), wayland_rofi_view_window_update_size(), xcb_rofi_view_calculate_window_height(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_calculate_window_width(), xcb_rofi_view_repaint(), xcb_rofi_view_temp_configure_notify(), and xcb_rofi_view_window_update_size().
| int RofiViewState::x |
X position of the view
X position
Definition at line 142 of file view-internal.h.
Referenced by rofi_view_check_action(), rofi_view_handle_mouse_motion(), rofi_view_trigger_action(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_temp_configure_notify(), xcb_rofi_view_update(), and xcb_rofi_view_window_update_size().
| int RofiViewState::y |
Y position of the view
Y position
Definition at line 144 of file view-internal.h.
Referenced by rofi_view_check_action(), rofi_view_handle_mouse_motion(), rofi_view_trigger_action(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_temp_configure_notify(), xcb_rofi_view_update(), and xcb_rofi_view_window_update_size().