dialog-eclipse.h

来自「celestia源代码」· C头文件 代码 · 共 85 行

H
85
字号
/* *  Celestia GTK+ Front-End *  Copyright (C) 2005 Pat Suwalski <pat@suwalski.net> * *  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. * *  $Id: dialog-eclipse.h,v 1.1 2005/12/06 03:19:35 suwalski Exp $ */#ifndef GTK_DIALOG_ECLIPSE_H#define GTK_DIALOG_ECLIPSE_H#include <gdk/gdk.h>#include <gtk/gtk.h>#include "common.h"/* Entry Function */void dialogEclipseFinder(AppData* app);/* Local Data Structures *//* Date selection data type */typedef struct _selDate selDate;struct _selDate {	int year;	int month;	int day;};typedef struct _EclipseData EclipseData;struct _EclipseData {	AppData* app;		/* Start Time */	selDate* d1;	/* End Time */	selDate* d2;	bool bSolar;	char body[7];	GtkTreeSelection* sel;	GtkWidget *eclipseList;	GtkListStore *eclipseListStore;	GtkDialog* window;};const char * const eclipseTitles[] ={	"Planet",	"Satellite",	"Date",	"Start",	"End",	NULL};const char * const eclipseTypeTitles[] ={	"solar",	"moon",	NULL};const char * const eclipsePlanetTitles[] ={	"Earth",	"Jupiter",	"Saturn",	"Uranus",	"Neptune",	"Pluto",	NULL};#endif /* GTK_DIALOG_ECLIPSE_H */

⌨️ 快捷键说明

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