00001 /* 00002 * Celestia GTK+ Front-End 00003 * Copyright (C) 2005 Pat Suwalski <pat@suwalski.net> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * $Id: dialog-goto.h,v 1.1 2005/12/06 03:19:35 suwalski Exp $ 00011 */ 00012 00013 #ifndef GTK_DIALOG_GOTO_H 00014 #define GTK_DIALOG_GOTO_H 00015 00016 #include <gtk/gtk.h> 00017 00018 #include "common.h" 00019 00020 00021 /* Entry Function */ 00022 void dialogGotoObject(AppData* app); 00023 00024 00025 /* Local Data Structures */ 00026 typedef struct _gotoObjectData gotoObjectData; 00027 struct _gotoObjectData { 00028 AppData* app; 00029 00030 GtkWidget* dialog; 00031 GtkWidget* nameEntry; 00032 GtkWidget* latEntry; 00033 GtkWidget* longEntry; 00034 GtkWidget* distEntry; 00035 00036 int units; 00037 }; 00038 00039 static const char * const unitLabels[] = 00040 { 00041 "km", 00042 "radii", 00043 "au", 00044 NULL 00045 }; 00046 00047 #endif /* GTK_DIALOG_GOTO_H */
1.4.1