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

📄 gmag-events.h

📁 在Linux下实现magnification功能
💻 H
字号:
/* * GNOME-MAG Magnification service for GNOME * * Copyright 2006 Carlos Eduardo Rodrigues Di骻enes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */#ifdef HAVE_XFIXES#include <X11/extensions/Xfixes.h>#ifdef HAVE_DAMAGE#include <X11/extensions/Xdamage.h>#ifdef HAVE_COMPOSITE#include <X11/extensions/Xrender.h>#endif /* HAVE_COMPOSITE */#endif /* HAVE_DAMAGE */#endif /* HAVE_XFIXES */#include "magnifier.h"typedef struct _GmagWin {	Window            xwin;#ifdef HAVE_XFIXES#ifdef HAVE_DAMAGE	Damage            damage;	gboolean          damaged;#ifdef HAVE_COMPOSITE	Picture           pic;#endif /* HAVE_COMPOSITE */#endif /* HAVE_DAMAGE */	XWindowAttributes attr;	XserverRegion     clip;	XserverRegion     win_region;	XserverRegion     damaged_region;#endif /* HAVE_XFIXES */} GmagWin, *GmagWinPtr;void       gmag_events_client_init (Magnifier *magnifier);GdkPixbuf *gmag_events_get_source_pixbuf (Magnifier *magnifier);gboolean   gmag_events_source_has_damage_extension (Magnifier *magnifier);

⌨️ 快捷键说明

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