1 // winstarbrowser.h
2 //
3 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
4 //
5 // Star browser tool for Windows.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 
12 #ifndef _WINSTARBROWSER_H_
13 #define _WINSTARBROWSER_H_
14 
15 #include "celestiacore.h"
16 
17 
18 class StarBrowser
19 {
20  public:
21     StarBrowser(HINSTANCE, HWND, CelestiaCore*);
22     ~StarBrowser();
23 
24  public:
25     CelestiaCore* appCore;
26     HWND parent;
27     HWND hwnd;
28 
29     // The star browser data is valid for a particular point
30     // in space, and for performance issues is not continuously
31     // updated.
32     Point3f pos;
33     UniversalCoord ucPos;
34 
35     int predicate;
36     int nStars;
37 };
38 
39 
40 #endif // _WINSTARBROWSER_H_
41