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

📄 lazyfixed.h

📁 支持网络和单机的麻将游戏
💻 H
字号:
/* $Header: /home/jcb/newmj/RCS/lazyfixed.h,v 11.0 2001/05/17 18:23:11 jcb Rel $ * lazyfixed.h * A slight variation on the GTK+ fixed widget. * It doesn't call queue_resize when children removed; * this can reduce flickering in widgets with many children. * Of course, it means that you must call gtk_widget_queue_resize manually * if you *do* want to remove something and have the size change. * Also, of course, if you remove a non-window widget, nothing will * happen until the next time something causes redisplay. *//****************** COPYRIGHT STATEMENT ********************** * This file is Copyright (c) 2001 by J. C. Bradfield.       * * This file may be used under the terms of the              * * GNU Lesser General Public License (any version).           * * The moral rights of the author are asserted.              * *                                                           * ***************** DISCLAIMER OF WARRANTY ******************** * This code is not warranted fit for any purpose. See the   * * LICENCE file for further information.                     * *                                                           * *************************************************************/#ifndef __LAZY_FIXED_H__#define __LAZY_FIXED_H__#include <gtk/gtkfixed.h>#include "sysdep.h"#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#define LAZY_FIXED(obj)                  (GTK_CHECK_CAST ((obj), lazy_fixed_get_type(), LazyFixed))#define LAZY_FIXED_CLASS(klass)          (GTK_CHECK_CLASS_CAST ((klass), lazy_fixed_get_type(), LazyFixedClass))#define IS_LAZY_FIXED(obj)               (GTK_CHECK_TYPE ((obj), lazy_fixed_get_type()))typedef struct _LazyFixed        LazyFixed;typedef struct _LazyFixedClass   LazyFixedClass;struct _LazyFixed{  GtkFixed fixed;};struct _LazyFixedClass{  GtkFixedClass parent_class;};GtkType    lazy_fixed_get_type          (void);GtkWidget* lazy_fixed_new               (void);void       lazy_fixed_put               (LazyFixed       *fixed,                                        GtkWidget      *widget,                                        gint16         x,                                        gint16         y);void       lazy_fixed_move              (LazyFixed       *fixed,                                        GtkWidget      *widget,                                        gint16         x,                                        gint16         y);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __LAZY_FIXED_H__ */

⌨️ 快捷键说明

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