首页 | 数据结构 | 文件列表 | 数据字段 | 全局定义

show.c文件参考

#include <sys/types.h>
#include <sys/stat.h>
#include "internal.h"
#include "debug.h"
#include "notify.h"
#include "util.h"
#include "show.h"

show.c包含/依赖关系图:

浏览该文件的源代码。

宏定义

#define QQ_SHOW_SERVER   "http://qqshow-user.tencent.com"
#define QQ_SHOW_IMAGE   "10/00/00.gif"
#define QQ_SHOW_CACHE_DIR   "qqshow"
#define QQ_SHOW_DEFAULT_IMAGE   "qqshow_default.gif"
#define QQ_SHOW_DEST_X   0
#define QQ_SHOW_DEST_Y   0
#define QQ_SHOW_DEST_WIDTH   120
#define QQ_SHOW_DEST_HEIGHT   180
#define QQ_SHOW_OFFSET_X   -10
#define QQ_SHOW_OFFSET_Y   -35
#define QQ_SHOW_SCALE_X   0.68
#define QQ_SHOW_SCALE_Y   0.68

枚举

enum  { QQ_SHOW_READ, QQ_SHOW_WRITE }

函数

gchar * _qq_show_get_cache_name (guint32 uid, gint io)
GdkPixbuf * _qq_show_scale_image (GdkPixbuf *pixbuf_src)
void _qq_show_cache_image (const gchar *url_ret, size_t len, guint32 uid)
void qq_show_render_image (void *data, const gchar *url_ret, size_t len)
GtkWidget * qq_show_default (contact_info *info)
void qq_show_get_image (GtkWidget *event_box, GdkEventButton *event, gpointer data)


宏定义文档

#define QQ_SHOW_CACHE_DIR   "qqshow"
 

在文件show.c40行定义。

参考自 _qq_show_get_cache_name().

#define QQ_SHOW_DEFAULT_IMAGE   "qqshow_default.gif"
 

在文件show.c41行定义。

参考自 _qq_show_get_cache_name().

#define QQ_SHOW_DEST_HEIGHT   180
 

在文件show.c46行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_DEST_WIDTH   120
 

在文件show.c45行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_DEST_X   0
 

在文件show.c43行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_DEST_Y   0
 

在文件show.c44行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_IMAGE   "10/00/00.gif"
 

在文件show.c38行定义。

参考自 qq_show_get_image().

#define QQ_SHOW_OFFSET_X   -10
 

在文件show.c47行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_OFFSET_Y   -35
 

在文件show.c48行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_SCALE_X   0.68
 

在文件show.c49行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_SCALE_Y   0.68
 

在文件show.c50行定义。

参考自 _qq_show_scale_image().

#define QQ_SHOW_SERVER   "http://qqshow-user.tencent.com"
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

This code is based on qq_show.c, kindly contributed by herryouly

在文件show.c37行定义。

参考自 qq_show_get_image().


枚举类型文档

anonymous enum
 

枚举值:
QQ_SHOW_READ 
QQ_SHOW_WRITE 

在文件show.c52行定义。


函数文档

void _qq_show_cache_image const gchar *  url_ret,
size_t  len,
guint32  uid
 

在文件show.c112行定义。

参考 _qq_show_get_cache_name()QQ_SHOW_WRITE.

参考自 qq_show_render_image().

函数调用图:

gchar* _qq_show_get_cache_name guint32  uid,
gint  io
 

在文件show.c59行定义。

参考 QQ_SHOW_CACHE_DIRQQ_SHOW_DEFAULT_IMAGEQQ_SHOW_READ.

参考自 _qq_show_cache_image()qq_show_default().

GdkPixbuf* _qq_show_scale_image GdkPixbuf *  pixbuf_src  ) 
 

在文件show.c91行定义。

参考 QQ_SHOW_DEST_HEIGHTQQ_SHOW_DEST_WIDTHQQ_SHOW_DEST_XQQ_SHOW_DEST_YQQ_SHOW_OFFSET_XQQ_SHOW_OFFSET_YQQ_SHOW_SCALE_XQQ_SHOW_SCALE_Y.

参考自 qq_show_default()qq_show_render_image().

GtkWidget* qq_show_default contact_info info  ) 
 

The QQ2003C protocol plugin

for gaim

Copyright (C) 2004 Puzzlebird

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

在文件show.c174行定义。

参考 _qq_show_get_cache_name()_qq_show_scale_image()QQ_SHOW_READ_contact_info::uid.

参考自 _create_page_basic().

函数调用图:

void qq_show_get_image GtkWidget *  event_box,
GdkEventButton *  event,
gpointer  data
 

在文件show.c204行定义。

参考 QQ_SHOW_IMAGEqq_show_render_image()QQ_SHOW_SERVER.

参考自 _create_page_basic().

函数调用图:

void qq_show_render_image void *  data,
const gchar *  url_ret,
size_t  len
 

在文件show.c144行定义。

参考 _qq_show_cache_image()_qq_show_scale_image().

参考自 qq_show_get_image().

函数调用图:


Generated at Mon May 8 15:46:18 2006 for OpenQ by  doxygen 1.4.4