⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtk_text_renderer.h

📁 彩信浏览器
💻 H
字号:
/* * This file is part of Ambulant Player, www.ambulantplayer.org. * * Copyright (C) 2003-2007 Stichting CWI,  * Kruislaan 413, 1098 SJ Amsterdam, The Netherlands. * * Ambulant Player is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * Ambulant Player 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 Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with Ambulant Player; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA *//*  * $Id: gtk_text_renderer.h,v 1.3 2007/02/12 14:14:31 jackjansen Exp $ *//* * The contents of this file are subject to the Public * License XXX.  * *//* from: renderer.h,v 1.1 2003/09/15 10:36:17 jack Exp */ #ifndef AMBULANT_GUI_GTK_TEXT_RENDERER_H#define AMBULANT_GUI_GTK_TEXT_RENDERER_H#include "ambulant/common/factory.h"#include "ambulant/lib/mtsync.h"#include "ambulant/common/layout.h"#include "ambulant/common/renderer_impl.h"#include "ambulant/common/region_info.h"#include "ambulant/gui/none/none_gui.h"namespace ambulant {namespace gui {namespace gtk {class gtk_text_renderer : public gtk_renderer<renderer_playable_dsall> {  public:	gtk_text_renderer(common::playable_notification *context,				common::playable_notification::cookie_type cookie,				const lib::node *node,				lib::event_processor *const evp,				common::factories *factory);	~gtk_text_renderer(); 	void redraw_body(const lib::rect &r,			 common::gui_window* w);  private:	char* m_text_storage;	lib::color_t m_text_color;	const char *m_text_font;	float m_text_size; 	lib::critical_section m_lock;};} // namespace gtk} // namespace gui } // namespace ambulant#endif/*AMBULANT_GUI_GTK_TEXT_RENDERER_H*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -