1 /**************************************************************************
3 * Copyright (C) 2009 Andreas.Fink (Andreas.Fink85@gmail.com)
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License version 2
7 * as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 **************************************************************************/
26 TOOLTIP_ABOUT_TO_SHOW
,
27 TOOLTIP_ABOUT_TO_HIDE
,
33 struct itimerval show_timeout
;
34 struct itimerval hide_timeout
;
36 enum tooltip_state current_state
;
40 PangoFontDescription
* font_desc
;
41 config_color font_color
;
42 Color background_color
;
46 extern Tooltip g_tooltip
;
50 void cleanup_tooltip();
51 void tooltip_sighandler(int sig
);
52 void tooltip_trigger_show(Task
* task
, int x
, int y
);
54 void tooltip_update();
55 void tooltip_trigger_hide();