| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
ws_ui_util.h
Go to the documentation of this file.
1
14#ifndef __UI_UTIL_H__
15#define __UI_UTIL_H__
16
17#include <stdint.h>
18
19#include <wsutil/processes.h>
20
21#include "epan/packet_info.h"
22#include "epan/column-utils.h"
23#include "epan/color_filters.h"
24
25#ifdef __cplusplus
26 extern "C" {
27#endif /* __cplusplus */
28
30 typedef struct window_geometry_s {
31 char *key;
32 bool set_pos;
33 int x;
34 int y;
35 bool set_size;
36 int width;
37 int height;
38 bool set_maximized;
39 bool maximized;
40 char* qt_geom;
41} window_geometry_t;
42
43/* update the main window */
44 extern void main_window_update(void);
45
46/* Exit routine provided by UI-specific code. */
47WS_NORETURN extern void exit_application(int status);
48
49/* XXX - Yes this isn't the best place, but they are used by file_dlg_win32.c, which is supposed
50 to be GUI independent, but has lots of GTK leanings. But if you put these in a GTK UI
51 header file, file_dlg_win32.c complains about all of the GTK structures also in the header
52 files
53 Function names make it clear where they are coming from
54*/
55 void color_filter_add_cb(color_filter_t *colorf, void *user_data);
56
57#ifdef __cplusplus
58}
59#endif /* __cplusplus */
60
61#endif /* __UI_UTIL_H__ */
color_filters.h
column-utils.h
packet_info.h
processes.h
_color_filter
Definition color_filters.h:34
window_geometry_s
Definition ws_ui_util.h:30
window_geometry_s::set_pos
bool set_pos
Definition ws_ui_util.h:32
window_geometry_s::set_maximized
bool set_maximized
Definition ws_ui_util.h:38
window_geometry_s::y
int y
Definition ws_ui_util.h:34
window_geometry_s::key
char * key
Definition ws_ui_util.h:31
window_geometry_s::set_size
bool set_size
Definition ws_ui_util.h:35
window_geometry_s::qt_geom
char * qt_geom
Definition ws_ui_util.h:40
window_geometry_s::maximized
bool maximized
Definition ws_ui_util.h:39
window_geometry_s::width
int width
Definition ws_ui_util.h:36
window_geometry_s::height
int height
Definition ws_ui_util.h:37
window_geometry_s::x
int x
Definition ws_ui_util.h:33
window_geometry_t
struct window_geometry_s window_geometry_t