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

📄 font_selection.h

📁 GIMP Dynamic Text是GIMP的插件程序
💻 H
字号:
/* * GIMP Dynamic Text -- This is a plug-in for The GIMP 1.0 * Copyright (C) 1998,1999,2000 Marco Lamberto <lm@geocities.com> * Web page: http://www.geocities.com/Tokyo/1474/gimp/ * * 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. * * $Id: font_selection.h,v 1.4 2000/05/31 20:38:20 lm Exp $ */#ifndef _FONT_SELECTION_H_#define _FONT_SELECTION_H_#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#define FONT_SELECTION(obj)					GTK_CHECK_CAST(obj, font_selection_get_type(), FontSelection)#define FONT_SELECTION_CLASS(klass)	GTK_CHECK_CLASS_CAST(klass, font_selection_get_type(), FontSelectionClass)#define IS_FONT_SELECTION(obj)			GTK_CHECK_TYPE(obj, font_selection_get_type())typedef struct _FontSelection				FontSelection;typedef struct _FontSelectionClass	FontSelectionClass;typedef enum{  FONT_METRIC_PIXELS = 0,	FONT_METRIC_POINTS = 1} FontMetricType;struct _FontSelection{	GtkVBox hbox;	GtkWidget *font_selection;	GtkWidget *font_family;	GtkWidget *font_style;	GtkWidget *font_size;	GtkWidget *font_metric;	GHashTable *font_names_hash;	GHashTable *font_styles_hash;	gboolean skip_fs_events;};struct _FontSelectionClass{	GtkHBoxClass parent_class;	void (* font_changed)(FontSelection *fs);};guint						font_selection_get_type(void);GtkWidget*			font_selection_new(void);gboolean				font_selection_set_font_name(FontSelection *fs, const gchar *fontname);GdkFont*				font_selection_get_font(FontSelection *fs);gchar*					font_selection_get_font_name(FontSelection *fs);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* _FONT_SELECTION_H_ *//* vim: set ts=2 sw=2 tw=79 ai nowrap: */

⌨️ 快捷键说明

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