?? qt_text_renderer.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: qt_text_renderer.h,v 1.25 2007/02/12 14:14:33 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_QT_TEXT_RENDERER_H#define AMBULANT_GUI_QT_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 qt {class qt_text_renderer : public qt_renderer<renderer_playable_dsall> { public: qt_text_renderer(common::playable_notification *context, common::playable_notification::cookie_type cookie, const lib::node *node, lib::event_processor *const evp, common::factories *factory); ~qt_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 qt} // namespace gui } // namespace ambulant#endif/*AMBULANT_GUI_QT_TEXT_RENDERER_H*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -