2
* This file is a part of the Cairo-Dock project
4
* Copyright : (C) see the 'copyright' file.
5
* E-mail : see the 'copyright' file.
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation; either version 3
10
* of the License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef __DIALOG_RENDERING_DIALOG_TEXT__
22
#define __DIALOG_RENDERING_DIALOG_TEXT__
26
#define MY_APPLET_TEXT_DIALOG_RENDERER_NAME "Text"
30
CairoDockLabelDescription textDescription;
31
cairo_surface_t *pTextSurface;
37
CDTextParameters *rendering_configure_text (CairoDialog *pDialog, cairo_t *pSourceContext, gpointer *pConfig);
39
void rendering_free_text_data (CairoDialog *pDialog);
41
void rendering_draw_text_in_dialog (cairo_t *pCairoContext, CairoDialog *pDialog, double fAlpha);
43
void rendering_update_text (CairoDialog *pDialog, gpointer *pNewData);
45
void rendering_register_text_dialog_renderer (void);