dialog-star.h

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

H
61
字号
/* *  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-star.h,v 1.1 2005/12/06 03:19:35 suwalski Exp $ */#ifndef GTK_DIALOG_STAR_H#define GTK_DIALOG_STAR_H#include <gtk/gtk.h>#include <celengine/starbrowser.h>#include "common.h"#define MINLISTSTARS 10#define MAXLISTSTARS 500/* Entry Function */void dialogStarBrowser(AppData* app);/* Local Data Structures */typedef struct _sbData sbData;struct _sbData {	AppData* app;		StarBrowser browser;	GtkListStore* starListStore;	int numListStars;	GtkWidget* entry;	GtkWidget* scale;};static const char * const sbTitles[] ={	"Name",	"Distance(LY)",	"App. Mag",	"Abs. Mag",	"Type"};static const char * const sbRadioLabels[] ={	"Nearest",	"Brightest (App.)",	"Brightest (Abs.)",	"With Planets",	NULL};#endif /* GTK_DIALOG_STAR_H */

⌨️ 快捷键说明

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