blob: 535a4a5718fe9801cf73d51a4508c6b9ed842523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
/*
* Copyright (C) 2011 Sebastien Helleu <flashcode@flashtux.org>
*
* This file is part of WeeChat, the extensible chat client.
*
* WeeChat is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* WeeChat is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* gui-gtk-mouse.c: mouse functions for Gtk GUI
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "../../core/weechat.h"
#include "../gui-mouse.h"
/*
* gui_mouse_enable: enable mouse
*/
void
gui_mouse_enable ()
{
/* This function does nothing in Gtk GUI */
}
/*
* gui_mouse_disable: disable mouse
*/
void
gui_mouse_disable ()
{
/* This function does nothing in Gtk GUI */
}
/*
* gui_mouse_display_state: display state of mouse
*/
void
gui_mouse_display_state ()
{
/* This function does nothing in Gtk GUI */
}
/*
* gui_mouse_grab_init: init "grab mode"
*/
void
gui_mouse_grab_init (int area)
{
(void) area;
/* This function does nothing in Gtk GUI */
}
/*
* gui_mouse_event_init: init mouse event
*/
void
gui_mouse_event_init ()
{
/* This function does nothing in Gtk GUI */
}
/*
* gui_mouse_event_code2key: get key name with a mouse code
*/
const char *
gui_mouse_event_code2key (const char *code)
{
(void) code;
/* This function does nothing in Gtk GUI */
return NULL;
}
/*
* gui_mouse_event_end: end mouse event
*/
void
gui_mouse_event_end ()
{
/* This function does nothing in Gtk GUI */
}
|