rofi 1.7.5
view-internal.h
Go to the documentation of this file.
1/*
2 * rofi
3 *
4 * MIT/X11 License
5 * Copyright © 2013-2022 Qball Cow <qball@gmpclient.org>
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining
8 * a copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Software, and to
12 * permit persons to whom the Software is furnished to do so, subject to
13 * the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be
16 * included in all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 *
26 */
27
28#ifndef ROFI_VIEW_INTERNAL_H
29#define ROFI_VIEW_INTERNAL_H
30#include "keyb.h"
31#include "mode.h"
32#include "theme.h"
33#include "widgets/box.h"
34#include "widgets/container.h"
35#include "widgets/icon.h"
36#include "widgets/listview.h"
37#include "widgets/textbox.h"
38#include "widgets/widget.h"
39#include "xcb.h"
40
46// State of the menu.
47
145#endif
KeyBindingAction
Definition keyb.h:58
MenuReturn
Definition mode.h:65
MenuFlags
Definition view.h:48
unsigned int filtered_lines
container * mesg_box
textbox * text
widget * motion_target
textbox * mesg_tb
textbox * overlay
struct RofiViewState::@7 mouse
icon * icon_current_entry
textbox ** modes
listview * list_view
unsigned int num_lines
unsigned int num_modes
MenuReturn retv
void(* finalize)(struct RofiViewState *state)
xcb_timestamp_t last_button_press
textbox * prompt
unsigned int * line_map
textbox * tb_filtered_rows
rofi_int_matcher ** tokens
textbox * tb_current_entry
textbox * tb_total_rows
unsigned int selected_line
KeyBindingAction prev_action
textbox * case_indicator
MenuFlags menu_flags
Definition box.c:40
Definition icon.c:39