dialog-goto.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
- /*
- * 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-goto.h,v 1.1 2005-12-06 03:19:35 suwalski Exp $
- */
- #ifndef GTK_DIALOG_GOTO_H
- #define GTK_DIALOG_GOTO_H
- #include <gtk/gtk.h>
- #include "common.h"
- /* Entry Function */
- void dialogGotoObject(AppData* app);
- /* Local Data Structures */
- typedef struct _gotoObjectData gotoObjectData;
- struct _gotoObjectData {
- AppData* app;
-
- GtkWidget* dialog;
- GtkWidget* nameEntry;
- GtkWidget* latEntry;
- GtkWidget* longEntry;
- GtkWidget* distEntry;
- int units;
- };
- static const char * const unitLabels[] =
- {
- "km",
- "radii",
- "au",
- NULL
- };
- #endif /* GTK_DIALOG_GOTO_H */